Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!elroy.jpl.nasa.gov!ames!sun-barr!lll-winken!gauss.llnl.gov!casey From: casey@gauss.llnl.gov (Casey Leedom) Newsgroups: comp.windows.x Subject: Why does xterm now report width-1 and height-1?? Message-ID: <44635@lll-winken.LLNL.GOV> Date: 16 Jan 90 09:38:39 GMT Sender: usenet@lll-winken.LLNL.GOV Reply-To: casey@gauss.llnl.gov (Casey Leedom) Organization: Lawrence Livermore National Laboratory Lines: 21 In lines 2124 and 2125 in the R4 xterm/charproc.c:VTRealize() we see the lines: screen->max_col = (width - 1); /* units in character cells */ screen->max_row = (height - 1); /* units in character cells */ The corresponding lines (2052 and 2053) in the R4 xterm/charproc.c:VTRealize() we see the lines: screen->max_col = width; screen->max_row = height; I believe that this difference is responsible for xplaces reporting the wrong width and height geometry for xterms (off by one less than they should be). Is this a bug? A feature? What? I'm too stupid with regard to X to know the difference. Casey