Re: [dev] tcvt: very useful for seeing more at once

2021-10-14 Thread Rudy Dellomas (dther)
On 21/10/14 12:28PM, Greg Reagle wrote:
> FYI
> 
> Useful, but a lot of wasted screen space on my monitor:
> man dwm
> 
> MUCH better!  I see the entire man page:
> tcvt -c 4 man dwm
> 

`tcvt` is a python terminal multiplexer, which is a bit excessive for the
purpose of saving terminal columns. Even forgoing that GNU man has
$MANWIDTH, why not just use vertical split tmux? It's faster (written in
C) and is much more versatile. This would do more or less the same:

`tmux new ';' splitw -h man dwm`




Re: [dev] tcvt: very useful for seeing more at once

2021-10-15 Thread Rudy Dellomas (dther)
On 21/10/15 06:23AM, Greg Reagle wrote:
> On Thu, Oct 14, 2021, at 9:56 PM, Rudy Dellomas (dther) wrote:
> > [...]
> > `tmux new ';' splitw -h man dwm`
> 
> No, this does not do what tcvt does.  Have you actually tried it?  Nor does 
> the MANWIDTH variable.
> 

You're right, sorry, my mistake. I realised after sending that that
`tcvt` creates one long terminal as opposed to 4 terminal panes. That's
useful behaviour that I'm surprised there isn't a tmux
command for. I could see myself using it to monitor logs and such.

I tried to whip something up using `copy-mode`, which allows the reading
of another pane's history using using the flags `-t` and `-s`. I
couldn't get it to work, but I'm sure it would be possible, if not easy,
to make some kind of special .tmuxrc. Using tmux rather than inventing a
new terminal emulator would be worth it (in my opinion) in preventing
strange printing behaviour.