On Sun, 2003-06-22 at 16:29, Wolfgang Bornath wrote:
> ** James Sparenberg (Montag, 23. Juni 2003 00:51)
> > Has anyone else noticed this... In 9.1 no matter what wm you use if
> > you do
> >
> > xterm -e pwd (or any other command)
> 
> Really? I just did an Alt-F2 (opens a small command line in KDE) and 
> punched in 'xterm -e top' and pushed the GO button. xterm opened with 
> top running. No crash or any other unnormal behaviour.
> 
> wobo

I found it.  They improved things with 4.3 and the others followed suite
(since they all build off of xterm.)  

  -e switch will now open the term window... and then automatically
close it when the program finishes execution.  Which is why with top it
stays open and with pwd it flashes....

xterm -hold -e pwd opens the window, and holds it open till you use the
X or type exit.  Advantage I've found is I can now put 

xterm -hold -e echo " I've reached point x" 

or some such nonsense in a shell program and it will stop... wait for me
to close the window before proceeding.  Makes it handy for stepping
through and finding out where the script blew up.  

James



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to