[9351] in Athena Bugs

home help back first fref pref prev next nref lref last post

xterm has an extra row of pixels, positions wrong

daemon@ATHENA.MIT.EDU (Joe Harrington)
Thu May 21 15:12:54 1992

Date: Thu, 21 May 92 15:12:24 -0400
From: jh@oobleck.mit.edu (Joe Harrington)
To: bugs@MIT.EDU
Cc: jh@MIT.EDU
Reply-To: jh@MIT.EDU

/afs/athena.mit.edu/system/pmax_ul4/srvd.73/usr/athena/bin/xterm

As it currently exists, this version of xterm puts an extra row of
pixels between the left edge and the first character of text on each
line.  I am running it on my own (non-Athena) 3100, accessing through
atalanta, and if I use mixed Ultrix/Athena windows, the Athena ones do
not line up.  An Ultrix 4.2 release xterm produces a window one pixel
narrower, and lines it up one pixel to the right with my current
resources (below).  Thus, -geometry 80x24-0-0 puts the Ultrix window
completely onscreen flush with the lower right corner, and the Athena
window flush with the bottom, but with the border off the right edge
of the screen by one pixel.

(I discovered this accidentally during a path experiment...I wouldn't
normally use mixed windows.  I don't have a personal stake in your
fixing this problem, but thought you might like to know about it.)

--jh--
! In order to cause changes to this file to take effect
! before the next login, you must execute the command
! xrdb -load ~/.Xresources (or xrdb -load <filename>).
!
! X system wide defaults
!
StringConversionWarnings:	on
!
! Xtoolkit resources
!
!
! always
!
*background:			black
*foreground:			white
*borderColor:			white
*pointerColor:			white
*cursorColor:			white
*BorderWidth:			1
!
! Xsession Manager
!
XSessionManager*initializeDPS:	true
!
! tetris
!
tetris*interval:		300
tetris*flashInterval:		50000
tetris*cellForeground:		white
tetris*cellBackground:		black
tetris*levelUpLines:		10
tetris*decreaseTime:		10
tetris*singlEntry:		True
!
! xclock
!
xclock*width:			124
xclock*height:			124
xclock*update:			1
xclock*foreground:		white
xclock*background:		black
xclock*hands:			black
xclock*highlight:		white
xclock*analog:			true
xclock*chime:			false
xclock*padding:			8
xclock*font:			fixed
xclock*reverseVideo:		off
#ifdef vax
xclock*geometry:		=+495+0
#endif
#ifdef rt
xclock*geometry:		=+500+0
#endif
!
! emacs
!
emacs*bodyfont:			fixed
emacs*reverseVideo:		off
emacs*bitMapIcon:		false
emacs*borderWidth:		1
emacs*windowGeometry:		=80x66+0+0
emacs*geometry:			=80x66+0+0
#ifdef COLOR
emacs*foreground:		white
emacs*background:		black
emacs*border:			white
emacs*cursor:			white
emacs*mouse:			blue2
#endif COLOR
!
! xterm generic -- redo
!
XTerm*eightBitInput:		false
XTerm*pointerColor:		white
XTerm*pointerColorBackground:	black
XTerm*name:			xt
XTerm*iconGeometry:		-528-546
XTerm*title:			xt
XTerm*font:			fixed
XTerm*boldFont:			fixed
XTerm*c132:			false
/*
XTerm*charClass:		
*/
XTerm*curses:			false
XTerm*cursorColor:		white
/* this one crashes tek mode */
XTerm*vt100.geometry:		=80x24
XTerm*tekGeometry:		=80x24
XTerm*internalBorder:		2
XTerm*jumpScroll:		true
XTerm*logFile:			xt.XXXXX
XTerm*logging:			false
XTerm*logInhibit:		false
XTerm*loginShell:		false
XTerm*marginBell:		false
XTerm*multiScroll:		false
XTerm*nMarginBell:		8
! XTerm*pointerColor:		white
XTerm*pointerShape:		xterm
XTerm*reverseVideo:		false
!XTerm*utmpInhibit:		true
XTerm*reverseWrap:		true
XTerm*saveLines:		1000
XTerm*scrollBar:		true
XTerm*scrollTtyOutput:		false
XTerm*scrollKey:		false
XTerm*signalInhibit:		false
XTerm*tekInhibit:		false
XTerm*tekStartup:		false
XTerm*visualBell:		false
/* tek emulation width and height, in pixels
XTerm*width:		
XTerm*height:		
*/
XTerm*menuBorder:		1
XTerm*menuFont:			fixed
XTerm*menuPad:			1
XTerm*thickness:		10
!
! xt xterm
!
xt*name:			xt
xt*iconGeometry:		-528-546
xt*title:			xt
xt*vt100.geometry:		
xt*tekGeometry:			
xt*logFile:			xt.XXXXX
!
! xtz xterm for zwgc -ttymode
!
xtz*name:			xtz
xtz*iconGeometry:		-528-546
xtz*title:			xtz
xtz*vt100.geometry:		80x10-1+0
xtz*tekGeometry:		
xtz*logFile:			xtz.XXXXX
!
! rxt xterm for rlogin
!
rxt*name:			rxt
rxt*iconGeometry:		-528-546
rxt*title:			
rxt*vt100.geometry:		
rxt*tekGeometry:		
rxt*logFile:			rxt.XXXXX
!
! login xterm
!
login*name:			login
login*iconGeometry:		-528-546
login*title:			login
login*vt100.geometry:		-0-0
login*tekGeometry:		
login*utmpInhibit:		false
login*logFile:			xt.login.XXXXX
!
! xterm1
!
xt1*name:			xt1
xt1*iconGeometry:		-528-546
xt1*title:			xt1
xt1*vt100.geometry:		-0+0
xt1*tekGeometry:		
xt1*logFile:			xt1.XXXXX
!
! xterm2
!
xt2*name:			xt2
xt2*iconGeometry:		-528-546
xt2*title:			xt2
xt2*vt100.geometry:		-0+317
xt2*tekGeometry:		
xt2*logFile:			xt2.XXXXX
!
! xterm3
!
xt3*name:			xt3
xt3*iconGeometry:		-528-546
xt3*title:			xt3
xt3*vt100.geometry:		+0+0
xt3*tekGeometry:		
xt3*logFile:			xt3.XXXXX
!
! xterm4
!
xt4*name:			xt4
xt4*iconGeometry:		-528-546
xt4*title:			xt4
xt4*vt100.geometry:		+0+317
xt4*tekGeometry:		
xt4*logFile:			xt4.XXXXX
!
! xterm5
!
xt5*name:			xt5
xt5*iconGeometry:		-528-546
xt5*title:			xt5
xt5*vt100.geometry:		+0-0
xt5*tekGeometry:		
xt5*logFile:			xt5.XXXXX
!
! xload
!
xload*width:			180
xload*height:			124
xload*update:			5
xload*scale:			1
xload*minScale:			1
xload*foreground:		white
xload*geometry:			=-0+0
/*
xload*label:			
*/
xload*font:			fixed
xload*reverseVideo:		false
!
! zwgc defaults
!
zwgc*reverseStack:		true
zwgc*useBackground:		off
zwgc*textUpdate:		on
zwgc*nPlanes:			1
zwgc*cursorCode:		34
zwgc*foreground:		white
zwgc*Foreground:		white
zwgc*background:		black
zwgc*Background:		black
zwgc*borderColor:		white
zwgc*BorderColor:		white
zwgc*pointerColor:		white
zwgc*reverseVideo:		true
zwgc*ReverseVideo:		true
zwgc*borderWidth:		1
zwgc*BorderWidth:		1
zwgc*geometry:			-0+0
zwgc*Geometry:			-0+0
zwgc*resetSaver:		true
zwgc*name:			Zwgc
zwgc*iconName:			Zgram
zwgc*volume:			0
zwgc*interline:			1
zwgc*debugBack:			false
zwgc*bold:			helvetica-bold12
zwgc*italic:			helvetica-oblique12
zwgc*normal:			helvetica-medium12
zwgc*font0:			helvetica-medium12
zwgc*font1:			helvetica-medium12
zwgc*font2:			helvetica-medium12
zwgc*font3:			helvetica-medium12
zwgc*font4:			helvetica-medium12
zwgc*font5:			helvetica-medium12
zwgc*font6:			helvetica-medium12
zwgc*font7:			helvetica-medium12
zwgc*font8:			helvetica-medium12
zwgc*font9:			helvetica-medium12
!
! xcalc defaults
!
xcalc*Foreground:		Gold
xcalc*Background:		Black
xcalc*NKeyFore:			White 
xcalc*NKeyBack:			Black
xcalc*OKeyFore:			Black
xcalc*OKeyBack:			#ff9700
xcalc*FKeyFore:			LightSteelBlue
xcalc*FKeyBack:			#682924
xcalc*DispFore:			Yellow 
xcalc*DispBack:			#777 
xcalc*IconFore:			#ff9700
xcalc*IconBack:			Black
!
! bitmap defaults
!
bitmap*BodyFont:		fixed
bitmap*Background:		#000080
bitmap*Border:			yellow
bitmap*Foreground:		yellow
bitmap*Cursor:			#00acff
bitmap*Highlight:		#00acff
bitmap*Mouse:			#00acff
!
! xdvi defaults
!
XDvi*Margin:			1.5
XDvi*geometry:			596x862-0+0
XDvi.expert:			true
!
! End of ~/.Xresources
!

home help back first fref pref prev next nref lref last post