From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bb30585396ebc2a1 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-27 13:21:12 PST Path: bga.com!news.sprintlink.net!hookup!usc!elroy.jpl.nasa.gov!swrinde!gatech!taco.cc.ncsu.edu!adm!mauney From: mauney@adm.csc.ncsu.edu (Jon Mauney) Newsgroups: comp.unix.osf.osf1 Subject: Re: up-arrow repeat of last 'x' commands anyone? Date: 27 Jun 94 19:57:03 GMT Organization: North Carolina State University Message-ID: References: <27JUN199408573842@acad1.alaska.edu> NNTP-Posting-Host: adm.csc.ncsu.edu tjl@siva.bris.ac.uk (Tim Llewellyn in Bristol. (0272) 303606.) writes: >In article <27JUN199408573842@acad1.alaska.edu>, jsjdb@acad1.alaska.edu (Jason D. Bourgoin) writes: >>My sysadmin has expressed an interest in being able to up-arrow recall >>the last 'x' commands, much the same way we can from our VAX, on our new >>DEC Alpha running OSF1. It seems he does alot of repetitive typing that >>he'd like to avoid, but has to retype out commands again and again because >>he has no easy way to recall them to the screen. >> >I can't understand why the command line recall with arrow keys isn't >the OUT-OF-THE-BOX default for these systems. After all, the alpha's come >with keyboards with arrow keys on them. /bin/sh or whatever the default is >is braindead, why do we have to suffer it at all. DEC OSF/1 comes out of the box with 2 shells that support command-line editing, with your choice of vi or emacs command style. The Korn shell, ksh, works just like all other Korn shells in this regard. The C shell, csh, has a very full-featured keyboard editing interface; see the man page for "cmdedit" for details (the obvious place to put csh information :-). It is impossible to create a set of defaults that pleases everyone. Any sysadmin that can't change his default shell isn't trying very hard. -- Jon Mauney mauney@csc.ncsu.edu Mauney Computer Consulting (919) 828-8053 "Have TGT, will travel."