06-08-2005
type set -o Is the vi option turned on? If not, type set -o vi. You should now have history recall/search via keyboard.
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 OSF1
dxmtools
dxmtools(1) General Commands Manual dxmtools(1)
NAME
dxmtools - DOS Tools Graphical User Interface for manipulating files on an MSDOS diskette
SYNOPSIS
/usr/bin/X11/dxmtools
OPTIONS
DESCRIPTION
The DOS Tools application, dxmtools, uses a graphical user interface to copy files to and from an MSDOS formatted diskette to manipulate
files on that diskette, in the same manner as the mtools(1) commands, which are accessed from the command line interface.
The DOS Tools application accepts the standard X11 resource options. For more information, see the X(1X) reference page
Use the DOS Tools application to: Copy a diskette file to Tru64 UNIX Copy Tru64 UNIX files to the diskette Create a directory on the
diskette Delete diskette files Format a diskette Change the diskette volume label Change the archive, read-only, hidden, and system
attribute bits on a diskette file Display the contents of a diskette file Find a diskette file by its name, size, or attribute settings
Rename a diskette file.
MSDOS filenames are optionally composed of a drive letter followed by a colon, optional subdirectories, and a filename. Subdirectory names
can use either the '/' or '' separator. The current working directory relative to the diskette is A:/.
The regular expression pattern matching routines follow the UNIX-style rules. For example, an asterisk (*), in place of asterisks separated
by a dot (.) that is *.*, matches all MSDOS files. The archive, hidden, read-only, and system attribute bits are ignored during pattern
matching.
The DOS Tools application requires a diskette properly installed on the system.
The DOS Tools application addresses a device named /dev/disk/floppy; a symbolic link between the diskette device and /dev/disk/floppy is
required.
Online help is available for the dxmtools application. To get help, click on any Help button or use the Help pull-down menu.
The DOS Tools application can be invoked from:
The CDE Application Manager.
Application Group: Desktop_Apps
Desktop_Apps Subgroup: dxmtools
EXAMPLES
Invoke the DOS Tools application from the command line. /usr/bin/X11/dxmtools Open the DOS Tools help volume from the command line without
running the application. /usr/dt/bin/dthelpview -h /usr/dt/appconfig/help/C/dxmtools.sdl
FILES
DOS Tools executable DOS Tools Help Volume Symbolic link for diskette drive.
SEE ALSO
Commands: ln(1), mattrib(1), mcd(1), mcopy(1), mdel(1), mdir(1), mlabel(1), mmd(1), mrd(1), mread(1), mren(1), mtools(1), mtype(1),
mwrite(1), X(1X)
Diskette interface: fd(7)
Utilities: MAKEDEV(8), mknod(8)
dxmtools(1)