correct term setting?

From: Troy Piggins (usenet-0510_at_piggo.com)
Date: 10/03/05

  • Next message: Georges Heinesch: "Re: Windows server"
    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
    

  • Next message: Georges Heinesch: "Re: Windows server"

    Relevant Pages

    • [solved] Re: correct term setting?
      ... Troy Piggins wrote: ... > I log into my linux machine from a windows machine using puTTY over ssh, ... > use of the numbers on my keypad with numlock on. ... > In my shell I can type keypad numbers and they work, but in vim ...
      (comp.unix.admin)
    • [solved] Re: correct term setting?
      ... Troy Piggins wrote: ... > I log into my linux machine from a windows machine using puTTY over ssh, ... > use of the numbers on my keypad with numlock on. ... > In my shell I can type keypad numbers and they work, but in vim ...
      (comp.unix.shell)
    • [solved] Re: correct term setting?
      ... Troy Piggins wrote: ... > I log into my linux machine from a windows machine using puTTY over ssh, ... > use of the numbers on my keypad with numlock on. ... > In my shell I can type keypad numbers and they work, but in vim ...
      (comp.security.ssh)
    • Re: correct term setting?
      ... > I log into my linux machine from a windows machine using puTTY over ssh, ... > use of the numbers on my keypad with numlock on. ... > In my shell I can type keypad numbers and they work, but in vim ... In Putty, go to settings, terminal, keyboard and look under "Application ...
      (comp.unix.shell)
    • correct term setting?
      ... I log into my linux machine from a windows machine using puTTY over ssh, ... In my shell (bash) I can type keypad numbers and they work, but in vim ...
      (comp.unix.admin)