VKontakte.DJ
forum traveling
 

Celestial Software

...better by design

Home Support SSH Client Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Numeric keypay in vim (vi) (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Numeric keypay in vim (vi)
#1248
Numeric keypay in vim (vi) 17 Years, 9 Months ago  
Get no or garbled (<F2>, etc.) when entering number from numberic keypad in input mode ':' with vim on Redhat Linux 7.3

TERM=vt100
Windows XP
Sony Vaio
draycott (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
35
 
The administrator has disabled public write access.  
#1249
Re: Numeric keypay in vim (vi) 17 Years, 9 Months ago  
':' is command mode, not input. entering to go to a line number
draycott (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
35
 
The administrator has disabled public write access.  
#1250
Re: Numeric keypay in vim (vi) 17 Years, 9 Months ago  
By default, the keypad works in a very specific way for terminal applications. If you're getting escape sequences out of the keypad, it's likely set in 'application' mode which is probably not what you want.

To force a PC style keypad where you are either in numeric mode or extended mode (arrows, home, end, insert, del), you must go to Options->Properties->VT Options and switch off 'VT Keypad'
bpence (Admin)
Admin
Posts: 1343
graph
User Offline Click here to see the profile of this user
Logged Logged  
 
Brian Pence
Celestial Software
SSH , SFTP, and Telnet in a tabbed interface for Windows XP, Vista, Mobile, and others
 
The administrator has disabled public write access.  
#1251
Re: Numeric keypay in vim (vi) 17 Years, 9 Months ago  
That was it. Great software and service.
draycott (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged  
 
35
 
The administrator has disabled public write access.  
Go to top