Re: correct term setting?

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

  • Next message: Troy Piggins: "[solved] Re: correct term setting?"
    Date: 03 Oct 2005 12:12:13 GMT
    
    

    * Stephane CHAZELAS wrote:
    > 2005-10-02, 23:12(+00), Troy Piggins:
    >> 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~"
    > [...]
    >
    > Go to the default settings in putty and use TERM=putty. Ensure that
    > the terminfo entry for putty on your system is there:

    Sorry to sound like a complete noob, but what do you mean by the first
    sentence in that last paragraph? Do you mean just use all the default
    putty settings, and on the linux machine I am connecting to put
    TERM=putty in the ~/.bashrc? Tried that and no joy. In fact the
    function keys no longer worked correctly either.

    > infocmp putty

    Yes, it showed up.

    [troy@armadillo:troy]$ infocmp putty
    # Reconstructed via infocmp from file: /usr/share/terminfo/p/putty
    putty|xterm clone (win32),
            am, bw, ccc, km, mir, msgr, xenl,
            colors#8, cols#80, it#8, lines#24, pairs#64,
    [snip]

    > If not, get the source from
    > http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/terminfo.html
    >
    > and compile it as root using tic(1).

    Looked at that website and there were 2 terminfos, no idea which one you
    mean for me to use, and since I have one already do I need it?

    Thanks anyway.

    -- 
    Troy Piggins
    Where I live: 27 27 44 S 153 02 28 E
    http://earth.google.com
    

  • Next message: Troy Piggins: "[solved] Re: correct term setting?"

    Relevant Pages

    • 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 ... Go to the default settings in putty and use TERM=putty. ...
      (comp.unix.shell)
    • Re: Putty connection to mainframe
      ... Although technically correct that Putty can not do 3270, ... poster can ssh into a Linux machine with the x3270 suite installed, ... and should work over a standard telnet/ssh connection. ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
      (bit.listserv.ibm-main)
    • Re: X server client/server
      ... Windows XP machine to the Linux machine. ... Putty and xming installed on the XP computer. ... If you want the GUI then use NX server on the Linux machine and NX client on ...
      (alt.os.linux.suse)
    • 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)
    • 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)