hello,
I am connecting to a 5.9 box from cygwin on my Win machine. all is
well, but function keys and special keys (like 'home', 'end', 'page
down' , 'page up' do not work. I have tried playing with different
TERM settings - as in ansi, vt100, vt220, etc. - no luck there.
I do not have root access and cannot change termcap and terminfo
settings.
Is there a way to map keys somehow? (I am using bash, but can use ksh
as well)
thanks!
|
|
0
|
|
|
|
Reply
|
webwesen (8)
|
10/19/2007 9:53:12 PM |
|
[webwesen]:
>
> I am connecting to a 5.9 box from cygwin on my Win machine. all is
> well, but function keys and special keys (like 'home', 'end', 'page
> down' , 'page up' do not work. I have tried playing with different
> TERM settings - as in ansi, vt100, vt220, etc. - no luck there.
>
> I do not have root access and cannot change termcap and terminfo
> settings.
you can set the environment variable TERMINFO to use your own terminfo
database.
> Is there a way to map keys somehow? (I am using bash, but can use
> ksh as well)
bash does not use function keys or page up/down. you can bind them to
actions in ~/.inputrc, though. I suspect you really want these keys
to work in some other application, but you don't say which, and it may
be different for each application. e.g. vi does not support these
keys out of the box. Emacs or less should, though, given the right
combination of terminfo and TERM.
--
Kjetil T.
|
|
0
|
|
|
|
Reply
|
Kjetil
|
10/25/2007 3:24:11 AM
|
|
On Oct 24, 10:24 pm, Kjetil Torgrim Homme <kjeti...@kaksi.ifi.uio.no>
wrote:
> [webwesen]:
>
>
>
> > I am connecting to a 5.9 box from cygwin on my Win machine. all is
> > well, but function keys and special keys (like 'home', 'end', 'page
> > down' , 'page up' do not work. I have tried playing with different
> > TERM settings - as in ansi, vt100, vt220, etc. - no luck there.
>
> > I do not have root access and cannot change termcap and terminfo
> > settings.
>
> you can set the environment variable TERMINFO to use your own terminfo
> database.
>
> > Is there a way to map keys somehow? (I am using bash, but can use
> > ksh as well)
>
> bash does not use function keys or page up/down. you can bind them to
> actions in ~/.inputrc, though. I suspect you really want these keys
> to work in some other application, but you don't say which, and it may
> be different for each application. e.g. vi does not support these
> keys out of the box. Emacs or less should, though, given the right
> combination of terminfo and TERM.
>
> --
> Kjetil T.
thanks for your reply.
I wanted to use them with vim and mc. mc handles it with 'learn keys'
option, but vim is still something i would like to setup.
|
|
0
|
|
|
|
Reply
|
webwesen
|
10/31/2007 12:31:38 AM
|
|
|
2 Replies
766 Views
(page loaded in 0.157 seconds)
Similiar Articles: remote terminal : function keys do not work - comp.unix.solaris ...hello, I am connecting to a 5.9 box from cygwin on my Win machine. all is well, but function keys and special keys (like 'home', 'end', 'page down' ,... Remote Desktop Connection Function Keys - comp.sys.mac.apps ...remote terminal : function keys do not work - comp.unix.solaris ... Remote Desktop Connection Function Keys - comp.sys.mac.apps ... remote terminal : function keys do not ... Alt key does not work in emacs - comp.emacsremote terminal : function keys do not work - comp.unix.solaris ... Alt key does not work in emacs - comp.emacs remote terminal : function keys do not work - comp.unix ... dbx shell arrow keys not working - comp.unix.solarisremote terminal : function keys do not work - comp.unix.solaris ... ulimit does not work correctly on remote ssh - comp.os.linux.misc ... dbx shell arrow keys not working ... How to recognize a local printer on terminal server? - comp.os.ms ...remote terminal : function keys do not work - comp.unix.solaris ... How to recognize a local printer on terminal server? - comp.os.ms ... remote terminal : function keys ... Sending a keep alive signal to remote terminal - comp.os.linux ...remote terminal : function keys do not work - comp.unix.solaris ... Send remote computer a message - comp.lang.java.help Then get a prototype working in pure C++ ... key not working - comp.sys.laptops.thinkpadremote terminal : function keys do not work - comp.unix.solaris ... hello, I am connecting to a 5.9 box from cygwin on my Win machine. all is well, but function keys and ... SAS shortcut keys in UNIX - comp.soft-sys.sasRemote Desktop Connection Function Keys - comp.sys.mac.apps ... remote terminal : function keys do not work - comp.unix.solaris ... ... and Connection Strings - comp.soft ... how do i reset the terminal - comp.unix.solarisremote terminal : function keys do not work - comp.unix.solaris ... how do i reset the terminal - comp.unix.solaris... when this happens? tset doesn't work. Remote shortcut - comp.databases.filemakerremote terminal : function keys do not work - comp.unix.solaris ... Remote shortcut - comp.databases.filemaker remote terminal : function keys do not work - comp.unix ... remote terminal : function keys do not work - comp.unix.solaris ...hello, I am connecting to a 5.9 box from cygwin on my Win machine. all is well, but function keys and special keys (like 'home', 'end', 'page down' ,... Functions keys not working within terminal - Rebex Q&A ForumFunctions keys not working within terminal ... HP-UX and once connected the function keys do not work. ... result to using different function keys set by the remote end. 7/22/2012 9:09:56 AM
|