Page 1 of 1

xterm closes "automatically" after executing a command

Posted: 9. Apr 2016, 11:59
by jsfarinet
Hello, i've the following problem:

When i call

Code: Select all

xterm -geometry 100x40 -title Inxi -e inxi -F

all is executed correctly, but after that the xterm windows closes automatically. This does not happen for example with the same identical command in tinycorelinux (on a netbook). I also tried to quote inxi -F and i played around with the & but to no extent (1)

Also:

Code: Select all

xterm -geometry 132x40 -title Htop -e htop
is executed correctly in Salix and the terminal window with htop in it stays.

I checked the options of xterm and inxi but i do not see an option to stop the process (of closing the window).

Thanks a lot in advance for any pointer!

-------
1) This is - in my environment - a key definition for a fluxbox shortcut.

Re: xterm closes "automatically" after executing a command

Posted: 9. Apr 2016, 14:11
by westms
jsfarinet wrote:Hello, i've the following problem:

When i call

Code: Select all

xterm -geometry 100x40 -title Inxi -e inxi -F
[...]
Hello,
you might use

Code: Select all

xterm -hold -geometry 100x40 -title Inxi -e inxi -F
instead.

Re: xterm closes "automatically" after executing a command

Posted: 10. Apr 2016, 00:47
by jsfarinet
Thanks westms. That works so far - although the inxi process within the terminal window now is frozen. I'm unable to do anything else in it. But, effectively, the window with the infos in it, now stays! :)

It's curious, that in other linux it works without the "-hold" ...