LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2010, 10:23 AM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
putty


I have trying to use putty , I use this program as emulator to telnet our server , but I found some function key is not work , can advise how to map the function key to specific keyboard key ( eg. ^M ) ? thx
 
Old 06-22-2010, 10:48 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Read chapter 4 of puttydoc, which is included with putty, or read it here.
 
1 members found this post helpful.
Old 06-22-2010, 08:33 PM   #3
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by smoker View Post
Read chapter 4 of puttydoc, which is included with putty, or read it here.
thx reply

I read the doc.

4.4.3 Changing the action of the function keys and keypad
This option affects the function keys (F1 to F12) and the top row of the numeric keypad.

In the default mode, labelled ESC [n~, the function keys generate sequences like ESC [11~, ESC [12~ and so on. This matches the general behaviour of Digital's terminals.
In Linux mode, F6 to F12 behave just like the default mode, but F1 to F5 generate ESC [[A through to ESC [[E. This mimics the Linux virtual console.
In Xterm R6 mode, F5 to F12 behave like the default mode, but F1 to F4 generate ESC OP through to ESC OS, which are the sequences produced by the top row of the keypad on Digital's terminals.
In VT400 mode, all the function keys behave like the default mode, but the actual top row of the numeric keypad generates ESC OP through to ESC OS.
In VT100+ mode, the function keys generate ESC OP through to ESC O[
In SCO mode, the function keys F1 to F12 generate ESC [M through to ESC [X. Together with shift, they generate ESC [Y through to ESC [j. With control they generate ESC [k through to ESC [v, and with shift and control together they generate ESC [w through to ESC [{.
If you don't know what any of this means, you probably don't need to fiddle with it.


but I still not understand how to map the key , for example , if I want to map F5 to ^D in Linux VT220 term , can advise what can i do ? thx
 
Old 06-22-2010, 10:09 PM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Quote:
Originally Posted by elainelaw View Post
I have trying to use putty , I use this program as emulator to telnet our server , but I found some function key is not work , can advise how to map the function key to specific keyboard key ( eg. ^M ) ? thx
I was suggesting a way to try getting the F keys working. I don't think you can map them to other keys in puTTY
 
Old 06-23-2010, 03:13 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 16,357

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
Might be that instead of using putty you can use some terminal emulator and assign the keys that way?
 
  


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
putty imamit76 Linux - General 4 10-23-2009 04:17 AM
Putty logs me out / Putty throws me out after I log in ytd Linux - General 15 08-09-2009 03:03 AM
Putty krishnaix Linux - Newbie 4 07-28-2009 10:24 PM
Re: Putty unixfreak Linux - Newbie 6 09-01-2004 11:42 AM
Need help with PUTTY unixfreak Linux - Software 2 08-30-2004 06:06 PM


All times are GMT -5. The time now is 02:23 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