VI/VIM ERROR ^Z


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers VI/VIM ERROR ^Z
# 1  
Old 01-26-2011
VI/VIM ERROR ^Z

Dear Unix user,
I'm using putty 0.60 (on Windows Vista) to connect by ssh protocol to other Linux computer.
I have a problem with VI/VIM. When I key button "n" or "b", it returns me n^Z or b^Z.

What could the problem be?!
Thanx a lot,
Maria Elena
# 2  
Old 01-26-2011
Try:

Code:
 
stty erase n^
stty erase b^

# 3  
Old 01-26-2011
Unfortunately, it returns me this error:

stty: invalid integer argument `b^'
stty: invalid integer argument `n^'
# 4  
Old 01-26-2011
Please post the output from:
Code:
stty -a

And if you have a ".exrc" file (which maps keys for "vi") in your home directory.
Code:
cat -v .exrc

And
Code:
echo ${TERM}

# 5  
Old 01-26-2011
I have not .exrc file

> $ stty -a
speed 38400 baud; rows 46; columns 157; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -cdtrdsr
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke


> echo ${TERM}
xterm
# 6  
Old 01-26-2011
Right, it's not the ususal.

I'll have to leave this thread to someone who knows the correct setup for your software.
# 7  
Old 01-26-2011
I think that the problem is putty on vista.When i use putty from other windows pc (for example xp) I have not problem!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Vim :f

Can someone please tell me what this does? :f word I thought that was the way to save files with a different name but after a quick google search I saw it was like this. :w filename (4 Replies)
Discussion started by: cokedude
4 Replies

2. UNIX for Dummies Questions & Answers

Error when using vim to open files

Hi all, 1st post here. I'm on Solaris and currently, I get the following error if I try to use vim to edit anything: Error detected while processing function <SNR>6_initialize: line 2: E697: Missing end of List ']': E116: Invalid arguments for function <SNR>6_defineOption line 3: E10:... (6 Replies)
Discussion started by: fred2028
6 Replies

3. UNIX for Dummies Questions & Answers

error starting vim after an update?

After trying to make an update to my vim settings, i'm now getting this error message when vim tries to start. Any suggestions would be much appreciated :) Error detected while processing .vimrc: line 40: E15: Invalid expression: E15: Invalid expression: (0 Replies)
Discussion started by: khoges11
0 Replies

4. Linux

VI/VIM ERROR ^Z

Dear Unix user, I'm using putty 0.60 (on Windows Vista) to connect by ssh protocol to other Linux computer. I have a problem with VI/VIM. When I key button "n" or "b", it returns me n^Z or b^Z. What could the problem be?! Thanx a lot, Maria Elena (0 Replies)
Discussion started by: mesana
0 Replies

5. Shell Programming and Scripting

VI/VIM ERROR ^Z

Dear Unix user, I'm using putty 0.60 (on Windows Vista) to connect by ssh protocol to other Linux computer. I have a problem with VI/VIM. When I key button "n" or "b", it returns me n^Z or b^Z. What could the problem be?! Thanx a lot, Maria Elena (0 Replies)
Discussion started by: mesana
0 Replies

6. Shell Programming and Scripting

E363 ERROR working with VIM

When i try to edit the byte size file in vim editor iam getting the following error message(OS IBM AIX5.3) E363: pattern caused out-of-stack error Anyone know how to overcome this ?. (1 Reply)
Discussion started by: mr_manii
1 Replies

7. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

8. UNIX for Advanced & Expert Users

About Vim

Hello, what is the maximum size of a file that we can open using vim. (3 Replies)
Discussion started by: nagalenoj
3 Replies

9. UNIX for Dummies Questions & Answers

Need some help with vim

I use vim for writing code. I was using nano but found that vim is a much advanced editor. I am trying to achieve something like this: When trying a loop or a function, I generally type: function name() {} Now when I take my cursor one position to the left and press the return key, it give... (4 Replies)
Discussion started by: Legend986
4 Replies

10. Solaris

install vim error

dear all iam installing vim on solaris 10 but it give me the below error can any one help me ld.so.1: vim: fatal: libncurses.so.5: open failed: No such file or directory Killed (2 Replies)
Discussion started by: murad.jaber
2 Replies
Login or Register to Ask a Question