Vi Mode of Shell Not Starting


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Vi Mode of Shell Not Starting
# 1  
Old 06-22-2009
MySQL Vi Mode of Shell Not Starting

Hi all,

I wish to use the vi mode of UNIX shell.
For this, I did the following:

# set -o vi

Next when I write a few letter on the prompt and press 'Esc' and 'v', I am not taken to the vi mode.

I could start the vi mode on other unix systems, in the manner same as above, but unable to understand why vi mode couldnot start on this machine.

Any pointers will be highly appreciated.

-Almond
# 2  
Old 06-22-2009
which shell do you use?
# 3  
Old 06-22-2009
Hi,

I use Bourne shell.

-Almond
# 4  
Old 06-22-2009
afaik the vi mode only works for korn shell!?
# 5  
Old 06-22-2009
Hi,

Thanks a lot.
vi mode of shell indeed doesnt work for Bourne shell.

I executed /usr/bin/ksh and the vi mode started working.
Thanks a lot again
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies

2. UNIX for Advanced & Expert Users

Commands for starting DC Shell

hello, How can i initialize the DC shell in Linux (REDHAT) terminal ??? thank u. (2 Replies)
Discussion started by: DEBASHISH DASH
2 Replies

3. Shell Programming and Scripting

Starting Shell Scripting

Hi, I am new to shell scripting ,infact today only i started working on it. Can any body tell me some Good tutorials that i can use and that are easy to understand I shall be obliged (1 Reply)
Discussion started by: Gousia
1 Replies

4. Shell Programming and Scripting

Starting a C++ program from shell script

Hi, I have a little problem...I want to do the following things: Have my own little script that has 2/3 functions and starts a c++ application using some parameters. The problems appear when I start the c++ app using the shell script, the c++ takes over and after I ctrl+c the script... (0 Replies)
Discussion started by: valiadi
0 Replies

5. Red Hat

identifying SU mode by shell script

the following bash script is not working in fedora-11 Could anyone help me please? #!/bin/bash if -ne 0];then echo " you are in root" else echo " you must be in root -su mode??" fi exit (2 Replies)
Discussion started by: Turtel
2 Replies

6. Shell Programming and Scripting

shell script for extracting out the shortest substring from the given starting and en

hi all, i need an urgent help for writing a shell script which will extract out and print a substring which is the shortest substring from the given string where first and last character of that substring will be given by the user. for e.g. if str="abcdpqracdpqaserd" now if the user gives 'a'... (18 Replies)
Discussion started by: pankajd
18 Replies

7. Shell Programming and Scripting

Manage starting point in shell script.

Hi, I'd like to run a script with an optional starting point. Meaning that if no parameter for the script => Do everything, otherwise start from the point specified in the parameter and continue till the end. I thought of using the "case ..." but I have no result. Script: # ---------------... (6 Replies)
Discussion started by: ai_dba
6 Replies

8. Shell Programming and Scripting

Starting application using shell scripts

Hi All, I want to write a shell script which will start some application lets say "Windows media player". Please let me know your inputs. Thanks in advance, Niyati (0 Replies)
Discussion started by: Niyati
0 Replies

9. Shell Programming and Scripting

Help starting a simple shell script.

I've been sitting here for 6 hours typing out all kinds of different ridiculous(very pointless) shell scripts for a low-level UNIX class. I'm tired.. and want to go to bed :o Can somebody please help get me on the right path to starting this damn script? i'm useless after all these hours and... (2 Replies)
Discussion started by: dickmartin
2 Replies
Login or Register to Ask a Question