Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!there.austin.ibm.com!ojohnbob From: ojohnbob@there.austin.ibm.com Newsgroups: comp.windows.x Subject: Re: Xterm font/character set question Summary: it is supposed to do that Message-ID: <7897@awdprime.UUCP> Date: 24 May 91 00:13:41 GMT References: <9105231045.AA26084@cas.org> Sender: news@awdprime.UUCP Organization: IBM AWD, Austin Lines: 39 In article <9105231045.AA26084@cas.org> lwv27@CAS.BITNET (Larry W. Virden ext. 2487) writes: >I am trying to figure out xterm's font handling. In the various >docs that I have, there is a description of a series of escape >sequences which supposedly switch between various character sets >called G0-G3 . Are these supposed to correspond to font 1-4 ? nope > >When I run the following script (note that one line is changed from >the literal character 'escape' to a '^[' for mail purposes...) >I do not see what I expect - which is the current screen changing to >the various fonts. Instead, when Esc(0 is issued the terminal >goes into a line drawing mode of the current window font. )0, *0 and >+0 as well as all other sequences in the remaining >of the script go to the current alpha mode font. > >... >Anyways, anyone know what the G0-G4 stuff is SUPPOSED to do? >... One of those escape sequences is supposed to go to line drawing mode and one of them changes the '#' to a UK pound sign. If you have the source to xterm look at dotext() in charproc.c. ESC ( A = United Kingdom set, ESC ( B = ASCII, ESC ( 0 = special graphics. -john john harvey johnbob@innerdoor.austin.ibm.com @cs.utexas.edu:ibmchs!there.austin.ibm.com!johnbob uunet!cs.utexas.edu!ibmaus!auschs!there.austin.ibm.com!johnbob I don't represent anyone. I don't speak for anyone. This message has not been approved by U.S., Israeli, or Iraqi censors. HOW COME YOU THINK SOMEONE IS YELLING AT YOU IF THEY USE ALL UPPER CASE -- john harvey johnbob@innerdoor.austin.ibm.com johnbob@there.austin.ibm.com @cs.utexas.edu:ibmchs!there.austin.ibm.com!johnbob