* Re: Retyping commands in DEC Unix
[not found] <jdesbien-2708561955540001@tty39.lino.com>
@ 1996-02-05 5:00 ` Ron Natalie
1996-02-06 5:00 ` Bob Manners
1996-02-05 5:00 ` oberman
` (2 subsequent siblings)
3 siblings, 1 reply; 12+ messages in thread
From: Ron Natalie @ 1996-02-05 5:00 UTC (permalink / raw)
Jean Desbiens (jdesbien@lino.com) wrote:
: I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
: keep on typing the same command over and over. Is there a utility that
: provides an history of recent command that can invoke them by hitting the
: UP arrow on the keyboard (as in OpenVMS)?
Try changing to a different login shell, like "ksh"
-Ron
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Retyping commands in DEC Unix
1996-02-05 5:00 ` Retyping commands in DEC Unix Ron Natalie
@ 1996-02-06 5:00 ` Bob Manners
0 siblings, 0 replies; 12+ messages in thread
From: Bob Manners @ 1996-02-06 5:00 UTC (permalink / raw)
: I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
: keep on typing the same command over and over. Is there a utility that
: provides an history of recent command that can invoke them by hitting the
: UP arrow on the keyboard (as in OpenVMS)?
Try changing to a different login shell, like "ksh"
Or if you want a free one from the net, bash is very nice.
tcsh is nice for C-shell lovers (yuk).
Bob.
--
----------------------------------------------------------------------------
Robert Manners Osney Laboratory
rjm@swift.eng.ox.ac.uk Dept of Engineering Science
University of Oxford
01865 288762
Computer Museum: http://swift.eng.ox.ac.uk/rjm/museum.html
Also: http://swift.eng.ox.ac.uk
"Wall Street or Crack Dealer Avenue,
the last routes left to the American Dream" - Jello Biafra
----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: Retyping commands in DEC Unix
[not found] <jdesbien-2708561955540001@tty39.lino.com>
1996-02-05 5:00 ` Retyping commands in DEC Unix Ron Natalie
@ 1996-02-05 5:00 ` oberman
1996-02-06 5:00 ` Michael Brodeur
1996-02-06 5:00 ` Dan Pop
1996-02-06 5:00 ` Phillip Helbig
3 siblings, 1 reply; 12+ messages in thread
From: oberman @ 1996-02-05 5:00 UTC (permalink / raw)
In Article <jdesbien-2708561955540001@tty39.lino.com>
jdesbien@lino.com (Jean Desbiens) writes:
>Hi all,
>
>I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
>keep on typing the same command over and over. Is there a utility that
>provides an history of recent command that can invoke them by hitting the
>UP arrow on the keyboard (as in OpenVMS)?
This is a function of the shell you use, so it's hard to answer without more
information. tcsh does this by default. It is available under csh (see
cmdedit(1)), ksh, bash. It may even be available with sh, but I have never used
it there.
R. Kevin Oberman
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Internet: oberman@es.net +1 510-422-6955
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Retyping commands in DEC Unix
1996-02-05 5:00 ` oberman
@ 1996-02-06 5:00 ` Michael Brodeur
0 siblings, 0 replies; 12+ messages in thread
From: Michael Brodeur @ 1996-02-06 5:00 UTC (permalink / raw)
In Article <jdesbien-2708561955540001@tty39.lino.com>
jdesbien@lino.com (Jean Desbiens) writes:
>Hi all,
>
>I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
>keep on typing the same command over and over. Is there a utility that
>provides an history of recent command that can invoke them by hitting the
>UP arrow on the keyboard (as in OpenVMS)?
This depends on the shell that you are using. UNIX supports several
shells (i.e. the functional equivalent of DCL). You can usually tell
what shell you are using by doing
echo $SHELL
-or-
echo $shell
If you are using /bin/csh, then you can enable command line editing by
doing the following:
set editmode=emacs
-or-
set editmode=vi
(You'd probably want to use the emacs form since that enables arrow keys.)
If you are using /bin/ksh the equivalent command would be:
set -o emacs
-or-
set -o vi
With the additional wrinkle that if you set the variable EDITOR to include
the string emacs, gmacs or vi, then that editing style will be used instead.
As above, the "emacs" version will get you use of your arrow keys.
-----------------------------------------------------------------------------
Michael Brodeur Digital Equipment Corporation
DEC FUSE Development 110 Spit Brook Road ZKO-2/3Q08
mbrodeur@zko.dec.com Nashua, NH 03062
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Retyping commands in DEC Unix
[not found] <jdesbien-2708561955540001@tty39.lino.com>
1996-02-05 5:00 ` Retyping commands in DEC Unix Ron Natalie
1996-02-05 5:00 ` oberman
@ 1996-02-06 5:00 ` Dan Pop
1996-02-06 5:00 ` Tim Llewellyn
1996-02-06 5:00 ` Phillip Helbig
3 siblings, 1 reply; 12+ messages in thread
From: Dan Pop @ 1996-02-06 5:00 UTC (permalink / raw)
jdesbien@lino.com (Jean Desbiens) writes:
>I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
>keep on typing the same command over and over. Is there a utility that
>provides an history of recent command that can invoke them by hitting the
>UP arrow on the keyboard (as in OpenVMS)?
That utility is your shell. The incantations needed to enable the feature
you want are shell-specific and you didn't mention which shell you use.
Dan
--
Dan Pop
CERN, CN Division
Email: danpop@mail.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Retyping commands in DEC Unix
1996-02-06 5:00 ` Dan Pop
@ 1996-02-06 5:00 ` Tim Llewellyn
1996-02-06 5:00 ` Dan Pop
1996-02-12 5:00 ` David Pikcilingis
0 siblings, 2 replies; 12+ messages in thread
From: Tim Llewellyn @ 1996-02-06 5:00 UTC (permalink / raw)
In article <9602052329.AA19838@dxmint.cern.ch>, Dan Pop <danpop@mail.cern.ch>
writes:
|>
|>jdesbien@lino.com (Jean Desbiens) writes:
|>
|>>I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
|>>keep on typing the same command over and over. Is there a utility that
|>>provides an history of recent command that can invoke them by hitting the
|>>UP arrow on the keyboard (as in OpenVMS)?
Welcome to the wunderful world of Unix.
Yeah I think its crap thats its not on by default too. I find
# set editmode=emacs
does the trick for me with csh.
|>
|>That utility is your shell. The incantations needed to enable the feature
|>you want are shell-specific and you didn't mention which shell you use.
Yeah, but you could have been VAGUELY helpful and provided the command
for a common shell or two :-).
|>
|>Dan
|>--
|>Dan Pop
|>CERN, CN Division
|>Email: danpop@mail.cern.ch
|>Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
|>
--
"When I play my guitar people they just dance." Soukous
Tim Llewellyn, Physicist Programmer, Bristol Uni Particle Physics. Makossa
HEPNET/SPAN 19716::TJL Internet tjl@siva.bris.ac.uk Soca
Soukous, OpenVMS and cricket addict. Eats NO animal products. Hilife
Read at your own risk, standard disclaimer applies. Zouk
http://juno.phy.bris.ac.uk/~tjl/ (New pictures too nov 95) Mbalax
-
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Retyping commands in DEC Unix
1996-02-06 5:00 ` Tim Llewellyn
@ 1996-02-06 5:00 ` Dan Pop
1996-02-12 5:00 ` David Pikcilingis
1 sibling, 0 replies; 12+ messages in thread
From: Dan Pop @ 1996-02-06 5:00 UTC (permalink / raw)
tjl@siva.bris.ac.uk (Tim Llewellyn) writes:
>|>jdesbien@lino.com (Jean Desbiens) writes:
>|>
>|>>I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
>|>>keep on typing the same command over and over. Is there a utility that
>|>>provides an history of recent command that can invoke them by hitting the
>|>>UP arrow on the keyboard (as in OpenVMS)?
>
>Welcome to the wunderful world of Unix.
>Yeah I think its crap thats its not on by default too. I find
Could be worse: other vendors' csh don't have this feature at all
(who cares, after all, since tcsh is free, much better and has the same
features under all the supported Unices).
># set editmode=emacs
>
>does the trick for me with csh.
Only if $history is also set.
If you post a solution, make sure it is complete :-)
Dan
--
Dan Pop
CERN, CN Division
Email: danpop@mail.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Retyping commands in DEC Unix
1996-02-06 5:00 ` Tim Llewellyn
1996-02-06 5:00 ` Dan Pop
@ 1996-02-12 5:00 ` David Pikcilingis
1 sibling, 0 replies; 12+ messages in thread
From: David Pikcilingis @ 1996-02-12 5:00 UTC (permalink / raw)
In article <DMD82p.FzG@uns.bris.ac.uk>,
Tim Llewellyn <Tim.Llewellyn@bristol.ac.uk> wrote:
>
>In article <9602052329.AA19838@dxmint.cern.ch>, Dan Pop <danpop@mail.cern.ch>
>writes:
>
>|>
>|>jdesbien@lino.com (Jean Desbiens) writes:
>|>
>|>>I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
>|>>keep on typing the same command over and over. Is there a utility that
>|>>provides an history of recent command that can invoke them by hitting the
>|>>UP arrow on the keyboard (as in OpenVMS)?
>
Digital distributes the _Digital UNIX Connections_ CD with Digital UNIX.
This CD contains information about a number of products including a
OpenVMS style shell that allows command recall/editing, VMS style
filenames, etc.
Boston Business Computing provides EDT+, Vbackup, Vmail, and VCL to
emulate the look and feel of OpenVMS on UNIX machines.
For additional information look at our WWW page at:
http://www.bbc.com
or set email to:
sales@bbc.com
Regards,
David
----------------------------------------------------------------------
David Pikcilingis (508)725-3222 FAX:(508)725-3229 http://www.bbc.com
Boston Business Computing 13 Branch Street, Methuen, MA 01844-1955
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Retyping commands in DEC Unix
[not found] <jdesbien-2708561955540001@tty39.lino.com>
` (2 preceding siblings ...)
1996-02-06 5:00 ` Dan Pop
@ 1996-02-06 5:00 ` Phillip Helbig
1996-02-07 5:00 ` Simon-Pierre Cote
3 siblings, 1 reply; 12+ messages in thread
From: Phillip Helbig @ 1996-02-06 5:00 UTC (permalink / raw)
In <jdesbien-2708561955540001@tty39.lino.com> jdesbien@lino.com (Jean Desbiens) writes:
>I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
>keep on typing the same command over and over. Is there a utility that
>provides an history of recent command that can invoke them by hitting the
>UP arrow on the keyboard (as in OpenVMS)?
Get the tcshell. It's basically an extension of the cshell, but is more
comfortable to use, having additional capabilities like commands on the
arrow keys. (However, don't expect them to be there when you run an email
programme or a debugger:)
Phillip Helbig Tel. .............. +49 40 7252 4110
Hamburger Sternwarte Email .... phelbig@hs.uni-hamburg.de
Gojenbergsweg 112 Fax ............... +49 40 7252 4198
D-21029 Hamburg
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Retyping commands in DEC Unix
1996-02-06 5:00 ` Phillip Helbig
@ 1996-02-07 5:00 ` Simon-Pierre Cote
1996-02-08 5:00 ` Jeff Diewald
1996-02-12 5:00 ` Alex Kok
0 siblings, 2 replies; 12+ messages in thread
From: Simon-Pierre Cote @ 1996-02-07 5:00 UTC (permalink / raw)
Phillip Helbig wrote:
>
> In <jdesbien-2708561955540001@tty39.lino.com> jdesbien@lino.com (Jean Desbiens) writes:
> >I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
> >keep on typing the same command over and over. Is there a utility that
> >provides an history of recent command that can invoke them by hitting the
> >UP arrow on the keyboard (as in OpenVMS)?
>
> Get the tcshell. It's basically an extension of the cshell, but is more
> comfortable to use, having additional capabilities like commands on the
> arrow keys. (However, don't expect them to be there when you run an email
> programme or a debugger:)
>
> Phillip Helbig Tel. .............. +49 40 7252 4110
> Hamburger Sternwarte Email .... phelbig@hs.uni-hamburg.de
> Gojenbergsweg 112 Fax ............... +49 40 7252 4198
> D-21029 Hamburg
You can also use the Korn Shell (ksh). Just put in your .profile the following:
EDITOR=emacs
export EDITOR
Simon-Pierre Cote Tel: (514) 289-4485
Hydro-Quebec Fax: (514) 289-4697
Email: scote@ccr.hydro.qc.ca
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Retyping commands in DEC Unix
1996-02-07 5:00 ` Simon-Pierre Cote
@ 1996-02-08 5:00 ` Jeff Diewald
1996-02-12 5:00 ` Alex Kok
1 sibling, 0 replies; 12+ messages in thread
From: Jeff Diewald @ 1996-02-08 5:00 UTC (permalink / raw)
|>Phillip Helbig wrote:
|>>
|>> In <jdesbien-2708561955540001@tty39.lino.com> jdesbien@lino.com (Jean Desbiens) writes:
|>> >I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
|>> >keep on typing the same command over and over. Is there a utility that
|>> >provides an history of recent command that can invoke them by hitting the
|>> >UP arrow on the keyboard (as in OpenVMS)?
|>>
|>> Get the tcshell. It's basically an extension of the cshell, but is more
|>> comfortable to use, having additional capabilities like commands on the
|>> arrow keys. (However, don't expect them to be there when you run an email
|>> programme or a debugger:)
Actually, command recall has been added to the Ladebug debugger. So,
the up and down arrows will now give you what you want inside the
debugger as well. It can be found in Ladebug after version 3.0-16.
-------------------------------------------------------------------------
Jeff Diewald EASYNET: VIRRUS::DIEWALD
Ladebug group INTERNET: diewald@zko.dec.com
Digital Equipment Corp.
Note: I don't read every article in this group. If you have debugger
questions, I may be able to get you an answer. You're much more likely
to get an answer if you put "Ladebug" somewhere in your subject line.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Retyping commands in DEC Unix
1996-02-07 5:00 ` Simon-Pierre Cote
1996-02-08 5:00 ` Jeff Diewald
@ 1996-02-12 5:00 ` Alex Kok
1 sibling, 0 replies; 12+ messages in thread
From: Alex Kok @ 1996-02-12 5:00 UTC (permalink / raw)
Simon-Pierre Cote <cote@teledl04.ccr.hydro.qc.ca> writes:
>> In <jdesbien-2708561955540001@tty39.lino.com> jdesbien@lino.com (Jean Desbiens) writes:
>> >I just got my new AlphaStation 400 running under DEC Unix (OSF-1) and I
>> >keep on typing the same command over and over. Is there a utility that
>> >provides an history of recent command that can invoke them by hitting the
>> >UP arrow on the keyboard (as in OpenVMS)?
>You can also use the Korn Shell (ksh). Just put in your .profile the following:
> EDITOR=emacs
> export EDITOR
or in .profile:
set -o emacs
--
Groeten, Alex Kok (c753330@nlzcl1.decnet.philips.nl)
Not everything worth doing is worth doing well. -- Tom West
^ permalink raw reply [flat|nested] 12+ messages in thread