Ar an ceathrú lá is fiche de mí Iúil, scríobh Hamish Macdonald:
>
> Ar an tríú lá is fiche de mí Iúil, scríobh Hamish Macdonald:
> > [...] Is
> > XEmacs performing its own interpretation of the DISPLAY environment
> variable
> > (that would be a bad idea).
>
> On Sat, Jul 24, 2010 at 6:06 AM, Aidan Kehoe <kehoea(a)parhasard.net> wrote:
>
>>
>> Hmm? The format of DISPLAY has been stable for decades.
This is so, but why would XEmacs need to interpret the value of the DISPLAY
environment variable? That string is meant to be passed to the X libraries
for communication with the server, not interpreted by application programs
(regardless of the fact that historically programs have done that, it is a
bad idea).
What possible need could XEmacs have to do that?
Now I look into it, XEmacs does leave the parsing of the DISPLAY variable to
the X11 libraries. Still, a lot of the point of X11 is that programs written
with one version of the libraries can display on servers written with
another version of the libraries, even on another architecture; randomly
changing the format of the string makes that harder.
(In practice, people should be tunnelling the X11 connection over SSH, where
this won’t matter, as far as I can see; SSH passes the DISPLAY string to
xauth(1), it doesn’t do the parsing itself.)
--
“Apart from the nine-banded armadillo, man is the only natural host of
Mycobacterium leprae, although it can be grown in the footpads of mice.”
-- Kumar & Clark, Clinical Medicine, summarising improbable leprosy research
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/mailman/listinfo/xemacs-beta