Debian Package a Day ([info]debaday) wrote,
@ 2004-09-07 08:00:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
splitvt - run two programs in a split screen
A utility to split a vt100 compatible screen into two halves, upper and lower, and run a different program simultaneously in each half.

Brought to you today by Simon.
I find splitvt is mondo easy to use.

Hey, nifty.

More information on this package can be found on the Debian web site.
(If there is a package you would like to see featured here, go to the userinfo page and follow the directions there to submit your entry.)

Now available in RSS and ATOM flavors too.



(5 comments) - (Post a new comment)

screen
(Anonymous)
2004-09-08 12:44 am UTC (link)
screen can do this too (and much more, but that goes without saying)...

In screen terminology these two halves, upper and lower, are called "regions" (as opposed to "windows", which are hidden behind one another and are what most people using screen are used to), and I'll be using that terminology below...

To use regions, after you've started screen, just type:

"CONTROL-a S" (hold down the control key and hit the "a" key, then let go of the control key and hit capital "S")

That will split the screen in two, just like splitvt.
To move your cursor down to the newly created region type:

"CONTROL-a TAB" (hold down the control key and hit the "a" key, then let go of the control key and hit the TAB key)

Once your cursor is in the new region you can use it just like you normally use screen (ie. type "CONTROL-a c" to create a new window, "CONTROL-a n" to go to the next window or "CONTROL-a p" to go to the previous window, etc...).

Finally, you can make screen use just one region again by typing:

"CONTROL-a Q" (that's the capital letter "Q")

NOTE: If you ever type "CONTROL-a s" (lowercase "s") by mistake and suspend your shell, just type "CONTROL-a q" to unsuspend it.

All these keys can be remapped, by the way, if you feel more comfortable using a different set of keystrokes to do what you want to do. Just search screen's man page for "bind".

(Reply to this) (Thread)

Re: screen
[info]skx
2004-09-20 08:46 am UTC (link)
The only thing that Screen doesn't do is remember the state of your windows when you detach.

That makes it sometimes worthwhile using 'splitvt' inside a screen session, so you have two windows on the screen and they stay there when you reattach.

(Reply to this) (Parent)

Twin
(Anonymous)
2004-09-15 06:07 am UTC (link)
As screen, also twin can do this and much more...

twin is a complete window manager, in text mode.

As with screen, you can also detach a session to recover it later (on an other display, console, X-server...). But you have much more freedom over screen and splitvt. In particular you can easily configure the 'control' sequence. I can not live with Ctrl-A trapped...

(Reply to this) (Thread)

Re: Twin
(Anonymous)
2004-09-16 02:08 am UTC (link)
To change screen's ^A to ^B add this to your .screenrc:

defescape ^bb
escape ^bb

(Reply to this) (Parent)(Thread)

Re: Twin
(Anonymous)
2004-09-16 10:32 am UTC (link)
Or use:
screen -e ^Bb

- Ingo Blechschmidt <iblech.AT.web.de>

(Reply to this) (Parent)


(5 comments) - (Post a new comment)

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…