turn off "set -o vi"


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers turn off "set -o vi"
# 1  
Old 10-27-2011
turn off "set -o vi"

someone typed in "set -o vi" into my terminal and i can't move around my prompt like i used to. e.g. i can't simply up arrow and see my command history. how do i disable "set -o vi" and what exactly did that command do?

thanks
# 2  
Old 10-27-2011
Code:
set +o vi

# 3  
Old 10-27-2011
I take back what I said. I think my problem might not be caused by "set -o vi". "set +o vi" didn't have any effect on the problem.

My problem is my terminal prompt (using ksh) seems to not be behaving normally. I can't do ctrl-a or ctrl-e to go to the beginning or end. I can't use the left right arrow keys to move my cursor.
# 4  
Old 10-27-2011
I don't know, what happens when you close and reopen the terminal?

Try also:

Code:
set -o emacs

# 5  
Old 10-27-2011
Quote:
Originally Posted by radoulov
I don't know, what happens when you close and reopen the terminal?

Try also:

Code:
set -o emacs

unfortunately no difference.
# 6  
Old 10-28-2011
If this happens for only one user, try to move all dot files from its home directory and recheck.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. Shell Programming and Scripting

Why awk print is strange when I set FS = " " instead of FS = "\t"?

Look at the following data file(cou.data) which has four fields separated by tab. Four fields are country name, land area, population, continent where it belongs. As for country name or continent name which has two words, two words are separated by space. (Data are not accurately... (1 Reply)
Discussion started by: chihuyu
1 Replies

3. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

4. Red Hat

how to turn off the banner "SSH-2.0-OpenSSH_5.2"?

how to turn off the banner "SSH-2.0-OpenSSH_5.2"? I am using RedHat Advanced Server 4 #telnet localhost 22 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. SSH-2.0-OpenSSH_5.2 (3 Replies)
Discussion started by: vishwanathhcl
3 Replies

5. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

6. UNIX for Dummies Questions & Answers

How to turn off "discard RIP response" message

I am running a solaris 10 box and is just a workstation. I want to turn off the message below since it is annoying me. Nov 15 12:16:07 stage5 in.routed: discard RIP response; source 134.56.105.2 not on interface eri0 This message only pops up when I am in a console. Telnet doesn't see it. ... (2 Replies)
Discussion started by: tecky
2 Replies

7. Programming

Differece between "env" and "set" command

Hi, Please clarify what is the difference between "env" and "set" command. I guess set will display the system variables and user defined variables. Thanks Sweta (1 Reply)
Discussion started by: sweta
1 Replies

8. Shell Programming and Scripting

Problem with "set" and "awk"

Hi, i'm programming on /bin/csh and i need to get the number extracted by this: set ppl_kn = $(awk '{ field = $6 } ; END{ print field }' < ppl_LM_kn.ppl ) and the output is: "Illegal variable name." Please anyone can help me what's wrong? Thanks in advance (2 Replies)
Discussion started by: tmxps
2 Replies
Login or Register to Ask a Question