rcf has joined #foot
k-man has quit [Remote host closed the connection]
k-man has joined #foot
pranjal1 has joined #foot
pranjal1 has quit [Read error: Connection reset by peer]
pranjal has quit [Ping timeout: 240 seconds]
pranjal has joined #foot
pranjal has quit [Read error: Connection reset by peer]
pranjal has joined #foot
an3223 has joined #foot
pranjal has quit [Ping timeout: 256 seconds]
pranjal has joined #foot
Guest35 has joined #foot
<
Guest35>
Heya, I have an issue with screen, in that I can't figure out how to make it switch to application mode in foot. Any hints?
<
Guest35>
(it works fine outside of screen)
<
Guest35>
Setting termcapinfo smkx doesn't seem to help, either
<
dnkl>
you mean for cursor keys?
<
Guest35>
Yeah, specifically the keypad
<
dnkl>
you need to disable private mode 1035
<
dnkl>
(shouldn't depend on whether screen is running or not, but obviously depends on who's emitting the escapes)
<
Guest35>
Yeah it works when I do it outside of screen, but it just flat out refuses in screen
<
dnkl>
which terminal are you using outside screen?
<
dnkl>
s/terminal/terminfo
<
dnkl>
Guest35: hmm, I'm assuming screen eats the escape...
<
dnkl>
yup that's it
<
dnkl>
I enabled logging in foot, when that private mode is being enabled/disabled
<
dnkl>
nothing happens in screen
<
dnkl>
my guess is screen parses the escapes, and throws away those it doesn't recognize
<
dnkl>
might be able to pass it through though...
<
dnkl>
Guest35: you can wrap it in a DCS sequence, then screen will pass it through
<
dnkl>
echo -e ' \eP\e[?1035l\e\\'
<
Guest35>
Sorry I had to leave the keyboard for a bit, testing now!
<
Guest35>
Works beautifully. Thank you!
<
dnkl>
you're welcome :)
<
Guest35>
Haha, made my day! I struggled with this more than I should admit
<
dnkl>
yeah, issues like this can be hard to debug...
Guest35 has quit [Quit: Client closed]
Nulo has quit [Ping timeout: 256 seconds]
pranjal has quit [Quit: WeeChat 3.4]
ynakao has quit [Quit: WeeChat 3.4]
ynakao has joined #foot