From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] color of window border From: mirtchov@cpsc.ucalgary.ca In-Reply-To: <2324ef413663ec175a9c6128abfc5499@uni-bielefeld.de> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Tue, 30 Sep 2003 09:30:52 -0600 Topicbox-Message-UUID: 583506ec-eacc-11e9-9e20-41e7f4b1d025 > > But how is it possible in rio to create a window exactly as large as the > screen (without modifying the source)? Also, for a screensaver, the mouse > has to be hidden (or disabled if the screen is to be locked). > unless you're in a resized drawterm you can do: % fn fullscr {echo 0 0 \ `{hoc -e `{echo $vgasize | sed 's/x/ /g' | awk '{print $1}'}^-^1} \ `{hoc -e `{echo $vgasize | sed 's/x/ /g' | awk '{print $2}'}^-^1} \ } % window -r `{fullscr} /bin/lock 'some screensaver name' assuming lock will lock the screen and run the graphical program in it. it's on the xscr page (together with many changes and additions) http://pages.cpsc.ucalgary.ca/~mirtchov/p9/xscr/ i'll probably substitute the images for links to images -- it gets too graphics-heavy now...