* DU's csh & command recall
@ 1996-04-22 4:00 Ken Brown
1996-04-21 4:00 ` Hardy Lau
1996-04-23 4:00 ` Bill Deegan
0 siblings, 2 replies; 7+ messages in thread
From: Ken Brown @ 1996-04-22 4:00 UTC (permalink / raw)
We'll be moving to Digital UNIX from Ultrix. It looks like csh bundled with
Digital UNIX doesn't have the command recall feature (eg: cursor up cycles
through last commands). I'd like to maintain the csh environment we've been
used to with Ultrix. I understand tcsh might do the trick - that is
maintianing compatablitiy with Ultrix's csh features. I really don't want
to burden users with loss of a feature...(various snide comments withheld).
Any comments/tricks/tips would be appreciated...
--
----------------------------------------------------------------------
Ken Brown / kbrown@trentu.ca / tel: (705)748-1540 / fax: (705)748-1635
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: DU's csh & command recall
1996-04-22 4:00 DU's csh & command recall Ken Brown
@ 1996-04-21 4:00 ` Hardy Lau
1996-04-22 4:00 ` Kevin MacNeil
` (2 more replies)
1996-04-23 4:00 ` Bill Deegan
1 sibling, 3 replies; 7+ messages in thread
From: Hardy Lau @ 1996-04-21 4:00 UTC (permalink / raw)
Ken Brown wrote:
>
> We'll be moving to Digital UNIX from Ultrix. It looks like csh bundled with
> Digital UNIX doesn't have the command recall feature (eg: cursor up cycles
> through last commands).
Yes it has !
Just use the old vi-kommands: ESC-K, ESC-J etc...
Regards,
Hardy Lau
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: DU's csh & command recall
1996-04-21 4:00 ` Hardy Lau
@ 1996-04-22 4:00 ` Kevin MacNeil
1996-04-22 4:00 ` Astronomical Institute, Tel. 271 77 11
1996-04-23 4:00 ` Steve Strange USG
2 siblings, 0 replies; 7+ messages in thread
From: Kevin MacNeil @ 1996-04-22 4:00 UTC (permalink / raw)
Hardy Lau <lau@BA-Ravensburg.DE> writes:
]Ken Brown wrote:
]> We'll be moving to Digital UNIX from Ultrix. It looks like csh bundled
]> with Digital UNIX doesn't have the command recall feature (eg: cursor up
]> cycles through last commands).
]Yes it has !
]Just use the old vi-kommands: ESC-K, ESC-J etc...
Actually, the version I'm using (3.2) has built in arrow key editing, which
I believe is what the first poster was looking for. Setting editmode=emacs
ought to initialize it. See man 1 cmdedit for more info.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: DU's csh & command recall
1996-04-21 4:00 ` Hardy Lau
1996-04-22 4:00 ` Kevin MacNeil
@ 1996-04-22 4:00 ` Astronomical Institute, Tel. 271 77 11
1996-04-23 4:00 ` Steve Strange USG
2 siblings, 0 replies; 7+ messages in thread
From: Astronomical Institute, Tel. 271 77 11 @ 1996-04-22 4:00 UTC (permalink / raw)
In article <317AF55C.166F@BA-Ravensburg.DE>, Hardy Lau <lau@BA-Ravensburg.DE> writes:
> Ken Brown wrote:
>>
>> We'll be moving to Digital UNIX from Ultrix. It looks like csh bundled with
>> Digital UNIX doesn't have the command recall feature (eg: cursor up cycles
>> through last commands).
>
> Yes it has !
> Just use the old vi-kommands: ESC-K, ESC-J etc...
>
> Regards,
>
> Hardy Lau
Dear Ken,
if you put the line 'set editmode = emacs' into your .cshrc file,
the cursorkeys work as in the Ultrix (or VMS) recall feature. Note
that it doesn't matter if you actially use emacs or vi or whatelse for
your editor...
Hans Schwengeler
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: DU's csh & command recall
1996-04-21 4:00 ` Hardy Lau
1996-04-22 4:00 ` Kevin MacNeil
1996-04-22 4:00 ` Astronomical Institute, Tel. 271 77 11
@ 1996-04-23 4:00 ` Steve Strange USG
2 siblings, 0 replies; 7+ messages in thread
From: Steve Strange USG @ 1996-04-23 4:00 UTC (permalink / raw)
In article <317AF55C.166F@BA-Ravensburg.DE> Hardy Lau <lau@BA-Ravensburg.DE> writes:
Ken Brown wrote:
>
> We'll be moving to Digital UNIX from Ultrix. It looks like csh bundled with
> Digital UNIX doesn't have the command recall feature (eg: cursor up cycles
> through last commands).
Yes it has !
Just use the old vi-kommands: ESC-K, ESC-J etc...
Or, if you're an emacs type, use 'set editmode=emacs' and use ctrl-p
or up-arrow for command recall.
Steve
--
Steve Strange strange@zk3.dec.com
Digital Equipment Corporation, Nashua, NH (603) 881-0595
Digital UNIX Filesystem Development -- DCE DFS
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: DU's csh & command recall
1996-04-22 4:00 DU's csh & command recall Ken Brown
1996-04-21 4:00 ` Hardy Lau
@ 1996-04-23 4:00 ` Bill Deegan
1996-04-23 4:00 ` Alfred Hovdestad
1 sibling, 1 reply; 7+ messages in thread
From: Bill Deegan @ 1996-04-23 4:00 UTC (permalink / raw)
Ken Brown wrote:
>
> We'll be moving to Digital UNIX from Ultrix. It looks like csh bundled with
> Digital UNIX doesn't have the command recall feature (eg: cursor up cycles
> through last commands). I'd like to maintain the csh environment we've been
> used to with Ultrix. I understand tcsh might do the trick - that is
> maintianing compatablitiy with Ultrix's csh features. I really don't want
> to burden users with loss of a feature...(various snide comments withheld).
>
> Any comments/tricks/tips would be appreciated...
> --
> ----------------------------------------------------------------------
> Ken Brown / kbrown@trentu.ca / tel: (705)748-1540 / fax: (705)748-1635
> ----------------------------------------------------------------------
set editmode=emacs will get you the command recall feature.
--
William P. Deegan
Analysis & Verification tools - dept. 7141 +-----+
Third Party Interface & CAD - dept. 7221 +-----+
Layout - dept. 7142 +-----+
LSI Logic Corporation phone : (408) 433-4733 LSI|LOGIC|
1501 McCarthy Blvd. FAX : (408) 433-4156 | |
M/S E-192 email : deegan +-----+
Milpitas, Ca. 95035 internet : deegan@lsil.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: DU's csh & command recall
1996-04-23 4:00 ` Bill Deegan
@ 1996-04-23 4:00 ` Alfred Hovdestad
0 siblings, 0 replies; 7+ messages in thread
From: Alfred Hovdestad @ 1996-04-23 4:00 UTC (permalink / raw)
Bill Deegan (deegan@lsil.com) wrote:
: set editmode=emacs will get you the command recall feature.
It works, but it disables logging out with ^d (control-d).
I switched to zsh because it works the SAME on Ultrix and Digital UNIX.
--
Alfred Hovdestad |e-mail: hovdesta@teapot.usask.ca
Systems Programmer | or: Alfred.Hovdestad@usask.ca
Department of Computing Services | Voice: (306) 966-4819
University of Saskatchewan | FAX: (306) 966-4938
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1996-04-23 4:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-22 4:00 DU's csh & command recall Ken Brown
1996-04-21 4:00 ` Hardy Lau
1996-04-22 4:00 ` Kevin MacNeil
1996-04-22 4:00 ` Astronomical Institute, Tel. 271 77 11
1996-04-23 4:00 ` Steve Strange USG
1996-04-23 4:00 ` Bill Deegan
1996-04-23 4:00 ` Alfred Hovdestad
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox