06-09-2005
The korn shell does *not* support arrow keys for scrolling through commands.
The easiest way is to use vi mode (set -o vi) and then use Esc to get into command mode then k and j to cycle through commands.
The tcsh allows arrow key scrolling, as does bash.
Cheers
ZB
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey Guys ,
How do we trap the arrow keys in shell programming.
Or atleast can we read the ascii code of the arrow keys.
I want to read the arrow keys pressed by the user
and accordingly highlight the corresponding menu option.
Is it possible in shell to do so ??
... (1 Reply)
Discussion started by: nageshrc
1 Replies
2. UNIX for Dummies Questions & Answers
how to use the arrow keys in shell scripting. is there any special synatax / command for this.
i just want to use the arrow keys for navigation.
replies appreciated
raguram R (3 Replies)
Discussion started by: raguramtgr
3 Replies
3. Shell Programming and Scripting
I would like to get a script to respond to arrow key presses to scroll up and down a menu.
The platform is CDLinux which uses a prehistoric version of bash, version 1.14.7.
I would like to do something like "read -sn 1 keyin" but the "read" command is so primative that it only has the -r... (1 Reply)
Discussion started by: simonb
1 Replies
4. Solaris
Hello,
I am unable to use the arrow keys in some applications. For example, in bash, I am able to use the arrow keys to to go back and forth characters in current line and search the history--I can do everything you'd expect to be able to do with the arrow keys. However, in bc, I cannot use... (4 Replies)
Discussion started by: cooldude
4 Replies
5. UNIX and Linux Applications
hi,
can anyone tell me how to enable arrow keys to scroll thru the commands on command prompt.
I am using C shell ( I know, in k shell, set -o vi would enable vi command history, but set -o doesnte exist in c shell) (4 Replies)
Discussion started by: hemangi13
4 Replies
6. UNIX for Dummies Questions & Answers
Hi
I am working on SunOS 5.10 from remote terminal using putty.
Also
echo $TERM
xterm
In vi editor when in insert mode arrow keys are not working for cursor movement instead they print A B C and D.
Please help.
thanks
ravs (7 Replies)
Discussion started by: ravashingravi
7 Replies
7. Shell Programming and Scripting
I recently needed to collect arrow keys (and function keys etc.) in a shell script so that I could run a text graphics-style data entry system (with text entry fields, drop-down list boxes, progress bars and the like). Yes you can do all this in shell, and portably too if you're careful.
I've... (4 Replies)
Discussion started by: cambridge
4 Replies
8. UNIX for Dummies Questions & Answers
I would like to configure the key combination Tux-J (Win-J) as Down Arrow, and the rest of the VIM-style movement keys as well (HKL). What is the best way to do this so that it will work in all applications? I thought about editing the keyboard layout but I'm not sure how to do that for Tux-key... (2 Replies)
Discussion started by: dotancohen
2 Replies
9. UNIX for Dummies Questions & Answers
Would somebody advise how arrow keys could be binded in AIX v5.3?
I could not find reasonable information online related to AIX.
I've meat advises to define:
alias __A=$'\020' # or the same: alias __A=$(echo "\020")
alias __B=$'\016'
alias __C=$'\006'
alias __D=$'\002'
But it does... (2 Replies)
Discussion started by: alex_5161
2 Replies
10. Shell Programming and Scripting
Hi,
I remember in my previous project, I used UP arrow button to recall previous unix commands (using putty on Sun OS), which I am not able to do in my new project... I do not know if this is some project specific settings or not...
when I press UP arrow button, all I get is ^. I have to... (3 Replies)
Discussion started by: juzz4fun
3 Replies
LEARN ABOUT DEBIAN
colrconv
COLRCONV(1) General Commands Manual COLRCONV(1)
NAME
colrconv - hamradio convers client with sound and ncurses color support
SYNOPSIS
colrconv [options] <host> [<service>]
DESCRIPTION
This manual page documents briefly the colrconv commands.
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.
Colrconv is a modified version of VA3DP's ttylink client. In addition to the basic split screen session it gives you color and sound sup-
port plus some line editing capabilities, a scroll buffer and a status line. Also the default service is changed to 3600 (convers).
A new color is assigned to each user the first time he sends text and this color is used when displaying any subsequent text from this
user. Available colors are green, yellow, cyan, magenta, blue and red. These are used twice, the second time with BOLD attribute on. After
the colors run out they are used again.
Bold red is reserved for special messages (starting with ***) and for private messages (eg. <*oh2bns*>: Hello!).
Colrconv plays certain sound files when it receives text from the convers bridge. The files are: callsign.au (eg. oh2bns.au), unknown.au,
signedon.au says.au and pingpong.au. This feature is still a bit experimental and only works with older convers servers. Also you have to
make your own .au file. The rsynth package is good at this. See the readme for details. Sound files should go into /usr/lib/colrconv.
OPTIONS
-nocolor
Start colrconv in black and white, even if terminal has color support.
-c channel
Connect to channel number 'channel' at startup.
-n name
Send a '/n name' when connected. When -n is omitted the user's login name is used.
LINE EDITING COMMANDS
Ctrl-A Goto beginning of line.
Ctrl-B and Left arrow
Go one character backward.
Ctrl-D Delete character under cursor.
Ctrl-E Goto end of line.
Ctrl-F and Right arrow
Go one character forward.
Ctrl-K Kill from cursor to end of line (and store to kill buffer).
Ctrl-L Repaints the whole screen.
Ctrl-N and Down arrow
Scroll Down.
Ctrl-P and Up arrow
Scroll Up.
Ctrl-R Reprint current line.
Ctrl-U Delete current line in total.
Ctrl-W Erase last word.
Ctrl-Y Yank kill buffer.
The scroll buffer can be browsed with arrow keys Up and Down (or Ctrl-P and Ctrl-N), PageUp, PageDown, Home and End keys.
FILES
If ~/.conversrc exists, it is sent to the server after logging in. Handy for automatically sending commands like /notify, /who, etc.
SEE ALSO
/usr/share/doc/colrconv/README.colrconv.
AUTHOR
This manual page was written by Joop Stakenborg <pa3aba@debian.org>, for the Debian GNU/Linux system (but may be used by others).
COLRCONV(1)