-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Micah Cowan wrote:
> Chris Lieb wrote:
>> Micah Cowan wrote:
>>> Try adding the line:
>>>   terminfocap screen* ks@:ke@
>>> to your final destination host's ~/.screenrc or /etc/screenrc, and see
>>> if that makes a difference in (freshly started) screen sessions.
>> I added the line:
> 
>>      termcapinfo screen* ks@:ke@
> 
>> to ~/.screenrc on the final host and the numpad now works normally when
>> in a nested screen session.  (I assume that's what you meant in your
>> last email.)
> 
> Okay, good, so we found the source of the problem. Now I just need to
> figure out what may be going wrong... all three terminfo definitions had
> 
>   smkx=\E[?1\E=
> 
> The \E[?1 sets "cursor key mode", and the \E= sets "application mode".
> You may possibly want to keep \E= if it doesn't screw things up, so now
> try changing the line to:
> 
>   termcapinfo screen* ks=\E=:ke=\E>

Changing the line to that brings back the issue that I had before.

> The remaining question is why \E[?1 screws things up for you (assuming
> that's the one that does so). Since it's in your xterm definitions, the
> first screen would have _already_ been sending both of those sequences
> to your PuTTY, so the only thing I can think of is that screen itself
> interprets those when it sees it (sent along by the nested screen). I'll
> try to look into that.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJJrtuRAAoJEJWxx7fgsD+CTtoIAIWj21l03qeaq0Pe7BSQe+WV
UV7g3xTE6E9CDKxViovLVH52TX1iL0R2ivXOfIhkqTFw/k3ALd/OYcBNt4wrW59s
y7IJmeXQNTPRkP2MH7ibIqp4WnGBAyyLyl2plzqPu+lxtP/Rch3oS4HeZ4aXY2FL
rMcxk8EpuLmcfAS9f3toc0tvPDedEyyn3tHjpK7FUvt0qt7Lhpe6R28Jxajw/34G
dzDbaWXcoiXTOHuXuxMZ+VRmvnQ6QOjMgKQlIkto/NZB/t+uncdKy9qBA5BL6hAp
Ds8O2tCaTLp+0/zUKjrCDsPunUg7lXqg2nDtpMmzrT7VljO1siBew7VBs5THvDc=
=w/6n
-----END PGP SIGNATURE-----



_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to