bash script (attached) is based on code here:

http://www.unix.com/shell-programming-scripting/96238-random-colour-xterm-alias.html#post302275247

script requires  xterm  &  bash


scaled video of bash script output/consequences here:

http://jwm-art.net/art/out-21-scaled.avi


the script generates a random colour and random dimensions (W x H) and
opens a terminal with these properties and passes the name of the script
to the terminal via the -e command. when the command passed to xterm via
the -e option finishes then the terminal exits.

the script recursively calls itself through "xterm -e $0" until (on my
system) eventually the system prevents any more terminals opening which
causes the last terminal to exit whih cascades down closing all of them.

Attachment: myterm
Description: Binary data

_______________________________________________
NetBehaviour mailing list
[email protected]
http://www.netbehaviour.org/mailman/listinfo/netbehaviour

Reply via email to