<clever>
Mic92: i recently found that setting COLS was enough to fix ps aux temporarily, but something better would be nice
<Mic92>
clever: this fixes both dimensions
<clever>
Mic92: it looks like its asking tmux for the window size (rather then using the right ansi codes to ask), then using stty to modify what the kernel believes of ttyS0
<clever>
so the local methods of querying return the right numbers
<Mic92>
clever: if there way to use ansi codes, why not all terminals are using that?
<Mic92>
tmux is not running in the serial console
<clever>
i havent looked into how exactly it works over most terminals but not serial ones
<clever>
it looks like tmux is on the remote end, over the serial terminal program
<Mic92>
in my tmux session I have the serial console session running
<clever>
and the size of the tmux viewport (and by extension, the serial app), is inserted into the stty cmd
<Mic92>
yes
<clever>
yeah
sphalerite has quit [Ping timeout: 276 seconds]
sphalerite_ has joined #nixos-aarch64
orivej has joined #nixos-aarch64
sphalerite_ is now known as sphalerite
sonarpulse has joined #nixos-aarch64
sonarpulse has quit [Ping timeout: 240 seconds]
sonarpulse has joined #nixos-aarch64
sonarpulse has quit [Ping timeout: 256 seconds]
orivej has quit [Ping timeout: 256 seconds]
sonarpulse has joined #nixos-aarch64
sonarpulse has quit [Remote host closed the connection]