LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2017, 03:41 AM   #1
levanlam
LQ Newbie
 
Registered: Jan 2017
Posts: 2

Rep: Reputation: Disabled
Question about used putty to login pc linux.


Hello all member.

it has been quite some time I use putty to log into linux machines from windows, when I need.
I have found my way through codepage problems, moving text files with different encoding across many different machines and OSes, and such.
But for keyboards... I have never seen the numeric keyboard work on this situation (windows+putty -> linux) and I trying to find out how.

What works:

- all keys on the main keyboard part and ESC
- insert, home, pg up, pg down, end and delete (on the center)
- arrow keys
- accented letters, cedilla and other exotics
- Alt Gr modifications (ABNT2 keyboard)

Does not work:

- turning on/off num lock (no apparent effect on the remote side)
- independently of num lock state, numeric keypad does not work

The behaviour is curious for some applications.

For example, what Vim (on remote machine) inserts as text when typing on the num keyboard is different from what appears on the login prompt initially. And if I do command ":sh" from Vim, I can type numbers naturally on the opened shell, differently. Why? How?

My goal is to find a way to change this behavior and have it fixed for my user. But fixing keyboard to work via win + putty may not break the keyboard when I log in with ssh from another linux machine, or log in the real machine.

I thought about variables like LANG or LOCALE, but for the keyboard.

thank's a lot!
 
Old 01-16-2017, 04:33 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,280

Rep: Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388Reputation: 3388
Basically ssh will send stdin to the other side and there is no way to modify it on the remote site. I would say that is a host-local problem, I mean it should be solved on windows (+ putty). I cannot test it right now, but as far as I know it should work.
 
Old 01-16-2017, 06:18 AM   #3
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,702

Rep: Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101Reputation: 1101
1. Check and report your terminal type when you use putty to connect to the linux machine.
2. Check and report your keyboard settings in your putty definition for that connection.
3. From the same connection, please report your codepage and window settings.

With a little information, we might be able to provide some advice.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to auto login in linux using putty or similar software . pinga123 Linux - General 1 10-28-2015 05:31 AM
putty ssh login in Linux server alexz Linux - General 5 06-08-2007 12:22 PM
Putty telnet question (Login Screen goes away) wardialer Linux - Newbie 1 10-16-2004 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration