gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-dev] 1.2.5 release - the countdown...


From: Michael
Subject: Re: [gcmd-dev] 1.2.5 release - the countdown...
Date: Thu, 28 Feb 2008 03:26:15 +0100
User-agent: claws-mail.org

Magnus,

What happens when you do 'ls' Shift Enter (w/o -hold) ?
What if you do SHift Enter without any command ?

I think the first click sends a HUP to the bash process.
Then xterm, by -hold option, still holds the window.
The next click/HUP will switch the -hold flag and make xterm terminate 
completely.

micha     4000  0.0  0.1 130528  3556 ?        Ss   03:15   0:00 xterm -hold -e 
bash
micha     4001  0.3  0.1 103840  4076 pts/3    Ss+  03:15   0:00  \_ bash


wmaker does it this way, too.

# kill -HUP 4001

produces the same as clicking the close button. At this stage, the bash process 
(4001) is no more visible in 'ps', and one click is enough to terminate the 
window.


With 

micha     4042  0.2  0.1 130532  3560 ?        Ss   03:20   0:00 xterm -e bash
micha     4043  1.4  0.1 103840  4072 pts/3    Ss+  03:20   0:00  \_ bash

a single

# kill -HUP 4043

terminates the window immediately.



 m°





reply via email to

[Prev in Thread] Current Thread [Next in Thread]