Skip to content

Commit

Permalink
splitvt-1.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 17, 2022
1 parent 7a491d0 commit 44be8e5
Show file tree
Hide file tree
Showing 10 changed files with 395 additions and 63 deletions.
62 changes: 15 additions & 47 deletions ANNOUNCE
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Announcing the newest version of splitvt!

SECURITY ALERT!!!

splitvt versions lower than 1.6.3 are known to have a
splitvt versions lower than 1.6.4 are known to have a
security hole allowing a user to gain ROOT access on some systems!

If you have a version lower than 1.6.3 _please_ remove
If you have a version lower than 1.6.4 _please_ remove
the set-uid bit on your current version, and upgrade to the newer
version as soon as possible.
("splitvt -version" will tell you what version you are running)
Expand All @@ -20,8 +20,8 @@ The set-uid bit is only for updating the utmp database and for
changing ownership of its pseudo-terminals. It is not necessary
for splitvt's operation.

The latest version is available via anonymous ftp from
dandelion.ceres.ca.gov in the /pub/splitvt directory.
The latest version is available via the web at:
http://www.devolution.com/~slouken/projects/splitvt/


What it is:
Expand All @@ -33,56 +33,24 @@ that while screen gives you multiple virtual screens, splitvt splits
your screen into two fully visible windows. You can even use
splitvt with screen to provide multiple split screens. This can
be very handy when running over a modem, or for developing
client-server applications.
client-server applications or watching routine tasks as you work.

What can I use it for?

Well, at this time, I am aware of several ways in which
people are using splitvt. Some people like to use it over the modem
to allow them more than one window at a time, others like to use it
in xterms because they prefer having everything on the screen at once,
and some people are using it in conjunction with the -rcfile option
to automate system administration tasks.
If you are using splitvt in a new and unusual way,
I'd like to hear about it!
Direct all comments to [email protected]

Where can I get it?

Splitvt is available for anonymous ftp from
dandelion.ceres.ca.gov in the /pub/Linux/splitvt directory.
You can also get it from sunsite.unc.edu in /pub/Linux/Incoming
now, and will hopefully to be moved to /pub/Linux/utils/terminal.
The file is splitvt-1.6.3.tgz and it is in tarred and gzipped format.
Direct all comments to [email protected]

What's new?

Lots of stuff. :)
Here is the list of things from the CHANGES file:

Version 1.6.3
Patched some security holes:
fixed sprintf overflow in parserc.c
fixed env label overflow in parserc.c
fixed env variable expansion overflow
added read access check in parserc.c
added chdir() access check in parserc.c
fixed sprintf overflow in vtmouse.c

Version 1.6.2
Fixed a bug in vt_showscreen()
Fixed separator redisplay in vt_prompt()
Added the ANNOUNCE file
Added a "cd" command to the startup file
Added -t option to change xterm title
xterm title is reset, if possible, at exit
Added xterm drag-n-drop of separator bar
Speeded up separator bar movement
(broken) Fixed cut-paste highlighting
(broken) Integrated cut-paste with X selection (xcb)
Fixed job control for FreeBSD
(thanks to Quang Ngo)
Fixed bug in cursor keys (showed up in vi)
Version 1.6.4
Placed under the GNU General Public License
Fixed scroll region reset on exit
Fixed a comparison of unsigned char with EOF
Patched some security holes:
fixed buffer overflow in lock.c
Added "make install" target (/usr/local/bin)

----

What's planned?
Expand Down Expand Up @@ -115,6 +83,6 @@ originally conceived by Dave Ljung and created by yours truly.

Enjoy!

-Sam Lantinga (slouken@cs.ucdavis.edu)
-Sam Lantinga (slouken@devolution.com)


58 changes: 58 additions & 0 deletions BLURB
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@

This file was taken from the September 1995 edition of the Linux Gazette.

---

Running splitvt

Here's a great little program that I just ran across a couple days ago. I
recently had to reinstall Linux (as well as DOS, OS/2 Warp, Win 3.1...) after
deciding to upgrade to a 850MB second HD. I won't go into all the horrific
details, but it was a bit of a mess for a few days...

Anyway, during the installation, as I watched the Slackware installation
dialog boxes merrily flip by... one of the utility programs caught my eye.
So, I jotted down the name of the program, and after installation was done,
tried running the thing... splitvt.

This is a too-way-cool little program that'll let you run two shells in a
split screen fashion. "So what's so cool about that..." you ask, since you've
already told us that we've got 63 virtual terminals to choose from? Well,
you're right, except that it lets you run two programs and watch the output
from the same screen.

For example, if you read the manpage for it, it gives you a suggested
~/.splitvtrc run-command file that would fire up a split screen with two
login shells, and run the program top in the bottom half. That way, you'll
have a dynamic display of your current CPU and memory usage while you merrily
work away at some task in the top screen. If you've ever used the split
screen function in the VIM editor, you'll know what I mean.

I tried using it with a couple PPP login scripts I've been working on. I
have one script that does auto-redial to the local university's PPP comm
server (see last month's Linux Gazette for the file) and another one, which
I recently wrote, that hangs around waiting for the /var/run/ppp0.PID file
to appear, indicating a PPP connection had been established. Once it
finds it, it automatically updates the /etc/hosts file (since the school does
dynamic IP addressing), POP's my mail from the mail server and plunks it in
the /var/spool/mail/root file, and then starts periodically pinging the
gateway host to keep the connection up. Running it in the split screen
let's me see what's going on with both progs as they run.

Mucho cool.

The beauty of this program is that it's really simple to use and set up. The
man page is clearly written and gives an example rc file. You can also
configure it to start up running two programs automatically, but specifying

run -upper first_program
run -lower second_program

in the ~/.splitvtrc file. I'm sure that there are some fun things that can
be done with this.

We'll see...

---
Author: John M. Fisk ([email protected])

8 changes: 8 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
Version Notes:


Version 1.6.4
Placed under the GNU General Public License
Fixed scroll region reset on exit
Fixed a comparison of unsigned char with EOF
Patched some security holes:
fixed buffer overflow in lock.c
Added "make install" target (/usr/local/bin)

Version 1.6.3
Patched some security holes:
fixed sprintf overflow in parserc.c
Expand Down
Loading

0 comments on commit 44be8e5

Please sign in to comment.