|
|
| ||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
| | Thread Tools |
| | #1 |
|
Posts: n/a Hébergeur: | Hi Group, In C shell, Is there any way I can map Up & Down arrow keys to walk through the entire last command history list ? Something similar what Bash shell does by default. Thanks in advance for any . J |
|
| | #2 |
|
Posts: n/a Hébergeur: | jonas.cord@gmail.com writes: > In C shell, Is there any way I can map Up & Down arrow keys to walk > through the entire last command history list ? > > Something similar what Bash shell does by default. In plain csh, no. Use tcsh instead. -- Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst> San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst> We must do something. This is something. Therefore, we must do this. |
|
| | #3 |
|
Posts: n/a Hébergeur: | On 6 Dec 2006 16:36:56 -0800, jonas.cord@gmail.com <jonas.cord@gmail.com> wrote: > Hi Group, > > In C shell, Is there any way I can map Up & Down arrow keys to walk > through the entire last command history list ? > > Something similar what Bash shell does by default. > > Thanks in advance for any . > Not in csh, but in tcsh. Fortunately on many systems csh is an alias for tcsh. -- If you wish women to love you, be original; I know a man who wore fur boots summer and winter, and women fell in love with him. -- Anton Chekhov |
|
| | #4 |
|
Posts: n/a Hébergeur: | > > In plain csh, no. > > Use tcsh instead. > thanks guys !!! ya tcsh gave me back my arrow key shortcuts. I haven't played much with "tcsh" before. All the valid "csh" statments & syntax should be valid with tcsh as well right ? and does tcsh allow mapping of customized keystrokes with commands ? thanx again in advance. |
|
| | #5 |
|
Posts: n/a Hébergeur: | In article <1165456280.112915.299790@80g2000cwy.googlegroups. com>, jonas.cord@gmail.com wrote: > > > > In plain csh, no. > > > > Use tcsh instead. > > > > thanks guys !!! > ya tcsh gave me back my arrow key shortcuts. > > I haven't played much with "tcsh" before. All the valid "csh" statments > & syntax should be valid with tcsh as well right ? yes > and does tcsh allow mapping of customized keystrokes with commands ? Yes, see the bindkey built-in command -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group *** |
|
| | #6 |
|
Posts: n/a Hébergeur: | > > > In plain csh, no. > > > > > > Use tcsh instead. > > > > > > > thanks guys !!! > > ya tcsh gave me back my arrow key shortcuts. > > > > I haven't played much with "tcsh" before. All the valid "csh" statments > > & syntax should be valid with tcsh as well right ? > > yes > > > and does tcsh allow mapping of customized keystrokes with commands ? > > Yes, see the bindkey built-in command Great !!! exactly what I was looking for. Thanks Barry. |
|
![]() |
| Thread Tools | |
| |