Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Aghhh! Keeping shell window open after menu launch, Going stark raving mad< Next Oldest | Next Newest >
WoofyDugfock Offline





Group: Members
Posts: 146
Joined: Sep. 2004
Posted: Oct. 13 2004,12:33 QUOTE

Thanks Clacker - I'll try these & read up on your PS1 line to work out how that works. I'll give sleep (as in the command) a go also.

As for my burble.sh above, I worked out that a while loop is not needed at all (all it did was stop exit from working). Burble only needs two lines:

#!/bin/bash
/usr/bin/wipe -h
/bin/bash/

I had an epiphany while I should have been sleeping: it works because burble.sh is the child process of parent rxvt & burble can't finish while the bash prompt it calls is waiting. While burble can't close neither can rxvt. So the window stays open.

As you may have gathered I'm new to bash scripting (this is my first). DSL might turn me into a coder yet.

Still puzzled as to why 'wait" wouldn't work. Oh well I suppose as I learn more scripting it will become clear.


--------------
"We don't need no stinkin' Windows"

http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
Back to top
Profile PM 
5 replies since Oct. 11 2004,13:04 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Aghhh! Keeping shell window open after menu launch

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code