LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 12-08-2006, 03:49 AM   #1
linu
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, 10:20 AM   #2
blackhole54
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, 01:17 PM   #3
linu
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, 03:40 PM   #4
cdex
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 03:42 PM.
 
Old 12-09-2006, 06:41 PM   #5
blackhole54
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 07:19 PM.
 
  


Reply

Tags
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 03:57 PM
PuTTY hostname problem mikesjays Linux - Networking 4 01-05-2006 05:05 PM
shell script: grep using string with specail charactors? Chowroc Programming 6 11-14-2005 09:47 PM
Putty problem in communication dickkniep Linux - Networking 1 03-07-2004 07:58 PM
Problem with Putty...weird tarballed Linux - General 4 04-09-2003 02:38 PM


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

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