Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: cbergren@comm.mot.com (Craig Bergren)
Subject: Re: Problems with OSF on DEC Alpha
Date: Fri, 10 Dec 1993 00:03:10 GMT	[thread overview]
Message-ID: <1993Dec10.000310.10499@lmpsbbs.comm.mot.com> (raw)
In-Reply-To: 1993Dec8.043553.1649@csis.dit.csiro.au

Philip Kilby (pjk@csis.dit.csiro.au) wrote:
> I am posting this for a friend. Will post summary. Thanks to respondants.


 1) How to edit last command: for /bin/ksh 

	 $ export EDITOR=vi
	 $ set -o vi

    Use vi to edit the  command  line.  Press ^[ (escape)  to enter into
    the  editor  mode  where vi  commands  allow  you to find and edit a
    command from your history  file.  If you prefer you can also specify
    emacs.  Read the ksh man page for specifics.

	 $ set -o viraw

	 Keeps you from backing up over your prompt.

    Other useful envirionment variables:

	 HISTFILE  the name of your history file.
	 HISTSIZE  the number of lines to keep track of.

	 $ export FCEDIT=vi

	 The "fc" command allows you to edit using the editor of your
	 choice (this case vi).

    Put all this stuff in .kshrc and export ENV=.kshrc and you will have
    all this set up for you every time you enter ksh.

--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
!  The views I hold are not mine, nor those of my employer.                   !
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


      parent reply	other threads:[~1993-12-10  0:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-12-08  4:35 Problems with OSF on DEC Alpha Philip Kilby
1993-12-09 21:04 ` Gail L. Grant
1993-12-10  0:03 ` Craig Bergren [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox