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: 2.1.1 and xterm



> Not to pick nits, but that's not precisely correct -- 'DISPLAY=:0' is  
> short hand for "the unix socket for display 0, which is defined by  
> Xtrans to be /tmp/.X11-unix/X0 on most platforms".  'DISPLAY=localhost: 
> 0' is "port 6000 on localhost".

Actually, I don't think either of us was nit-pickingly correct.  ":0"
is really shorthand for whatever transport to the local machine's X11
server that Xlib thinks is the best one (usually the fastest one, and
on Unix platforms, as you say, usually a unix socket).  So the Apple
Xlib could do whatever's best for the platform when confronted with
that situation.

It would sure be nice if Apple's X11 server did something unsurprising
when the user set the DISPLAY environment variable to ":0".

Bill
 _______________________________________________
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: 2.1.1 and xterm (From: "John Koren" <email@hidden>)
 >Re: 2.1.1 and xterm (From: Merle Reinhart <email@hidden>)
 >Re: 2.1.1 and xterm (From: "John Koren" <email@hidden>)
 >Re: 2.1.1 and xterm (From: William Mortensen <email@hidden>)
 >Re: 2.1.1 and xterm (From: Ben Byer <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.