correct term setting?
From: Troy Piggins (usenet-0510_at_piggo.com)
Date: 10/03/05
- Previous message: Todd H.: "Re: Windows server"
- Next in thread: Troy Piggins: "Re: correct term setting?"
- Maybe reply: Troy Piggins: "Re: correct term setting?"
- Reply: Troy Piggins: "[solved] Re: correct term setting?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 02 Oct 2005 23:12:45 GMT
I log into my linux machine from a windows machine using puTTY over ssh,
and most programs I run using screen.
I posted the below originally on comp.editors thinking it was a vim
issue, but now am thinking it is a term/puTTY problem:
----- originally posted comp.editors -----
Something has bothered me for ages but have managed to do without is the
use of the numbers on my keypad with numlock on.
In my shell (bash) I can type keypad numbers and they work, but in vim
they don't. Searched the vim help for numlock, keypad, and numpad etc
only turned up bindings.
Is there a setting to enable them? What is it?
----- end -----
I should clarify that when I say they don't work in vim, they do send
"some characters" but I don't know what they are, and they certainly
aren't the numbers.
In the bash shell (no screen running) $TERM is xterm; in bash using
screen $TERM is xterm; in vim term defaults to $TERM; in
puTTY->terminal->keyboard->"Function keys and keypad" are set to "ESC[n~"
In vim I tried setting term=ansi, and the keypad worked then, but the
function keys didn't.
Any ideas? Not sure what other information to provide:
vim 6.1, bash 2.05b, puTTY 0.58, 104 key qwerty keyboard?
-- Troy Piggins Where I live: 27 27 44 S 153 02 28 E http://earth.google.com
- Previous message: Todd H.: "Re: Windows server"
- Next in thread: Troy Piggins: "Re: correct term setting?"
- Maybe reply: Troy Piggins: "Re: correct term setting?"
- Reply: Troy Piggins: "[solved] Re: correct term setting?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|