I've finally gotten ssh
onto my phone, but having done so, I realize that some of my ancient hard-coded scripts are very specific to an 80x24 resolution.
I'm aware that $COLUMNS
will give me my 80, and allow me to do some things, but I'd like to figure out where I can access the other dimension of the terminal I'm getting to look at.
I'd hate to have to hard-code a set for every terminal, phone, or other hardware I might use, but right now it's looking like that may be the best option.
My phone gives me 53x13 with ConnectBot (couldn't find a better solution?), in case anyone cares.