[net.emacs] GNU xterm command line fix

dan@caseus.WISC.EDU (Daniel M. Frank) (10/20/86)

   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