HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Hardware Newsgroups > Hardware

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-04-2007, 02:27 PM
Charles T Smith
 
Posts: n/a
Default how to exit dbus-monitor

Does anyone know how to get out of dbus-monitor, and why is control-c
blocked?
Reply With Quote
Sponsored Links
  #2  
Old 11-04-2007, 04:47 PM
Jan Kandziora
 
Posts: n/a
Default Re: how to exit dbus-monitor

Charles T Smith schrieb:
>
> Does anyone know how to get out of dbus-monitor, and why is control-c
> blocked?
>

Don't know why, but try Ctrl+z, then "kill %1". Ctrl+z usually sends SIGSTOP
to the process controlling the terminal and cannot be ignored.

Kind regards

Jan


Reply With Quote
  #3  
Old 11-05-2007, 07:42 AM
Charles T Smith
 
Posts: n/a
Default Re: how to exit dbus-monitor

On Sun, 04 Nov 2007 17:47:01 +0100, Jan Kandziora wrote:

> Charles T Smith schrieb:
>>
>> Does anyone know how to get out of dbus-monitor, and why is control-c
>> blocked?
>>

> Don't know why, but try Ctrl+z, then "kill %1". Ctrl+z usually sends
> SIGSTOP to the process controlling the terminal and cannot be ignored.
>
> Kind regards
>
> Jan



Well, ctrl-\ works, too (generating a core-dump). But I was just
wondering what the canonical way to exit was, since ctrl-c was blocked.
There must be some logic there somewhere.

I couldn't find any documentation on it.

Reply With Quote
  #4  
Old 11-07-2007, 12:42 AM
fjblurt@yahoo.com
 
Posts: n/a
Default Re: how to exit dbus-monitor

On Nov 4, 8:47 am, Jan Kandziora <j...@gmx.de> wrote:
> Charles T Smith schrieb:
>
> > Does anyone know how to get out of dbus-monitor, and why is control-c
> > blocked?

>
> Don't know why, but try Ctrl+z, then "kill %1". Ctrl+z usually sends SIGSTOP
> to the process controlling the terminal and cannot be ignored.


Nitpick: Actually, it's SIGTSTP, which also stops the process by
default but can be handled or ignored. Also, if the process puts the
terminal in raw mode none of these keys will work, and you have to
figure out something else.

In the case of dbus-monitor, however, it looks like control-c is the
accepted way to exit. It handles SIGINT and sets a flag that causes
it to exit when it returns to the main loop. There is probably some
other bug which keeps it from getting back there. Control-Z does work
in this case since SIGTSTP is not handled.

Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exit Windows and Wav file species8350 Windows Vista 2 09-27-2007 12:12 PM
Can't exit Task Manager Roo_2 Windows Vista 10 08-20-2007 05:56 AM
Programs exit when screensaver starts davidn Windows XP 0 04-30-2007 06:00 PM
Cannot Exit Design Mode Exit12 Microsoft Office 0 03-28-2007 07:48 AM
XP remoteaccdess exit code 127 Russ Farmer XP Networking 0 05-18-2004 05:50 AM


All times are GMT. The time now is 08:49 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger