[comp.windows.x] X.V11R3 xterm "=" for geometry spec.

raj@GLACIER.ICS.UCI.EDU (11/04/88)

I realize that this is "blasphemy" since under X11 you're supposed to 
specify geometry spec's to all programs using "-geometry", but let me explain
the situation.  I want to try out X.V11R3 and gradually change everything
over.  So I tried running only the R3 server (with the old R2 xterm) and found
that the cursor moves from one place to another when the mouse leaves the
window.  This means that it leaves remains in the new place when it moves back
upon the mouse re-entering the window.  I also found that the R3 xterm works
correctly under both the R3 AND the R2 server!  Thus I would like to simply
install the R3 xterm, but I can't because the R2 xinit starts it up using
simply "=80x24" instead of "-geometry 80x24".  The R3 xterm doesn't understand
this type of syntax whereas the R2 xterm did.  Thus, for backward compatibility,
I need the old style syntax.  I simply copied the appropriate line from the R2
xterm and it worked just fine.

I would suggest you don't install this fix if you're just now changing over
to X11, but if you want to gradually change over it may be a good idea.

*** bk_main.c	Wed Nov  2 12:23:39 1988
--- main.c	Thu Nov  3 14:40:20 1988
***************
*** 337,342 ****
--- 337,343 ----
     standard XtInitialize options now */
  {"%",		"*tekGeometry",	XrmoptionStickyArg,	(caddr_t) NULL},
  {"#",		".iconGeometry",XrmoptionStickyArg,	(caddr_t) NULL},
+ {"=",		"*vt100.geometry",XrmoptionStickyArg,	(caddr_t) NULL},
  {"-T",		"*title",	XrmoptionSepArg,	(caddr_t) NULL},
  {"-n",		"*iconName",	XrmoptionSepArg,	(caddr_t) NULL},
  {"-r",		"*reverseVideo",XrmoptionNoArg,		(caddr_t) "on"},