From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a9c4c7ddc08d75f8 X-Google-Attributes: gidfee84,public From: Charles M Richmond Subject: Re: History command Date: 1996/06/23 Message-ID: <31CD3C5A.446B@iisc.com>#1/1 X-Deja-AN: 161686774 references: <31C5CC88.7606@vino.emcmt.edu> cc: bobbi@vino.emcmt.edu content-type: text/plain; charset=iso-2022-jp organization: Integrated International Systems Corp. mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 3.0b4 (X11; I; OSF1 V3.2 alpha) Bobbi Fortune wrote: > > Can anyone point me in the right direction or tell me how to get the > arrow keys to recall previous commands in Digital Unix? > In 'ksh': sither 'set -o emacs' or 'export EDITOR=emacs' . "vi" can be substituted for "vi" in both cases , but then the arrow keys do not work and you must use the 'vi' hjkl direction keys. In 'csh' "set editmode=emacs". Again, "vi" can be substituted if you do not mind using hjkl keys. Charlie PS I *really* recommend using 'ksh' since it is the Posix shell. Csh is not as rigorous in its behavior consistancy , especially between platforms and tcsh is unsupported, leading to potential security problems as well as the associated higher level of bugs. My comments are based on actual time spent debugging both 'csh' and 'ksh' for Digital Unix. (I am told that the glob.c nightmare has been rewritten for DU4.0 csh and that should help) -- ************************************************************************* * Charles Richmond Integrated International Systems Corporation * * cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net * * UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W * * One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 * * (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 * *************************************************************************