Article View: net.emacs
Article #2164GNU xterm command line fix (v18)
From: Daniel M. Frank
Date: Mon, 20 Oct 1986 17:58
Date: Mon, 20 Oct 1986 17:58
47 lines
1933 bytes
1933 bytes
The following diff appears to be necessary to allow the xterm package
to correctly parse arguments to command line switches such as -w. The
file in question is lisp/term/xterm.el:
*** xterm.el.00 Mon Oct 20 12:47:22 1986
--- xterm.el Mon Oct 20 12:47:57 1986
***************
*** 43,50 ****
--- 43,50 ----
;; This is run after the command args are parsed.
(defun x-handle-switch (switch)
!< (if (x-handle-switch-1 switch (car command-line-args))
!< (setq command-line-args (cdr command-line-args))))
(defun x-handle-switch-1 (switch arg)
(cond ((string= switch "-r")
---------------
;; This is run after the command args are parsed.
(defun x-handle-switch (switch)
!> (if (x-handle-switch-1 switch (car command-line-args-left))
!> (setq command-line-args-left (cdr command-line-args-left))))
(defun x-handle-switch-1 (switch arg)
(cond ((string= switch "-r")
-----------------------------------
The other problem I reported (establishing a connection to the server)
appears at this point to be related to some hostname lookup problems with
the X library.
------
Dan Frank
ARPA: dan%caseus@spool.wisc.edu ATT: (608) 255-0002 (home)
UUCP: ... uwvax!prairie!dan (608) 262-4196 (office)
SNAILMAIL: 1802 Keyes Ave.
Madison, WI 53711-2006
Technical Details
Message-ID:
<2835@rsch.WISC.EDU>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!rutgers!uwvax!caseus!danShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!rutgers!uwvax!caseus!dan From: dan@caseus.WISC.EDU (Daniel M. Frank) Newsgroups: net.emacs Subject: GNU xterm command line fix (v18) Message-ID: <2835@rsch.WISC.EDU> Date: Mon, 20-Oct-86 13:58:43 EDT Article-I.D.: rsch.2835 Posted: Mon Oct 20 13:58:43 1986 Date-Received: Tue, 21-Oct-86 23:32:17 EDT Sender: news@rsch.WISC.EDU Reply-To: dan@caseus.WISC.EDU (Daniel M. Frank) Organization: University of Wisconsin - Madison Lines: 47 Keywords: switch arguments v18.26