Artifact a91d191dd57784c194cc962581f3260aa91a59e7b649a76872a8d10c1b394936:
- File
psl-1983/3-1/windows/display-char.t
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1994) [annotate] [blame] [check-ins using] [more...]
- File
psl-1983/windows/display-char.t
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 1994) [annotate] [blame] [check-ins using]
NOTES ON THE DISPLAY CHARACTER DATATYPE Cris Perdue 10/11/82 File: PW:DISPLAY-CHAR.T ----------------------------------- This module provides a set of macros for manipulating "display-character" objects. These objects are represented to LISP as integers, but are dealt with as a separate type of object. (DC-MAKE-ENHANCEMENT-MASK KEYWORD . . . ) Macro This macro generates a specific enhancement mask object. The keywords are unevaluated identifiers. At present, the possible keywords are INVERSE-VIDEO, BLINK, UNDERLINE, and INTENSIFY, which should be meaningful with respect to HP terminals. (DC-MAKE-FONT-MASK FONT-NUMBER) Macro This makes a font mask object, given a font number. Font numbers have no definition yet, because we have no fonts. (DISPLAY-CHARACTER-CONS ENHANCEMENT-MASK FONT-MASK CHAR-CODE) Macro This macro generates a display character object, given an enhancement mask, a font mask, and a character code. The mask objects' purpose in life is to be used as arguments to this function and to be compared against each other. (DC-ENHANCEMENT-MASK DC) Macro Extracts the enhancement mask from a display character. (DC-ENHANCEMENT-INDEX DC) Macro There are a finite number of different combinations of display enhancements that are possible for a display-character. This macro returns an integer in the range from 0 that uniquely identifies the combination of enhancements in effect for this display-character. There should probably be a symbolic constant giving the maximum value for the identifying integer. With N different enhancements, the value turns out to be 2 raised to the Nth power, minus 1. (DC-FONT-MASK DC) Macro Extracts the font mask from a display character. (DC-FONT-NUMBER DC) Macro Obtains the font number from a display character. (DC-CHARACTER-CODE DC) Macro Obtains the character code from a display character object.