Expand description
Character set conversions.
Unicode to and from Lincoln Writer characters. No support for colour shifting. Limited support for overstrke characters (such as the LW circle (0o73 upper case) overstruck with logical or (0o22 lower case); these are currently supported only as Unicode combining characters.
The Xerox printer uses a different character set but this code doesn’t currently include a mapping for it.
Controlling documentation:
- Table 7-6 in the User Handbook describes the Lincoln Writer codes.
- Table 7-5 in the User Handbook describes the character codes for the Xerox printer. This code doesn’t yet implement this mapping.
- The Lincoln Keyboard - a typewriter keyboard designed for computers imput flexibility. A. Vanderburgh. Communications of the ACM, Volume 1, Issue 7, July 1958. describes the Lincoln Writer keyboard and the fact that some characters do not advance the print carriage.
- The Lincoln Lab Division 6 Quarterly Progress Report (15 June 1958).
- The Lincoln Writer. J. T. Glmore, Jr., R. E. Sewell. Lincoln Laboratory Group report 51-8. October 6, 1959.
Structs§
- Described
Char - Linc
Char 🔒 - Lincoln
State - Lincoln
State Text Info - NoSubscript
Known - NoSuperscript
Known - Unicode
ToLincoln Mapping
Enums§
- Colour
- Lincoln
Char - Lincoln
ToUnicode Strict Conversion Failure - LwKeyboard
Case - Indicates which keyboard case is currently selected. The terminology used around the Lincoln Writer is very confusing because of the way the LW is designed. Specifically (per page 8 of “The Lincoln Writer”, Lincoln Laboratory Group Report 51-8):
- Script
- Unicode
ToLincoln Conversion Failure
Functions§
- bycase 🔒
- lincoln_
char_ to_ described_ char - Convert a Lincoln Writer character to a description which can be used to print a Unicode approximation of it.
- lincoln_
to_ unicode_ strict - Convert a stream of Lincoln Writer codes to a Unicode string. Lincoln Writer codes are 6 bits, and these are assumed to be in the lower 6 bits of the input values.
- lincoln_
writer_ state_ update - Perform any state changes implied by a character code.
- subscript_
char - Return the corresponding subscript representation for
ch
. - superscript_
char - Return the corresponding superscript representation for
ch
. - unprintable 🔒