Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-08-2006, 02:49 AM   #1
LQ Newbie
Registered: Aug 2003
Posts: 6

Rep: Reputation: 0
problem with putty displaying the right charactors

hi all

i have tried this on both debian and fedora and it has the same problem. when logged in on the server with putty it works fine on the command line etc but when in vi editing file when i press the numbers on the num pad they show as letters not numbers. but when on the commd line i press the same ones and they are come out as numbers as the should do.

any idea what the problem could be.

thanks for any sugguestion
Old 12-08-2006, 09:20 AM   #2
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
IIRC, PuTTy comes with some pretty good documentation. Have you looked through it? I think I remember some discussion about how keys get interpreted in different circumstances.
Old 12-08-2006, 12:17 PM   #3
LQ Newbie
Registered: Aug 2003
Posts: 6

Original Poster
Rep: Reputation: 0
i have look at the documention and tried the things they said to do but nothing makes any difference
Old 12-08-2006, 02:40 PM   #4
LQ Newbie
Registered: Aug 2002
Location: near berlin, germany
Distribution: Debian unstable
Posts: 11

Rep: Reputation: 0
Are you sure its an putty issue ? Have you access to the server, can you test if (or not) this happens with the real keyboard too ?

With vi you get letters for the arrow keys (and disabled numlock) in insert-mode (tested this a minute ago on solaris, i hope this behaves similar). I often use vim, there you can configure it. In standard debian-configured vim this is off (you get movement by pressing arrows). (at least i never noticed such behaviour of vim in my debian)

maybe this helps

Last edited by cdex; 12-08-2006 at 02:42 PM.
Old 12-09-2006, 05:41 PM   #5
Senior Member
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
I think I replicated your problem, but I had to use a bit of a kludge to do it (so maybe the results aren't reliable). The only MS machine I had to run PuTTY on was a laptop w/o a regular 10-key pad. The only way I could create the problem was to plug in a regular keyboard, and w/o going into all of the gory details, this had a few strange interactions. But with NUM-LOCK on such that the 10-key produced numbers on the command line, in vim (called vi on this installation), the 10-key produced letters plus a little weirdness. Checking "Disble application keypad mode" (Terminal -> Features) in PuTTY made the 10-key behave as expected. See section 4.6.1 of the PuTTY user manual for an explanation.

EDIT: BTW, I tried sshing into the same machine from a Linux box using the openssh client and tried the same thing. There were no problems. So despite what the PuTTY manual says, I really don't know where the fundamental problem lies.

Last edited by blackhole54; 12-09-2006 at 06:19 PM.


vi, vim

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with PuTTY jantman Linux - Software 3 12-01-2006 02:57 PM
PuTTY hostname problem mikesjays Linux - Networking 4 01-05-2006 04:05 PM
shell script: grep using string with specail charactors? Chowroc Programming 6 11-14-2005 08:47 PM
Putty problem in communication dickkniep Linux - Networking 1 03-07-2004 06:58 PM
Problem with Putty...weird tarballed Linux - General 4 04-09-2003 01:38 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration