On Mon, Mar 14, 2016 at 02:02:47PM -0600, Abel Abraham Camarillo Ojeda wrote: > On Mon, Mar 14, 2016 at 5:32 AM, Martin Natano <nat...@natano.net> wrote: > > On Mon, Mar 14, 2016 at 10:57:36AM +0100, Marc Espie wrote: > >> > >> So, does it make sense to put COLUMNS and SIZE forward ? > >> I think this is the first important question to ask... > >> > >> (I remember having COLUMNS and LINES hardcoded in my old, old .profile > >> around SunOS4... we can probably assume this is gone now) > >> > > > > This is still useful when working over a serial line. I sometimes use > > COLUMNS/LINES for vi over the qemu serial console. > > > > calling resize(1), ignoring its output, isnt enough over serial line? > > over serial I just do $ resize; after resizing my xterm and everything works > - and LINES and COLUMNS never get set in env
Yeah, resize does work. I didn't even know it exists ;) Now, that I have a much more convenient replacement for COLUMNS/LINES (for my usecase that is), I don't really care whether they stay or go away. natano