Subj : RE: Reliable way to get term size To : echicken From : NuSkooler Date : Mon Apr 05 2021 04:29 pm On Monday, April 5th echicken was heard saying... Ec> The normal way would be to send the cursor to row 255, column 255 Ec> (esc[255;255H), then request the cursor position from the terminal Ec> (esc[6n) and parse the response (esc[row;columnR). At one point I was using 255,255 for ENiG then switched it to 999,999 and I can't remember at all why. I _think_ I may have run into it with a full screen Linux telnet session where 255 wasn't big enough? But I do imagine some software isn't too happy with it if they try to store the value in a byte :) -- |08 ■ |12NuSkooler |06// |12Xibalba |08- |07"|06The place of fear|07" |08 ■ |03xibalba|08.|03l33t|08.|03codes |08(|0344510|08/|03telnet|08, |0344511|08/|03ssh|08) |08 ■ |03ENiGMA 1/2 WHQ |08| |03Phenom |08| |0367 |08| |03iMPURE |08| |03ACiDic --- ENiGMA 1/2 v0.0.12-beta (linux; x64; 14.15.4) * Origin: Xibalba -+- xibalba.l33t.codes:44510 (21:1/121) .