ANS1@gec-m.rutherford.ac.UK (ANSA Project) (12/02/87)
We are using CHAT/TCP/IP on 1186s and 1108s running Lyric to edit files with 'vi' on our HP-UX system. All is well if we use GACHA 10 as the CHAT.FONT but if we switch to TERMINAL or LETTER GOTHIC it gets the amount of whitespace for SPACES wrong, leaving half-eaten characters on the screen, although it does move the cursor the correct number of points. You can expect weirdness if you use a proportional-spaced font, but I can't see any reason why we get this problem with other fixed-width fonts. Has anyone seen/fixed this problem? David Oliver, ANSA Project
beeman@BOEING.COM (Roger Beeman) (12/02/87)
David, Chat, as you have observed, uses the SPACE character (0,040) to clear character cells. In Lyric, the font handling has changed such that when a strike for the font is built, "excess" whitespace on the right side of the character bitmap is truncated so that the width of the space provided by the font file is not necessarily reflected in the strike that is constructed. The strike is a horizontal concatenation of the bitmaps for the characters within a character set and is the source for the BITBLT's that display each character. Seperate metrics are maintained for the IMAGEWIDTH (width of the bits in the strike) and the YWIDTH (distance to move the cursor to position for the next character). The VTCHAT terminal emulator uses (CHARWIDTH (CHARCODE A)) as the width of the emulator's characters. Strikes are not rebuilt for fonts which are read in from files in the strike format. Thus this effect does not appear for GACHA 10 as you noted. I have submitted a module to LispUsers called ANSICHAT which has a workaround for this feature. Office Systems Technology, Boeing Military Airplane Company Roger L. Beeman beeman@boeing.com (206) 394-3506
ralph@lasso.UUCP.UUCP (12/05/87)
I've seen it also. Both more and emacs leave junk on the screen. I haven't tried other fonts. I use VTCHAT on top of TCPCHAT on my 1186 running Lyric. Ralph P. Sobek UUCP: mcvax!inria!lasso!ralph or ralph@lasso.UUCP Internet: lasso!ralph@{inria.inria.fr or uunet.UU.NET} ARPA: sobek@shadow.Berkeley.EDU (automatic forwarding) BITNET: SOBEK@FRMOP11