* Utility like doskey wanted
@ 1995-01-04 17:13 Andrew Top
1995-01-04 19:08 ` Andrew Gallatin
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Andrew Top @ 1995-01-04 17:13 UTC (permalink / raw)
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.
Thanks in advance...
Andrew Top top@ccrs.emr.ca
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Utility like doskey wanted 1995-01-04 17:13 Utility like doskey wanted Andrew Top @ 1995-01-04 19:08 ` Andrew Gallatin 1995-01-04 22:06 ` segrest ` (2 more replies) 1995-01-05 7:12 ` Karl Olav Lillevold 1995-01-07 5:13 ` RAMU 2 siblings, 3 replies; 9+ messages in thread From: Andrew Gallatin @ 1995-01-04 19:08 UTC (permalink / raw) In article <top.30.2F0AD73F@ccrs.emr.ca>, Andrew Top <top@ccrs.emr.ca> 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 # ############################################################################## ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Utility like doskey wanted 1995-01-04 19:08 ` Andrew Gallatin @ 1995-01-04 22:06 ` segrest 1995-01-04 22:49 ` Khalid Paden 1995-01-05 7:04 ` Eric von Daeniken 2 siblings, 0 replies; 9+ messages in thread From: segrest @ 1995-01-04 22:06 UTC (permalink / raw) You can get command line recall using the ksh shell by using the command "set -o vi". To use it push the f11 key and then use the standard vi cursor keys "hjkl". The normal arrow cursor keys do not work... EMACS editing is supported as well. For more information see the ksh man pages. -- Bob Segrest ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Utility like doskey wanted 1995-01-04 19:08 ` Andrew Gallatin 1995-01-04 22:06 ` segrest @ 1995-01-04 22:49 ` Khalid Paden 1995-01-05 7:04 ` Eric von Daeniken 2 siblings, 0 replies; 9+ messages in thread From: Khalid Paden @ 1995-01-04 22:49 UTC (permalink / raw) In ksh you enter set -o vi Then <ESC>, - to go back in the list. ~v to use the VI editor on the line in question. -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/Khalid Paden (G) Quotes: _/ _/AKA (O) You can't have a testimony,_/ _/The AWKmeister (D) until you've had a test _/ _/_/_/_/_/_/_//_/_/_/_/_/_/(H) or _/ _/Fermi National (A) You can't testify until _/ _/Accelerator Laboratory (S) you've been tested _/ _/E_Mail:.khalid@fnal.gov (L)_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/S_Mail:.First star to the(A) _/ _/right and on till morning(S) 1TIMOTHY 6:12 _/ _/Voice: 708-840-8211 (T) _/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Utility like doskey wanted 1995-01-04 19:08 ` Andrew Gallatin 1995-01-04 22:06 ` segrest 1995-01-04 22:49 ` Khalid Paden @ 1995-01-05 7:04 ` Eric von Daeniken 2 siblings, 0 replies; 9+ messages in thread From: Eric von Daeniken @ 1995-01-05 7:04 UTC (permalink / raw) In article <3eero5$a3u@news.duke.edu>, gallatin@isds.duke.edu (Andrew Gallatin) writes: > In article <top.30.2F0AD73F@ccrs.emr.ca>, Andrew Top <top@ccrs.emr.ca> 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 [...] > 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. segrest@bobseg.enet.dec.com (Me and only Me) wrote: >You can get command line recall using the ksh shell by using the >command "set -o vi". To use it push the f11 key and then use the standard >vi cursor keys "hjkl". The normal arrow cursor keys do not work... Huh??? With ksh, try this: Put the line export VISUAL=emacs in the ksh user's .profile regards Eric ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Utility like doskey wanted 1995-01-04 17:13 Utility like doskey wanted Andrew Top 1995-01-04 19:08 ` Andrew Gallatin @ 1995-01-05 7:12 ` Karl Olav Lillevold 1995-01-05 8:04 ` Han Pilmeyer 1995-01-07 5:13 ` RAMU 2 siblings, 1 reply; 9+ messages in thread From: Karl Olav Lillevold @ 1995-01-05 7:12 UTC (permalink / raw) To: Andrew Top Install GNU's bash (Bourne Again Shell), and use that instead of ksh or csh. Has DOSKEY command repetition with emacs and "arrow" editing without any hocus-pocus. Also has command- and filename completion and a lot of other useful features. -- Karl Olav Lillevold <kol@nta.no> --> http://www.nta.no/brukere/kol/ Digital Video Coding [TMN4/MPEG-2] --> http://homer.nta.no/ Telenor Research ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Utility like doskey wanted 1995-01-05 7:12 ` Karl Olav Lillevold @ 1995-01-05 8:04 ` Han Pilmeyer 0 siblings, 0 replies; 9+ messages in thread From: Han Pilmeyer @ 1995-01-05 8:04 UTC (permalink / raw) In article <KOL.95Jan5081205@mirage.nta.no> kol@mirage.nta.no (Karl Olav Lillevold) writes: > > Install GNU's bash (Bourne Again Shell), and use that instead of ksh > or csh. Has DOSKEY command repetition with emacs and "arrow" editing > without any hocus-pocus. Also has command- and filename completion and > a lot of other useful features. I like bash too. However this can all be done with ksh as it comes with DEC OSF/1 out-of-the-box. Use "set -o emacs" to enable the arrow keys etc. -- Disclaimer: This article reflects my own opinion or guestimate, it is not necessarily the policy of my employer. Han Pilmeyer DEC Easynet: dcultx::pilmeyer Digital Equipment bv Internet: han@athena.uto.dec.com Utrecht The Netherlands ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Utility like doskey wanted 1995-01-04 17:13 Utility like doskey wanted Andrew Top 1995-01-04 19:08 ` Andrew Gallatin 1995-01-05 7:12 ` Karl Olav Lillevold @ 1995-01-07 5:13 ` RAMU 1995-01-12 10:45 ` Gerardo Aburruzaga Garc�a 2 siblings, 1 reply; 9+ messages in thread From: RAMU @ 1995-01-07 5:13 UTC (permalink / raw) In article <top.30.2F0AD73F@ccrs.emr.ca> top@ccrs.emr.ca (Andrew Top) writes: > > 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. Why not use tcsh as your shell? Then you can use the up/down keys to scroll through commands. I suspect zsh might also have this feature, and I think it will be on your machine. Best reagards, Ramu ======================================================================== B. Ramu Ramachandran Department of Chemistry Associate Professor Louisiana Tech University Ruston, LA 71272 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Utility like doskey wanted 1995-01-07 5:13 ` RAMU @ 1995-01-12 10:45 ` Gerardo Aburruzaga Garc�a 0 siblings, 0 replies; 9+ messages in thread From: Gerardo Aburruzaga Garc�a @ 1995-01-12 10:45 UTC (permalink / raw) RAMU@vm.cc.latech.edu wrote: : In article <top.30.2F0AD73F@ccrs.emr.ca> : top@ccrs.emr.ca (Andrew Top) writes: : : > : > 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. : There is no such utility; well, the utility is the shell. Which one are you using? Bourne (sh)? rc? : Why not use tcsh as your shell? Then you can use the up/down keys : to scroll through commands. I suspect zsh might also have this feature, : and I think it will be on your machine. csh (Cshell), tcsh (TCshell), bash (Bourne Again shell), ksh (Korn shell), and OF COURSE! zsh (Z shell). Or perhaps you are using one of these but badly configured; for example, under Korn shell you must have set -o emacs in your .profile, if you want to edit your command lines with the emacs interface. : Best reagards, : Ramu : ======================================================================== : B. Ramu Ramachandran Department of Chemistry : Associate Professor Louisiana Tech University : Ruston, LA 71272 -- Universidad de Cadiz Escuela Universitaria Politecnica de Cadiz Dpto. de Lenguajes y Sistemas Informaticos (Dpt. of Computer Science) RFC822: gerardo@uca.es C/Chile s/n X.400: C=es;ADMD=mensatex;O=uca; 11003-Cadiz (Spain/Espa\~na) PRMD=iris;OU=hercules;S=gerardo Tlfno:956-221960 Fax:956-224359 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1995-01-12 10:45 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1995-01-04 17:13 Utility like doskey wanted Andrew Top 1995-01-04 19:08 ` Andrew Gallatin 1995-01-04 22:06 ` segrest 1995-01-04 22:49 ` Khalid Paden 1995-01-05 7:04 ` Eric von Daeniken 1995-01-05 7:12 ` Karl Olav Lillevold 1995-01-05 8:04 ` Han Pilmeyer 1995-01-07 5:13 ` RAMU 1995-01-12 10:45 ` Gerardo Aburruzaga Garc�a
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox