Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!EXPO.LCS.MIT.EDU!jim From: jim@EXPO.LCS.MIT.EDU (Jim Fulton) Newsgroups: comp.windows.x Subject: Re: xterm problems on V11R2 Message-ID: <8804042040.AA03085@EXPO.LCS.MIT.EDU> Date: 4 Apr 88 20:40:45 GMT References: <99@dgcad.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 52 > I have two problems with xterm going from X10 to XV11R2: > i. The -ls option doesn't execute my .login file. > ii. The titlebar is gone. > > Any solutions?? Also, could someone explain the change in the format > of the .Xdefaults file. The -ls option is a bug (I've included a fix below). Titlebars went away in R1; you'll have to run a window manager that provides them (try "wm" or "cwm" from the MIT distribution, or one of the various ones that are being developed by various vendors). I'll send you the recently posted tutorial on using the Resource Manager separately. Jim Fulton X Consortium MIT Laboratory for Computer Science (617) 253-1428 jim@EXPO.LCS.MIT.EDU The following context diff is for clients/xterm/main.c: *** /tmp/,RCSt1a03021 Mon Apr 4 16:36:33 1988 --- /tmp/,RCSt2a03021 Mon Apr 4 16:36:35 1988 *************** *** 141,146 **** --- 141,147 ---- static char *get_ty; static int inhibit; static int log_on; + static int login_shell; static char passedPty[2]; /* name if pty if slave */ static int loginpty; #ifdef TIOCCONS *************** *** 1258,1264 **** NTTYDISC : 0; ioctl(0, TIOCSETD, (char *)&ldisc); #endif /* !SYSV */ ! execlp (ptr, term->misc.login_shell ? shname_minus : shname, 0); fprintf (stderr, "%s: Could not exec %s!\n", xterm_name, ptr); sleep(5); exit(ERROR_EXEC); --- 1259,1265 ---- NTTYDISC : 0; ioctl(0, TIOCSETD, (char *)&ldisc); #endif /* !SYSV */ ! execlp (ptr, login_shell ? shname_minus : shname, 0); fprintf (stderr, "%s: Could not exec %s!\n", xterm_name, ptr); sleep(5); exit(ERROR_EXEC);