From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,45f0a376d7ea5ac X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-01-05 01:17:30 PST Path: nntp.gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!agate!news.duke.edu!gallatin From: gallatin@isds.duke.edu (Andrew Gallatin) Newsgroups: comp.unix.osf.osf1 Subject: Re: Utility like doskey wanted Date: 4 Jan 1995 19:08:53 GMT Organization: Duke University, Durham, N.C. Message-ID: <3eero5$a3u@news.duke.edu> References: NNTP-Posting-Host: davinci.isds.duke.edu Cc: In article , Andrew Top wrote: > Some people where I work want a utility like DOSKEY >implemented on our Alpha (OSF 1) to allow them to call back >previous commands using the arrow keys and to edit them. Is >there any binaries like this around and where are they? I >haven't seen anything like it in any ftp sites that I visited. You want to change the behavior of the shell. Under OSF/1, DEC has provided a smarter version of csh. This can be activated by putting the line: set editmode=emacs # or =vi In a user's .cshrc file. (assuming the user is using csh). Look at the cmdedit(1) man page for details. I think ksh will do this too, but I don't use ksh, so I don't know how it works. A solution that will work on almost any unix is to start using a public domain shell such as tcsh, bash or zsh. These shells have command line editing, filename completion, and more. Tcsh is built on top of csh, doing most of what DEC has done for csh & a whole lot more. Its available via anon ftp from tesla.ee.cornell.edu, in the directory /pub/tcsh Bash is built on top of sh, and has similar functionality to DEC's csh, or tcsh, but sh-like syntax. Its available from any gnu mirror site. I've never used zsh, but people say its wonderful... Lets not start any shell wars. ;^} Drew ############################################################################## # Andrew Gallatin, Computer Project Manager # # Institute of Statistics and Decision Sciences # # Box 90251, Duke University, Durham, NC 27708-0251 # ##############################################################################