fitrh has quit [Remote host closed the connection]
alexherbo2 has joined #foot
ptrc has quit [Remote host closed the connection]
ptrc has joined #foot
mtm has quit [Ping timeout: 245 seconds]
mtm has joined #foot
alexherbo2 has quit [Remote host closed the connection]
urosm has joined #foot
urosm has quit [Ping timeout: 246 seconds]
urosm has joined #foot
urosm has quit [Ping timeout: 255 seconds]
bent_fingers has joined #foot
cbb has joined #foot
lbia has quit [Quit: lbia]
urosm has joined #foot
urosm has quit [Ping timeout: 246 seconds]
urosm has joined #foot
xoip has quit [Quit: WeeChat 4.3.4]
urosm has quit [Ping timeout: 255 seconds]
urosm has joined #foot
urosm has quit [Ping timeout: 246 seconds]
urosm has joined #foot
cbb has quit [Quit: cbb]
urosm has quit [Ping timeout: 252 seconds]
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
bent_fingers has quit [Quit: Connection closed for inactivity]
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
bent_fingers has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
delthas has quit [Ping timeout: 272 seconds]
delthas has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
krobelus has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
<krobelus>
if fish spawns a child program that pushes progressive enhancement flags and crashes (without popping), then the progressive enhancement flag stack is stale. Now a child bash (which does not yet read CSI u) will have broken ctrl keys etc. A SSH connection drop effectively acts as such a crash. I think ideally the OpenSSH client would add some logic to make sure to restore the progressive enhancement
<krobelus>
flag stack but I'm not sure if they're open to that. For now, I'd want to add a workaround to fish, as follows: on startup, record the size of the flag stack. After executing an external program, check if the size is the same. If not, then pop any excess elements. I think we'd only need a way to query the stack size.
<krobelus>
Sounds somewhat complicated but I think it's better than making the user run "reset"
<krobelus>
I have never used a request that expects a response from the terminal, I wonder if there is any guarantee like "the next read will return the response (and not keyboard input)".. but I guess it doesn't really matter for my use.
<rockorager>
krobelus: the canonical way is to issue another request which every terminal responds to
<rockorager>
eg primary device attributes
<rockorager>
if you get a response to that and not the first, then you expect that you’ll never get a response
<rockorager>
personally I think CSI 5 n is a good candidate, you get fewer bytes back and it’s just a “OK” response basically
Tinky-Winky has joined #foot
<rockorager>
Ah, but your issue is the next read. Is fish using async reads?
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
Tinky-Winky has quit [Quit: Tinky-Winky]
Tinky-Winky has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
Tinky-Winky has quit [Quit: Tinky-Winky]
Tinky-Winky has joined #foot
Tinky-Winky has quit [Quit: Tinky-Winky]
Tinky-Winky has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
an3223 has quit [Remote host closed the connection]
an3223 has joined #foot
Tinky-Winky has quit [Quit: Tinky-Winky]
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
wofA has quit [Remote host closed the connection]
wofA has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
diaspora392 has quit [Remote host closed the connection]
diaspora392 has joined #foot
diaspora392 has quit [Remote host closed the connection]