#12 Compile-time option to ditch the xterm

open
nobody
None
5
2006-12-11
2006-12-11
No

Stderr is a more appropriate destination for debug logs than a separate xterm. Why?

- It's trivial to redirect stderr to a file, pipe or xterm; code which launches an xterm and dumps logs there is not so flexible.
- In headless or batch-job environments, X11 is likely to be unavailable.
- stderr is The Unix Way, damnit!

It's in this spirit that the attached patch is offered. It adds --disable-debug-window as a compile-time option (default behavior, as much as I dislike it, is to leave the separate debug window in).

Tested on Linux. Has no effect on Windows. Probably ought to do the same thing (stdout for debug info) on MacOS X, but I haven't touched the MacOS code at all.

Discussion

  • La Monte H.P. Yarroll

    Logged In: YES
    user_id=70992
    Originator: NO

    I would like to endorse this patch. It is a Good Thing(TM).

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks