🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1846

Re: cursor keys in csh (editmode=emacs)

#1846
From: Eric Scott Boltz
Date: Tue, 17 Nov 1992 21:18
36 lines
1805 bytes
In article <1e9hliINNfl@master.cs.rose-hulman.edu> nelson@nextwork.Rose-Hulman.Edu (Randy J. Nelson) writes:
>In article <1992Nov10.122831.564@sel.sub.org> stez@sel.sub.org (Johannes  
>Stezenbach) writes:
>> 
>> I ve set editmode=emacs in a csh running in Terminal.app (NS3.0)
>> and I want to use the cursor keys for parsing through the history and
>> command line editing.
>> 
>> I tried to use  bind-to-key PreviousHistEntry ... , but I don t know
>> what what to enter in the  key  field of the bind-to-key function.
>> 
>> Please help !
>
>Subject: C7. How do I get the arrow keys to work in csh?
>
<<Stuff from the FAQ deleted>>>

I never was able to implement this from the FAQ on a 040 cube running 2.1.
Niether was another friend with the same machine.
I sort of wonder if anyone has done this the way it is explained in
the FAQ...
Anyway I just blew it off and learned the emacs bindings and like 'em
just fine! If you don't know already, with editmode=emacs:
previous = ^p (like uparrow in VMS)
next = ^n
back (for in-line editing) = ^b
forward = ^f
Where ^ means control.
These are basics, for more info learn emacs.

Eric

  
>  Rose-Hulman Institute of Technology
>  Email: Randy.Nelson@Rose-Hulman.Edu		       
>  
Technical Details
Message-ID: <1992Nov17.211857.13957@jhunix.hcf.jhu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!spool.mu.edu!darwin.sura.net!jhunix.hcf.jhu.edu!eboltz
References: <1992Nov10.122831.564@sel.sub.org> <1e9hliINNfl@master.cs.rose-hulman.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!spool.mu.edu!darwin.sura.net!jhunix.hcf.jhu.edu!eboltz
From: eboltz@jhunix.hcf.jhu.edu (Eric Scott Boltz)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: cursor keys in csh (editmode=emacs)
Message-ID: <1992Nov17.211857.13957@jhunix.hcf.jhu.edu>
Date: 17 Nov 92 21:18:57 GMT
Article-I.D.: jhunix.1992Nov17.211857.13957
References: <1992Nov10.122831.564@sel.sub.org> <1e9hliINNfl@master.cs.rose-hulman.edu>
Distribution: comp
Organization: HAC - Johns Hopkins University, Baltimore
Lines: 36