On Sat, 7 Feb 2015, Brian May wrote:

> On 7 February 2015 at 16:39, Tim Connors <[email protected]> wrote:
>
> > Anyone heard of a way of splitting your terminal into 2 columns (newspaper
> > style columns) where your eg. 180x49 sized xterm then becomes an emulated
> > eg. 90x98 sized xterm?  Preferably supporting the full ansi escape
> > sequences.
> >
>
> I think any of tmux, screen, emacs, etc, will do this...

screen and tmux create new shells for each pane, AFAICS.  I want just
the one shell, which can be split and the shell subsequently recieves
SIGWINCH and $COLUMNS doubles (or halves) and (if bash supported such an
environment variable - I can get the equivalent from Term::ReadKey) $ROWS
correspondingly halved (or doubles).

Emacs can definitely do it, but is not so scriptable in a self contained
bash script (hmmm, users might not appreciate me writing an emacs
--no-init-file and big elisp bundle just for a small lightweight
monitoring display).


-- 
Tim Connors
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to