Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eliminating the xterm




On Nov 10, 2007, at 9:12 AM, Jack Howarth wrote:
Ben,
One example where the xterm starting up is undesired behavior is in the X11 build of pymol. Currently the
pymol package built as pymol-py25 under fink exhibits the following behavior. If you start 'pymol' from the
Terminal application, the X11 application starts up and the initial pymol window appears without an
associated xterm. The output issued on startup of pymol properly appears in the Terminal window where
pymol was started. However when the tkinter gui window with pymol's menus appears, an xterm is started first.

To be clear here, there are exactly three ways xterm can be launched as a side effect of some other process:


1. Execute /Applications/Utilities/X11.app, the "X11_launcher" -- this is the only case I was describing.
2. You have a ~/.xinitrc that runs xterm, or you modified the system xinitirc (/usr/X11/lib/X11/xinit/xinitrc) to add back in the call to xterm that I removed to prevent this from happening.
3. You run some program that tries to do something clever by either executing X11.app for you (see #1) or executing xterm itself.


It sounds like #3 is the culprit with pymol / tkinter.
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >Re: Eliminating the xterm (From: Jack Howarth <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.