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



Ironically, the reason I chose to make xterm the default app for the X11 launcher was specifically so that there *would* be a user-visible result to running X11.app (aside from the icon, of course). We were worried that people would be accustomed to double-clicking on /Apps/ Utils/X11.app in Tiger and having an xterm pop up (via the system xinitrc), and that if that didn't happen with Leopard, they'd think it was "broken". Oh, how silly that seems now...

I am a little confused, though, as to why we are trying to find a way to preemptively launch the X server without starting a "real program". Is this to avoid the .xinitrc / .Xresources race condition?

As for cut and paste -- oh, the fun we've had with cut and paste. Cut and paste sucks in X11.app. Why?
1. Cut and paste kinda sucks in X11 in general, and this is a generally agreed-upon fact in the X community. Yes, it generally works, but it's unpredictable at best. There have been murmurings about trying to fix that across-the-board -- and I'm first in line when it comes to spearheading that -- but for whatever reason, it still hasn't happened.
2. About half of the different permutations of cut and paste between X11 and Aqua are "simple", in the sense that it's obvious what we want to accomplish. Many of the rest are open to debate.
3. Most of the cut and paste magic happens within closed-source code -- quartz-wm (hence the need for running 'quartz-wm --only-proxy). This is stupid. The source for those bits of code is now up here -- https://bugs.freedesktop.org/show_bug.cgi?id=13066 . Someone *please* help me find a way to get this into the server (or at least X11.app in general) so that we can together work on it.


On Nov 10, 2007, at 2:27 AM, Peter Collinson wrote:

Hmm I wonder if it makes sense to start xclipboard as the 'default' X11 app?

There was some discussion in this list a bit ago about the desirability of running it to 'help' cut and paste..

On 10 Nov 2007, at 00:43, Nathaniel Gray wrote:

Oops!  That should be app_to_run instead of app_to_launch.

-n8

On Nov 9, 2007 4:37 PM, Nathaniel Gray <email@hidden> wrote:
Just in case anybody else has the same question.

---------- Forwarded message ----------
you're free to launch X11.app by hand if you find the current approach
problematic. Change the initial xterm to xlsfonts if you don't like
having to close that window every time.

Can you explain how to do this? As far as I can tell, starting up /usr/X11/bin/xterm is compiled into /Applications/Utilities/X11.app/Contents/MacOS/X11

defaults write org.x.X11_launcher app_to_launch /usr/X11/bin/ xlsfonts


xlsclients might be an even better choice, since it doesn't hit the
filesystem or produce any output when you use it to launch the server.


Cheers,
-n8

--
-- Nathaniel Gray -- Caltech Computer Science ------>
-- Mojave Project -- http://mojave.cs.caltech.edu -->




--
-- Nathaniel Gray -- Caltech Computer Science ------>
-- Mojave Project -- http://mojave.cs.caltech.edu -->
_______________________________________________
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

_______________________________________________ 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

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: 
 >Fwd: Eliminating the xterm (From: "Nathaniel Gray" <email@hidden>)
 >Re: Eliminating the xterm (From: "Nathaniel Gray" <email@hidden>)
 >Re: Eliminating the xterm (From: Peter Collinson <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.