From christian at defun.dk Tue Feb 1 19:57:30 2005 From: christian at defun.dk (Christian Lynbech) Date: Tue, 01 Feb 2005 20:57:30 +0100 Subject: [eclipse-devel] Patch In-Reply-To: <41267511.9050906@labri.fr> (Iban Hatchondo's message of "Sat, 21 Aug 2004 00:02:57 +0200") References: <87hdqxej2v.fsf@no-rom-basic.office.uk.clara.net> <41267511.9050906@labri.fr> Message-ID: <874qgwhx3p.fsf_-_@chateau.defun.dk> As far as I can tell the following is needed as I know of no situation where xlib:open-display will accept a protocol argument of :internet, at least not with CMUCL 19a. I am a bit unsure when the problem actually hits. Running eclipse on a x86 linux box against the local display or a VNC session does not provoke the error. Running eclipse on a sparc solaris against a VNC session does provoke the error. Index: lib/clx-ext/clx-extensions.lisp =================================================================== RCS file: /project/eclipse/cvsroot/eclipse/lib/clx-ext/clx-extensions.lisp,v retrieving revision 1.10 diff -u -r1.10 clx-extensions.lisp --- lib/clx-ext/clx-extensions.lisp 15 Jan 2005 12:27:00 -0000 1.10 +++ lib/clx-ext/clx-extensions.lisp 1 Feb 2005 19:40:27 -0000 @@ -133,7 +133,7 @@ (if (or (equal host-name "unix") (equal host-name "")) (multiple-value-setq (auth-name auth-data) (xlib::get-best-authorization (machine-instance) dpy-num protocol)) - (setf protocol :internet)) + (setf protocol :tcp)) (let ((display (xlib:open-display host-name :display dpy-num :protocol protocol ------------------------+----------------------------------------------------- Christian Lynbech | christian #\@ defun #\. dk ------------------------+----------------------------------------------------- Hit the philistines three times over the head with the Elisp reference manual. - petonic at hal.com (Michael A. Petonic) From hatchond at yahoo.fr Tue Feb 1 22:12:21 2005 From: hatchond at yahoo.fr (Iban HATCHONDO) Date: Tue, 1 Feb 2005 23:12:21 +0100 (CET) Subject: [eclipse-devel] Patch In-Reply-To: <874qgwhx3p.fsf_-_@chateau.defun.dk> Message-ID: <20050201221221.78765.qmail@web25701.mail.ukl.yahoo.com> --- Christian Lynbech a ?crit : > As far as I can tell the following is needed as I > know of no situation > where xlib:open-display will accept a protocol > argument of :internet, > at least not with CMUCL 19a. > > I am a bit unsure when the problem actually hits. > Running eclipse on a > x86 linux box against the local display or a VNC > session does not > provoke the error. Running eclipse on a sparc > solaris against a VNC > session does provoke the error. I noticed this too with cmucl-19a while running eclipse over an ssh connection from a x86 linux box to a cygwin display on an X86 MS windows machine. Could somebody else confirm for other implementation (sbcl for instance) ? Otherwise I'll apply the patch as given by Christian. Iban. D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr?ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/