steckner@lri.uwo.ca (Michael Steckner) (04/01/91)
Is there some sort of shell that has been developed that will allow me to use a cursor pad to scroll through my previous commands and allow me to edit them in a convienient fashion as opposed to the !n, ^^ editing options often used? Such cursor based techniques are available on VAX/VMS and some public domain IBM PC software, for those who may be unaware of what I am talking about.
asg@sage.cc.purdue.edu (Bruce Varney) (04/02/91)
In article <9104011503.AA01057@?lri.uwo.ca> steckner@lri.uwo.ca (Michael Steckner) writes: }Is there some sort of shell that has been developed that will allow }me to use a cursor pad to scroll through my previous commands and }allow me to edit them in a convienient fashion as opposed to the }!n, ^^ editing options often used? Such cursor based techniques are }available on VAX/VMS and some public domain IBM PC software, for those }who may be unaware of what I am talking about. Try bash It is available via anonymous ftp from prep.ai.mit.edi in the file /pub/gnu/bash-1.05.tar I believe there may also be a patch file there. Bruce --------- sar.casm \'sa:r-.kaz-*m\ \sa:r-'kas-tik\ \-ti-k(*-)le-\ n [F sarcasme, fr. LL sarcasmos, fr. Gk sarkasmos, fr. sarkazein to tear flesh, bite the lips in rage, sneer, fr. sark-, sarx flesh; akin to Av thwar*s to cut] 1: a cutting, hostile, or contemptuous remark : GIBE 2: the use of caustic or ironic language - sar.cas.tic aj ### ## Courtesy of Bruce Varney ### # aka -> The Grand Master # asg@sage.cc.purdue.edu ### ##### # PUCC ### # ;-) # # ;'> # ##
jik@athena.mit.edu (Jonathan I. Kamens) (04/03/91)
In article <9104011503.AA01057@?lri.uwo.ca>, steckner@lri.uwo.ca (Michael Steckner) writes: |> Is there some sort of shell that has been developed that will allow |> me to use a cursor pad to scroll through my previous commands and |> allow me to edit them in a convienient fashion as opposed to the |> !n, ^^ editing options often used? Such cursor based techniques are |> available on VAX/VMS and some public domain IBM PC software, for those |> who may be unaware of what I am talking about. There are several such shells. Bruce Varney has already mentioned bash, which is a freely redistributable (under the GPL) shell based on the bourne shell. There is also the korn shell, which is sold by AT&T and is also based on the bourne shell. It's similar to bash (or, more accurately, bash is similar to ksh, since I believe ksh came first), but you have to pay AT&T to get it. There's also tcsh, which is based on the C-shell (csh) rather than on the bourne shell. Tcsh is distributed as a set of patches to convert the 4.3BSD csh sources to tcsh, so you need to have 4.3BSD sources (and therefore a 4.3BSD source license) before you can build it. However, it's possible to get tcsh binaries for lots of different machines, so even if you can't build the program, you can still run it on your machine. Posted to alt.sources, and archived at alt.sources archive sites, we have: * "zsh", a "ksh/tcsh-like shell" * a public-domain version of ksh * "clam", a "tcsh-like shell for Unix/Minix/Coherent" In comp.sources.unix, there's a shell called "ash" with a command-line editor called "atty" that goes along with it and allows scrolling of the type you are looking for. There are probably others that I haven't mentioned, but I think this is enough. The short answer to your question is, "Yes." There are lots of options from which you can choose. To some extent, what you can use depends on what type of system you have, but since you haven't told us that, I can't say anything more in that direction.... -- Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710
chet@odin.INS.CWRU.Edu (Chet Ramey) (04/04/91)
In article <1991Apr3.144826.5972@athena.mit.edu> jik@athena.mit.edu (Jonathan I. Kamens) writes: > There are several such shells. Bruce Varney has already mentioned bash, >which is a freely redistributable (under the GPL) shell based on the bourne >shell. Just a nit. Bash is `based on the Bourne shell' in that it implements the Posix 1003.2 spec, which is based on the System V shell, but it is a completely new implementation; there is no sh source in it. Ksh and tcsh can be said to be `based on' the Bourne and C shells, respectively, because they each contain portions of those shells. Chet -- Chet Ramey ``Now, somehow we've brought our sins Network Services Group back physically -- and they're Case Western Reserve University pissed.'' chet@ins.CWRU.Edu My opinions are just those, and mine alone.
asg@sage.cc.purdue.edu (Bruce Varney) (04/04/91)
In article <575@bria> uunet!bria!mike writes: }In an article, asg@sage.cc.purdue.edu (Bruce Varney) writes: }|In an article, steckner@lri.uwo.ca (Michael Steckner) writes: }||Is there some sort of shell that has been developed that will allow }||me to use a cursor pad to scroll through my previous commands [...] }| }|Try bash }|It is available via anonymous ftp from prep.ai.mit.edi in the file }|/pub/gnu/bash-1.05.tar }|I believe there may also be a patch file there. } }Bash is fine if you don't mind a 300K shell that will occasionally dump }core just to make life interesting. IMHO, there just ain't enough }bang for the buck. } The size depends on your machine. It is only 200K here. And the occasional core dump problem has been fixed with bash1.07 as far as I can tell - as long as you compile it right! Seriously, bash is SOOO much powerful than ksh. Can you use your arrows in ksh? In bash you can use whatever key sequence you want, and bind it to just about anything. I even have mine set up so that !!<space> expands just like tcsh (as does !t<space> etc). In fact, there is not one thing I know of that any shell can do that bash cannot - but ther is PLENTY that bash can do that others do not. And with some of the new stuff it is even better! Bruce --------- sar.casm 1: a cutting, hostile, or contemptuous remark ### ## Courtesy of Bruce Varney ### # aka -> The Grand Master # asg@sage.cc.purdue.edu ### ##### # PUCC ### # ;-) # # ;'> # ##
navarra@casbah.acns.nwu.edu (John Navarra) (04/05/91)
In article <575@bria> uunet!bria!mike writes: >In an article, asg@sage.cc.purdue.edu (Bruce Varney) writes: >|In an article, steckner@lri.uwo.ca (Michael Steckner) writes: >||Is there some sort of shell that has been developed that will allow >||me to use a cursor pad to scroll through my previous commands [...] >| >|Try bash >|It is available via anonymous ftp from prep.ai.mit.edi in the file >|/pub/gnu/bash-1.05.tar >|I believe there may also be a patch file there. > >Bash is fine if you don't mind a 300K shell that will occasionally dump >core just to make life interesting. IMHO, there just ain't enough >bang for the buck. Ah But what about the 500K stripped bash-1.07 shell that really loves to dump core!? > >-- >Michael Stefanik, MGI Inc, Los Angeles | Opinions stated are never realistic >Title of the week: Systems Engineer | UUCP: ...!uunet!bria!mike >------------------------------------------------------------------------------- >If MS-DOS didn't exist, who would UNIX programmers have to make fun of? -- From the Lab of the MaD ScIenTiST: navarra@casbah.acns.nwu.edu