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 10:45:45 PST Path: bga.com!news.sprintlink.net!hookup!swrinde!gatech!news-feed-1.peachnet.edu!news.duke.edu!gallatin From: gallatin@isds.duke.edu (Andrew Gallatin) Newsgroups: comp.unix.osf.osf1 Subject: Re: up-arrow repeat of last 'x' commands anyone? Date: 27 Jun 1994 17:44:31 GMT Organization: Duke University, Durham, N.C. Message-ID: <2un35v$b48@news.duke.edu> References: <27JUN199408573842@acad1.alaska.edu> NNTP-Posting-Host: degas.isds.duke.edu Cc: In article <27JUN199408573842@acad1.alaska.edu>, Jason D. Bourgoin wrote: >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. > >Sorry if this is a FAQ, but does anyone have any constructive suggestions? There should already be a shell on your system that does this:/bin/ksh If this isn't on your system, or you prefer public domain software, I would suggest grabbing the latest version of either tcsh, or bash. Tcsh is an extended version of csh that uses csh style initialization file syntax, and can be used in place of csh with no differences, except for command line editing (either emacs or vi style) & file name completion. Tcsh does some really cool things that I'm not aware of other shells being able to do. One is context sensitive filename completion. Via the command: 'complete cd p/1/d/', I can make tcsh ignore everything but directories when I ask it to complete filename for the cd command. Bash is put out by GNU and is descended from sh, (Born Again SH). It uses sh style initialization file syntax. It also does filename completion & command line editing. Have fun, Drew ############################################################################## # Andrew Gallatin, System Administrator # # Institute of Statistics and Decision Sciences # # Box 90251, Duke University, Durham, NC 27708-0251 # # email: gallatin@isds.duke.edu # ##############################################################################