Sponsored Content
Operating Systems SCO BASH-like feature. is possible ? Post 40702 by davidg on Monday 22nd of September 2003 01:40:11 AM
Old 09-22-2003
Hi,

Most of the shells can use the arrow keys. Korn-shell (standard on your OS) can do it as well. It's just a matter of telling him to do.

"set -o vi" will set him in vi mode
"set -o emacs" will set him in emacs mode.

I think vi mode will get the most close to your needs. Maybe someone else knows the best option for you. (Don't know how bash exact works)

Regs David

P.S. : If it is your job to maintain a server, I'dd defintly choose for h,j,k and l. What happens if your server dies and you should boot up in single user mode? First install bash?
 

4 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

does anybody know what the bcb feature is in EMC?

does anybody know what the bcb feature is in EMC? (5 Replies)
Discussion started by: jigarlakhani
5 Replies

2. HP-UX

is this an 11.31 feature? cpu sequence...

we got our first Itanium server, and was wondering if the cpu sequence listed below is normal? rx8640, running 11.31 System: myBOX Tue Mar 25 07:21:45 2008 Load averages: 0.00, 0.00, 0.00 219 processes: 187 sleeping, 31 running, 1 zombie Cpu... (2 Replies)
Discussion started by: mr_manny
2 Replies

3. UNIX for Dummies Questions & Answers

History feature in Unix

Hi, I'm working on two flavours of unix namely HP-UX and sun solaris. In HP-UX, for executing the previous commands, i use the arrow keys. But on sun solaris this is not working. Can anyone explain how to use history feature effectively in sun solaris os? Thanks (4 Replies)
Discussion started by: venkatesht
4 Replies

4. UNIX for Beginners Questions & Answers

To send ID and Password for each command using expect feature in bash script

Dear Tech Guys, I am trying to send some commands on the local server and it always asks for user name and password after each command. To serve the purpose I am using expect function as follows: #!/usr/bin/expect set timeout 20 spawn "./data1.sh" expect "Please Enter UserName: "... (6 Replies)
Discussion started by: Xtreme
6 Replies
CHECKBASHISMS(1)					      General Commands Manual						  CHECKBASHISMS(1)

NAME
checkbashisms - check for bashisms in /bin/sh scripts SYNOPSIS
checkbashisms script ... checkbashisms --help|--version DESCRIPTION
checkbashisms, based on one of the checks from the lintian system, performs basic checks on /bin/sh shell scripts for the possible presence of bashisms. It takes the names of the shell scripts on the command line, and outputs warnings if possible bashisms are detected. Note that the definition of a bashism in this context roughly equates to "a shell feature that is not required to be supported by POSIX"; this means that some issues flagged may be permitted under optional sections of POSIX, such as XSI or User Portability. In cases where POSIX and Debian Policy disagree, checkbashisms by default allows extensions permitted by Policy but may also provide options for stricter checking. OPTIONS
--help, -h Show a summary of options. --newline, -n Check for "echo -n" usage (non POSIX but required by Debian Policy 10.4.) --posix, -p Check for issues which are non POSIX but required to be supported by Debian Policy 10.4 (implies -n). --force, -f Force each script to be checked, even if it would normally not be (for instance, it has a bash or non POSIX shell shebang or appears to be a shell wrapper). --extra, -x Highlight lines which, whilst they do not contain bashisms, may be useful in determining whether a particular issue is a false posi- tive which may be ignored. For example, the use of "$BASH_ENV" may be preceded by checking whether "$BASH" is set. --version, -v Show version and copyright information. EXIT VALUES
The exit value will be 0 if no possible bashisms or other problems were detected. Otherwise it will be the sum of the following error val- ues: 1 A possible bashism was detected. 2 A file was skipped for some reason, for example, because it was unreadable or not found. The warning message will give details. SEE ALSO
lintian(1). AUTHOR
checkbashisms was originally written as a shell script by Yann Dirson <dirson@debian.org> and rewritten in Perl with many more features by Julian Gilbey <jdg@debian.org>. DEBIAN
Debian Utilities CHECKBASHISMS(1)
All times are GMT -4. The time now is 06:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy