Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* VMS-style recall keys
@ 1994-07-08 15:18 smccann
  1994-07-08 18:37 ` oberman
  0 siblings, 1 reply; 3+ messages in thread
From: smccann @ 1994-07-08 15:18 UTC (permalink / raw)


Is there a way to use the up and down arrow keys for history
recall (under the korn shell) similair to VMS?

Instructions would be appreciated.  I have an extensive VMS background,
but am new to the unix world.

Thanks,

Scott


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: VMS-style recall keys
  1994-07-08 15:18 VMS-style recall keys smccann
@ 1994-07-08 18:37 ` oberman
  1994-07-11 16:49   ` System Manager
  0 siblings, 1 reply; 3+ messages in thread
From: oberman @ 1994-07-08 18:37 UTC (permalink / raw)


In Article <2vjqot$p5c@nic.hookup.net>
smccann@equit.hookup.net writes:
>Is there a way to use the up and down arrow keys for history
>recall (under the korn shell) similair to VMS?
>
>Instructions would be appreciated.  I have an extensive VMS background,
>but am new to the unix world.

Definately meat for the FAQ.

Under either ksh or csh:
set editmode=emacs

While you can modify behavior, it's much like VMS line editing except ^W erases
the line instead of ^U.

For more details see 'man ksh' or 'man cmdedit'.

R. Kevin Oberman			
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Lawrence Livermore National Laboratory (LLNL)
Internet: koberman@llnl.gov		+1 510-422-6955


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: VMS-style recall keys
  1994-07-08 18:37 ` oberman
@ 1994-07-11 16:49   ` System Manager
  0 siblings, 0 replies; 3+ messages in thread
From: System Manager @ 1994-07-11 16:49 UTC (permalink / raw)



In article <2vk2rt$76@lll-winken.llnl.gov>, oberman@icaen.llnl.gov writes:
|>In Article <2vjqot$p5c@nic.hookup.net>
|>smccann@equit.hookup.net writes:
|>>Is there a way to use the up and down arrow keys for history
|>>recall (under the korn shell) similair to VMS?
|>>
|>>Instructions would be appreciated.  I have an extensive VMS background,
|>>but am new to the unix world.
|>
|>Definately meat for the FAQ.
|>
|>Under either ksh or csh:
|>set editmode=emacs
|>
|>While you can modify behavior, it's much like VMS line editing except ^W erases
|>the line instead of ^U.
|>
|>For more details see 'man ksh' or 'man cmdedit'.
|>
|>R. Kevin Oberman			
|>Energy Sciences Network (ESnet)
|>National Energy Research Supercomputer Center (NERSC)
|>Lawrence Livermore National Laboratory (LLNL)
|>Internet: koberman@llnl.gov		+1 510-422-6955
|>
In article <2vk2rt$76@lll-winken.llnl.gov>, oberman@icaen.llnl.gov writes:
|>In Article <2vjqot$p5c@nic.hookup.net>
|>smccann@equit.hookup.net writes:
|>>Is there a way to use the up and down arrow keys for history
|>>recall (under the korn shell) similair to VMS?
|>>
|>>Instructions would be appreciated.  I have an extensive VMS background,
|>>but am new to the unix world.
|>
|>Definately meat for the FAQ.
|>
|>Under either ksh or csh:
|>set editmode=emacs
|>
|>While you can modify behavior, it's much like VMS line editing except ^W erases
|>the line instead of ^U.
|>
|>For more details see 'man ksh' or 'man cmdedit'.
|>
|>R. Kevin Oberman			
|>Energy Sciences Network (ESnet)
|>National Energy Research Supercomputer Center (NERSC)
|>Lawrence Livermore National Laboratory (LLNL)
|>Internet: koberman@llnl.gov		+1 510-422-6955
|>

I have been trying to do this as well.  Setting the editmode works fine, and
the keys work as described in the cmdedit page.  HOWEVER...  I am having
absolutely NO luck in getting the bind-to-key command to work.  I cannot even
get the example in the the man page to work.  I have tried creating a .bindings
file and I have also tried putting the command directly in .cshrc.  Neither
seems to produce ANY result.  The key settings retain their default behavior.
Am I missing something obvious?

- Michael Ciri


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-07-11 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-08 15:18 VMS-style recall keys smccann
1994-07-08 18:37 ` oberman
1994-07-11 16:49   ` System Manager

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox