xterm disappearing

xterm disappearing

Post by James Youn » Sun, 31 Dec 1899 09:00:00



I realize this is normal, but when I "xterm -e ls", the xterm spawns, executes
ls, then exits.  How is the best way to have the xterm spawn, execute ls, and
return to a prompt (remain available for use).

Thanks in advance!
Jim

======================
James Young
james at young dot net

 
 
 

xterm disappearing

Post by James Youn » Sun, 31 Dec 1899 09:00:00


Ok - I found an answer that works.. May not be the best, but here it is..

xterm -e bash -c "ls ; exec bash"

That gets the job done.


> I realize this is normal, but when I "xterm -e ls", the xterm spawns, executes
> ls, then exits.  How is the best way to have the xterm spawn, execute ls, and
> return to a prompt (remain available for use).
> Thanks in advance!
> Jim
> ======================
> James Young
> james at young dot net


 
 
 

xterm disappearing

Post by Thomas Dicke » Sun, 31 Dec 1899 09:00:00



> I realize this is normal, but when I "xterm -e ls", the xterm spawns, executes
> ls, then exits.  How is the best way to have the xterm spawn, execute ls, and
> return to a prompt (remain available for use).

recent (since about a year) versions of XFree86 xterm implement a -hold option

The XFree86 xterm supports ANSI color and VT220 emulation
There's an faq at
        http://dickey.his.com/xterm/xterm.faq.html
        ftp://dickey.his.com/xterm

--

http://dickey.his.com
ftp://dickey.his.com

 
 
 

xterm disappearing

Post by Bill Hudso » Sun, 31 Dec 1899 09:00:00



> I realize this is normal, but when I "xterm -e ls", the xterm spawns, executes
> ls, then exits.  How is the best way to have the xterm spawn, execute ls, and
> return to a prompt (remain available for use).

I use 'expect' and call the expect script with the 'xterm -e ...'
command.  At the
end of the expect script is an 'interact' command which leaves me at an
interactive prompt.

--
Bill Hudson; Information Systems Manager; Robert Mann Packaging

 
 
 

1. xterm disappearing

While scolling back through a window, I have on occasion had
my window disappear. Using ps shows that it has been killed off.
Have I filled my buffer and it gets pissed off?
Can I fix this problem by changing my buffer size, and if yes,
how do I do this.
Any suggestions?

Thanks

Chris Mitchell

2. Extending Authentication Parameters

3. xterm disappearing under Enlightenment

4. Menu Setup

5. disappearing xterm windows

6. Can i connect to MSN through Linux?

7. Xterms, SIGWINCH and the disappearing jobs

8. Grammar cheker ?

9. disappearing xterm

10. pasting from xterm to Netscape kills xterm

11. How do I autoset "TERM=xterm" for xterms?

12. xterm, run a process, keep xterm open

13. xterm: how to open a new xterm and run telnet