* FONTPROFILE: Fix NS COMMENTFONT, delete FONTPROFILEPATCH
This reverts commit 2615140ede.
* Recompile FDEV creators with FILEIO defaulting to :XCCS
* FONTPROFILE: Fixed COMMENTFONT in BIGGERNS
* FONTPROFILE: fixed typo
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
sources/BSP.LCOM
BIN
sources/BSP.LCOM
Binary file not shown.
Binary file not shown.
Binary file not shown.
535
sources/FILEIO
535
sources/FILEIO
@@ -1,11 +1,11 @@
|
||||
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10 FORMAT XCCS)
|
||||
(FILECREATED "13-Aug-2021 18:39:18"
|
||||
{DSK}<Users>kaplan>Local>medley3.5>git-medley>sources>FILEIO.;87 178368
|
||||
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)
|
||||
(FILECREATED " 6-Sep-2021 15:54:14"
|
||||
{DSK}<Users>kaplan>Local>medley3.5>git-medley>sources>FILEIO.;92 178421
|
||||
|
||||
changes to%: (FNS COPYCHARS)
|
||||
changes to%: (RECORDS FDEV)
|
||||
|
||||
previous date%: " 8-Aug-2021 14:53:49"
|
||||
{DSK}<Users>kaplan>Local>medley3.5>git-medley>sources>FILEIO.;86)
|
||||
previous date%: "13-Aug-2021 18:39:18"
|
||||
{DSK}<Users>kaplan>Local>medley3.5>git-medley>sources>FILEIO.;91)
|
||||
|
||||
|
||||
(* ; "
|
||||
@@ -18,14 +18,14 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
[(PROP (FILETYPE MAKEFILE-ENVIRONMENT)
|
||||
FILEIO)
|
||||
|
||||
(* ;; "Device independent IO. This file is used by VAX")
|
||||
(* ;; "Device independent IO. This file is used by VAX")
|
||||
|
||||
(COMS
|
||||
(* ;; "STREAM, FDEV declarations")
|
||||
(* ;; "STREAM, FDEV declarations")
|
||||
|
||||
(DECLARE%: FIRST DOCOPY
|
||||
|
||||
(* ;; "The microcode relies on STREAM being of a particular type, viz. the first type declared in the initial loadup (after VMEMPAGEP)")
|
||||
(* ;; "The microcode relies on STREAM being of a particular type, viz. the first type declared in the initial loadup (after VMEMPAGEP)")
|
||||
|
||||
(INITRECORDS STREAM))
|
||||
(SYSRECORDS STREAM)
|
||||
@@ -38,12 +38,12 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
OVERWRITEABLE READABLE READONLY WRITEABLE)
|
||||
(CONSTANTS * EOLCONVENTIONS)))
|
||||
(FNS STREAMPROP GETSTREAMPROP PUTSTREAMPROP STREAMP)
|
||||
[COMS (* ; "make streams print pretty")
|
||||
[COMS (* ; "make streams print pretty")
|
||||
(FNS \DEFPRINT.BY.NAME \STREAM.DEFPRINT \FDEV.DEFPRINT)
|
||||
(DECLARE%: DONTEVAL@LOAD DOCOPY (P (DEFPRINT 'STREAM (FUNCTION \STREAM.DEFPRINT))
|
||||
(DEFPRINT 'FDEV (FUNCTION \FDEV.DEFPRINT]
|
||||
(COMS (* ;
|
||||
"Needed because of STREAM initialization")
|
||||
(COMS (* ;
|
||||
"Needed because of STREAM initialization")
|
||||
(INITVARS (FILELINELENGTH 102)
|
||||
(\STREAM.DEFAULT.MAXBUFFERS 3)))
|
||||
(FNS \GETACCESS \SETACCESS)
|
||||
@@ -51,8 +51,8 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
(RECORDS FDEV FILEGENOBJ)))
|
||||
(INITRECORDS FDEV)
|
||||
(SYSRECORDS FDEV))
|
||||
[COMS (* ;
|
||||
"EXTERNALFORMAT declaration and related functions")
|
||||
[COMS (* ;
|
||||
"EXTERNALFORMAT declaration and related functions")
|
||||
(DECLARE%: DOEVAL@COMPILE DONTCOPY (EXPORT (RECORDS EXTERNALFORMAT)))
|
||||
(FNS MAKE-EXTERNALFORMAT)
|
||||
(INITRECORDS EXTERNALFORMAT)
|
||||
@@ -65,7 +65,7 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
(COMS (FNS \CREATE.THROUGH.EXTERNALFORMAT \THROUGHIN \THROUGHBACKCCODE
|
||||
\THROUGHOUTCHARFN)
|
||||
(DECLARE%: DONTEVAL@LOAD DOCOPY (P (\CREATE.THROUGH.EXTERNALFORMAT]
|
||||
(COMS (* ; "Device operations")
|
||||
(COMS (* ; "Device operations")
|
||||
(FNS \DEFINEDEVICE \GETDEVICEFROMNAME \GETDEVICEFROMHOSTNAME \REMOVEDEVICE
|
||||
\REMOVEDEVICE.NAMES)
|
||||
(INITVARS (STREAM-AFTER-OPEN-FNS NIL))
|
||||
@@ -74,7 +74,7 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
\RENAMEFILE \REVALIDATEFILE \PAGED.REVALIDATEFILELST \PAGED.REVALIDATEFILES
|
||||
\PAGED.REVALIDATEFILE \BUFFERED.REVALIDATEFILE \BUFFERED.REVALIDATEFILELST
|
||||
\PRINT-REVALIDATION-RESULT \TRUNCATEFILE \FILE-CONFLICT)
|
||||
(COMS (* ; "Generic enumerator")
|
||||
(COMS (* ; "Generic enumerator")
|
||||
(FNS \GENERATENOFILES \NULLFILEGENERATOR \NOFILESNEXTFILEFN \NOFILESINFOFN)
|
||||
(DECLARE%: DONTCOPY (RECORDS NOFILEGENSTATE)))
|
||||
(FNS \FILE.NOT.OPEN \FILE.WONT.OPEN \ILLEGAL.DEVICEOP \IS.NOT.RANDACCESSP
|
||||
@@ -82,16 +82,16 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
(ADDVARS (\FILEDEVICES)
|
||||
(\FILEDEVICENAMES)
|
||||
(\DEVICENAMETODEVICE))
|
||||
(COMS (* ; "Device instances")
|
||||
(COMS (* ; "Device instances")
|
||||
(FNS \FDEVINSTANCE)
|
||||
(MACROS \INHERITFDEVOP.D \INHERITFDEVOP.S))
|
||||
(INITVARS (LOGINHOST/DIR '{DSK})
|
||||
(\CONNECTED.DIRECTORY '{DSK}))
|
||||
(GLOBALVARS LOGINHOST/DIR \CONNECTED.DIRECTORY \FILEDEVICES \FILEDEVICENAMES
|
||||
\DEVICENAMETODEVICE))
|
||||
(COMS (* ; "Directory defaulting")
|
||||
(COMS (* ; "Directory defaulting")
|
||||
(FNS CNDIR DIRECTORYNAME DIRECTORYNAMEP HOSTNAMEP \ADD.CONNECTED.DIR))
|
||||
[COMS (* ; "Binary I/O Public functions")
|
||||
[COMS (* ; "Binary I/O Public functions")
|
||||
(FNS \BACKFILEPTR \BACKPEEKBIN \BACKBIN BIN \BIN \BINS BOUT \BOUT \BOUTS COPYBYTES
|
||||
COPYCHARS COPYFILE \COPYOPENFILE \INFER.FILE.TYPE EOFP FORCEOUTPUT
|
||||
\FLUSH.OPEN.STREAMS CHARSET ACCESS-CHARSET GETEOFPTR GETFILEINFO
|
||||
@@ -99,7 +99,7 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
BIN16)
|
||||
(PROP (DOPCODE)
|
||||
BOUT)
|
||||
(* ; "Generic functions")
|
||||
(* ; "Generic functions")
|
||||
(FNS \GENERIC.BINS \GENERIC.BOUTS \GENERIC.RENAMEFILE \GENERIC.OPENP \GENERIC.READP
|
||||
\GENERIC.CHARSET)
|
||||
(FNS \MAP-OPEN-STREAMS)
|
||||
@@ -116,7 +116,7 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
(PUTD (CADR PAIR)
|
||||
(GETD (CAR PAIR))
|
||||
T]
|
||||
(COMS (* ; "Internal functions")
|
||||
(COMS (* ; "Internal functions")
|
||||
(FNS \EOF.ACTION \EOSERROR \GETEOFPTR \INCFILEPTR \PEEKBIN \SETCLOSEDFILELENGTH
|
||||
\SETEOFPTR \SETFILEPTR)
|
||||
(FNS \FIXPOUT \FIXPIN)
|
||||
@@ -130,10 +130,10 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
[CONSTANTS (\MAXFILEPTR (SUB1 (LLSH 1 30]
|
||||
(RECORDS BYTEPTR))
|
||||
(CONSTANTS MaxChar)))
|
||||
(COMS (* ; "Buffered IO")
|
||||
(COMS (* ; "Buffered IO")
|
||||
(FNS \BUFFERED.BIN \BUFFERED.PEEKBIN \BUFFERED.BOUT \BUFFERED.BINS \BUFFERED.BOUTS
|
||||
\BUFFERED.COPYBYTES))
|
||||
[COMS (* ; "NULL device")
|
||||
[COMS (* ; "NULL device")
|
||||
(FNS \NULLDEVICE \NULL.OPENFILE)
|
||||
(DECLARE%: DONTEVAL@LOAD DOCOPY (P (\NULLDEVICE]
|
||||
(LOCALVARS . T)
|
||||
@@ -282,58 +282,58 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
|
||||
(DATATYPE STREAM
|
||||
(
|
||||
(* ;; "First 8 words are fixed for BIN, BOUT opcodes. Used to require length of whole datatype be multiple of 4, but Dolphin dead now.")
|
||||
(* ;; "First 8 words are fixed for BIN, BOUT opcodes. Used to require length of whole datatype be multiple of 4, but Dolphin dead now.")
|
||||
|
||||
(COFFSET WORD) (* ;
|
||||
"Offset in CPPTR of next bin or bout")
|
||||
(CBUFSIZE WORD) (* ;
|
||||
"Offset past last byte in that buffer")
|
||||
(PEEKEDCHARP FLAG) (* ;
|
||||
"if true, PEEKEDCHAR contains value of recent call to unread-char")
|
||||
(ACCESSBITS BITS 3) (* ;
|
||||
"What kind of access file is open for (read, write, append)")
|
||||
(CBUFPTR POINTER) (* ; "Pointer to current buffer")
|
||||
(BYTESIZE BYTE) (* ;
|
||||
"Byte size of stream, always 8 for now")
|
||||
(CHARSET BYTE) (* ; "the current character set for this stream. If 255, stream is not runcoded, so read-char consumes two bytes every time")
|
||||
(PEEKEDCHAR WORD) (* ; "value of unread-char call")
|
||||
(CHARPOSITION WORD) (* ; "Used by POSITION etc.")
|
||||
(CBUFMAXSIZE WORD) (* ;
|
||||
"on output, the size of the physical buffer--can't extend beyond this")
|
||||
(COFFSET WORD) (* ;
|
||||
"Offset in CPPTR of next bin or bout")
|
||||
(CBUFSIZE WORD) (* ;
|
||||
"Offset past last byte in that buffer")
|
||||
(PEEKEDCHARP FLAG) (* ;
|
||||
"if true, PEEKEDCHAR contains value of recent call to unread-char")
|
||||
(ACCESSBITS BITS 3) (* ;
|
||||
"What kind of access file is open for (read, write, append)")
|
||||
(CBUFPTR POINTER) (* ; "Pointer to current buffer")
|
||||
(BYTESIZE BYTE) (* ;
|
||||
"Byte size of stream, always 8 for now")
|
||||
(CHARSET BYTE) (* ; "the current character set for this stream. If 255, stream is not runcoded, so read-char consumes two bytes every time")
|
||||
(PEEKEDCHAR WORD) (* ; "value of unread-char call")
|
||||
(CHARPOSITION WORD) (* ; "Used by POSITION etc.")
|
||||
(CBUFMAXSIZE WORD) (* ;
|
||||
"on output, the size of the physical buffer--can't extend beyond this")
|
||||
|
||||
(* ;; "-------- Above fields (8 words) potentially known to microcode. --------")
|
||||
(* ;; "-------- Above fields (8 words) potentially known to microcode. --------")
|
||||
|
||||
(NONDEFAULTDATEFLG FLAG)
|
||||
(REVALIDATEFLG FLAG)
|
||||
(MULTIBUFFERHINT FLAG) (* ;
|
||||
"True if stream likes to read and write more than one buffer at a time")
|
||||
(USERCLOSEABLE FLAG) (* ;
|
||||
"Can be closed by CLOSEF; NIL for terminal, dribble...")
|
||||
(FULLFILENAME POINTER) (* ;
|
||||
"Name by which file is known to user")
|
||||
(BINABLE FLAG) (* ; "BIN punts unless this bit on")
|
||||
(BOUTABLE FLAG) (* ; "BOUT punts unless this bit on")
|
||||
(EXTENDABLE FLAG) (* ;
|
||||
"BOUT punts when COFFSET ge CBUFFSIZE unless this bit set and COFFSET lt 512")
|
||||
(CBUFDIRTY FLAG) (* ;
|
||||
"true if BOUT has sullied the current buffer")
|
||||
(DEVICE POINTER) (* ; "FDEV of this guy")
|
||||
(USERVISIBLE FLAG) (* ;
|
||||
"Listed by OPENP; NIL for terminal, dribble ...")
|
||||
(EOLCONVENTION BITS 2) (* ; "End-of-line convention")
|
||||
(NIL FLAG) (* ; "Was NOTXCCS.")
|
||||
(VALIDATION POINTER) (* ;
|
||||
"A number somehow identifying file, used to determine if file has changed in our absence")
|
||||
(CPAGE POINTER) (* ;
|
||||
"CPAGE,,COFFSET constitutes current file pointer for most randaccess streams")
|
||||
(MULTIBUFFERHINT FLAG) (* ;
|
||||
"True if stream likes to read and write more than one buffer at a time")
|
||||
(USERCLOSEABLE FLAG) (* ;
|
||||
"Can be closed by CLOSEF; NIL for terminal, dribble...")
|
||||
(FULLFILENAME POINTER) (* ;
|
||||
"Name by which file is known to user")
|
||||
(BINABLE FLAG) (* ; "BIN punts unless this bit on")
|
||||
(BOUTABLE FLAG) (* ; "BOUT punts unless this bit on")
|
||||
(EXTENDABLE FLAG) (* ;
|
||||
"BOUT punts when COFFSET ge CBUFFSIZE unless this bit set and COFFSET lt 512")
|
||||
(CBUFDIRTY FLAG) (* ;
|
||||
"true if BOUT has sullied the current buffer")
|
||||
(DEVICE POINTER) (* ; "FDEV of this guy")
|
||||
(USERVISIBLE FLAG) (* ;
|
||||
"Listed by OPENP; NIL for terminal, dribble ...")
|
||||
(EOLCONVENTION BITS 2) (* ; "End-of-line convention")
|
||||
(NIL FLAG) (* ; "Was NOTXCCS.")
|
||||
(VALIDATION POINTER) (* ;
|
||||
"A number somehow identifying file, used to determine if file has changed in our absence")
|
||||
(CPAGE POINTER) (* ;
|
||||
"CPAGE,,COFFSET constitutes current file pointer for most randaccess streams")
|
||||
(EPAGE POINTER)
|
||||
(EOFFSET WORD) (* ; "Page, byte offset of eof")
|
||||
(LINELENGTH WORD) (* ;
|
||||
"LINELENGTH of stream, or -1 for no line length")
|
||||
(EOFFSET WORD) (* ; "Page, byte offset of eof")
|
||||
(LINELENGTH WORD) (* ;
|
||||
"LINELENGTH of stream, or -1 for no line length")
|
||||
|
||||
(* ;; "----Following are device-specific fields----")
|
||||
(* ;; "----Following are device-specific fields----")
|
||||
|
||||
(* ;; "Available for device-specific uses, NOT for application use.")
|
||||
(* ;; "Available for device-specific uses, NOT for application use.")
|
||||
|
||||
(F1 POINTER)
|
||||
(F2 POINTER)
|
||||
@@ -346,54 +346,54 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
(FW9 WORD)
|
||||
(F10 POINTER)
|
||||
|
||||
(* ;; "----Following only filled in for open streams----")
|
||||
(* ;; "----Following only filled in for open streams----")
|
||||
|
||||
(STRMBINFN POINTER) (* ;
|
||||
"Either the BIN fn from the FDEV, or a trap")
|
||||
(STRMBOUTFN POINTER) (* ;
|
||||
"Either the BIN fn from the FDEV, or a trap")
|
||||
(OUTCHARFN POINTER) (* ;
|
||||
"Called by \OUTCHAR, the normal character printer.")
|
||||
(ENDOFSTREAMOP POINTER) (* ;
|
||||
"Called if EOF and we try to read.")
|
||||
(OTHERPROPS POINTER) (* ;
|
||||
"PROP LIST for holding other info.")
|
||||
(IMAGEOPS POINTER) (* ; "Image operations vector")
|
||||
(IMAGEDATA POINTER) (* ;
|
||||
"Image instance variables--format depends on IMAGEOPS value")
|
||||
(BUFFS POINTER) (* ;
|
||||
"Buffer chain for pmapped streams")
|
||||
(MAXBUFFERS WORD) (* ;
|
||||
"Max # of buffers the system will allocate.")
|
||||
(LASTCCODE WORD) (* ; "After READ, RATOM, etc, the charcode that will be returned (as a character) by LASTC. If there is none, this field is 65535.")
|
||||
(EXTRASTREAMOP POINTER) (* ;
|
||||
"For use of applications programs, not devices")
|
||||
(INCCODEFN POINTER) (* ; "Set by \EXTERNALFORMAT")
|
||||
(STRMBINFN POINTER) (* ;
|
||||
"Either the BIN fn from the FDEV, or a trap")
|
||||
(STRMBOUTFN POINTER) (* ;
|
||||
"Either the BIN fn from the FDEV, or a trap")
|
||||
(OUTCHARFN POINTER) (* ;
|
||||
"Called by \OUTCHAR, the normal character printer.")
|
||||
(ENDOFSTREAMOP POINTER) (* ;
|
||||
"Called if EOF and we try to read.")
|
||||
(OTHERPROPS POINTER) (* ;
|
||||
"PROP LIST for holding other info.")
|
||||
(IMAGEOPS POINTER) (* ; "Image operations vector")
|
||||
(IMAGEDATA POINTER) (* ;
|
||||
"Image instance variables--format depends on IMAGEOPS value")
|
||||
(BUFFS POINTER) (* ;
|
||||
"Buffer chain for pmapped streams")
|
||||
(MAXBUFFERS WORD) (* ;
|
||||
"Max # of buffers the system will allocate.")
|
||||
(LASTCCODE WORD) (* ; "After READ, RATOM, etc, the charcode that will be returned (as a character) by LASTC. If there is none, this field is 65535.")
|
||||
(EXTRASTREAMOP POINTER) (* ;
|
||||
"For use of applications programs, not devices")
|
||||
(INCCODEFN POINTER) (* ; "Set by \EXTERNALFORMAT")
|
||||
(PEEKCCODEFN POINTER)
|
||||
(BACKCCODEFN POINTER)
|
||||
(EXTERNALFORMAT POINTER))
|
||||
(BLOCKRECORD STREAM ((NIL 2 WORD)
|
||||
(UCODEFLAGS1 BITS 1)
|
||||
|
||||
(* ;; "respecification of access bits:")
|
||||
(* ;; "respecification of access bits:")
|
||||
|
||||
(RANDOMWRITEABLE FLAG) (* ;
|
||||
"File open for output (access = OUTPUT or BOTH)")
|
||||
(APPENDABLE FLAG) (* ;
|
||||
"File open for append (OUTPUT or APPEND or BOTH)")
|
||||
(READABLE FLAG) (* ;
|
||||
"File open for read (READ or BOTH)")
|
||||
(RANDOMWRITEABLE FLAG) (* ;
|
||||
"File open for output (access = OUTPUT or BOTH)")
|
||||
(APPENDABLE FLAG) (* ;
|
||||
"File open for append (OUTPUT or APPEND or BOTH)")
|
||||
(READABLE FLAG) (* ;
|
||||
"File open for read (READ or BOTH)")
|
||||
(NIL POINTER)))
|
||||
(BLOCKRECORD STREAM ((NIL 4 WORD)
|
||||
(NIL BITS 14)
|
||||
|
||||
(* ;;
|
||||
"JIS character encoding format specific, overrides CHARSET field.")
|
||||
(* ;;
|
||||
"JIS character encoding format specific, overrides CHARSET field.")
|
||||
|
||||
(IN.KANJIIN FLAG) (* ;
|
||||
"True if input stream is in Kanji-in mode.")
|
||||
(OUT.KANJIIN FLAG) (* ;
|
||||
"True if output stream is in Kanji-in mode.")
|
||||
(IN.KANJIIN FLAG) (* ;
|
||||
"True if input stream is in Kanji-in mode.")
|
||||
(OUT.KANJIIN FLAG) (* ;
|
||||
"True if output stream is in Kanji-in mode.")
|
||||
))
|
||||
[ACCESSFNS STREAM ((ACCESS \GETACCESS \SETACCESS)
|
||||
(FULLNAME (OR (fetch (STREAM FULLFILENAME) of DATUM)
|
||||
@@ -809,138 +809,138 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
)
|
||||
(DECLARE%: EVAL@COMPILE
|
||||
|
||||
(DATATYPE FDEV ((RESETABLE FLAG) (* ; "Obsolete")
|
||||
(DATATYPE FDEV ((RESETABLE FLAG) (* ; "Obsolete")
|
||||
(RANDOMACCESSP FLAG)
|
||||
(NODIRECTORIES FLAG)
|
||||
(PAGEMAPPED FLAG) (* ;
|
||||
"True if i/o handled by pmap routines")
|
||||
(FDBINABLE FLAG) (* ;
|
||||
"Copied as a microcode flag for INPUT streams formed on this device")
|
||||
(PAGEMAPPED FLAG) (* ;
|
||||
"True if i/o handled by pmap routines")
|
||||
(FDBINABLE FLAG) (* ;
|
||||
"Copied as a microcode flag for INPUT streams formed on this device")
|
||||
(FDBOUTABLE FLAG)
|
||||
(FDEXTENDABLE FLAG)
|
||||
(BUFFERED FLAG) (* ; "True implies that the device supports the BIN & BOUT uCode conventions, and implements the GETNEXTBUFFER method")
|
||||
(DEVICENAME POINTER) (* ; "Identifying name somehow")
|
||||
(REMOTEP FLAG) (* ;
|
||||
"true if device not local to machine")
|
||||
(SUBDIRECTORIES FLAG) (* ;
|
||||
"true if device has real subdirectories")
|
||||
(INPUT-INDIRECTED FLAG) (* ;
|
||||
"True for devices that indirect their input stream. Method INPUTSTREAM fetches it")
|
||||
(OUTPUT-INDIRECTED FLAG) (* ;
|
||||
"True for devices that indirect their output stream. Method OUTPUTSTREAM fetches it")
|
||||
(DEVICEINFO POINTER) (* ;
|
||||
"arbitrary device-specific info stored here")
|
||||
(OPENFILELST POINTER) (* ;
|
||||
"Default place to keep list of streams open on this device")
|
||||
(BUFFERED FLAG) (* ; "True implies that the device supports the BIN & BOUT uCode conventions, and implements the GETNEXTBUFFER method")
|
||||
(DEVICENAME POINTER) (* ; "Identifying name somehow")
|
||||
(REMOTEP FLAG) (* ;
|
||||
"true if device not local to machine")
|
||||
(SUBDIRECTORIES FLAG) (* ;
|
||||
"true if device has real subdirectories")
|
||||
(INPUT-INDIRECTED FLAG) (* ;
|
||||
"True for devices that indirect their input stream. Method INPUTSTREAM fetches it")
|
||||
(OUTPUT-INDIRECTED FLAG) (* ;
|
||||
"True for devices that indirect their output stream. Method OUTPUTSTREAM fetches it")
|
||||
(DEVICEINFO POINTER) (* ;
|
||||
"arbitrary device-specific info stored here")
|
||||
(OPENFILELST POINTER) (* ;
|
||||
"Default place to keep list of streams open on this device")
|
||||
|
||||
(* ;; "-----Rest of record consists of device %"methods%"-----")
|
||||
(* ;; "-----Rest of record consists of device %"methods%"-----")
|
||||
|
||||
(* ;; "-----Following fields required of all devices-----")
|
||||
(* ;; "-----Following fields required of all devices-----")
|
||||
|
||||
(HOSTNAMEP POINTER) (* ; "(hostname {device}) => T if hostname is valid. If device is given, return a FDEV for this {new} host, or T to use existing device")
|
||||
(EVENTFN POINTER) (* ;
|
||||
"(device event), called before/after logout, sysout, makesys")
|
||||
(HOSTNAMEP POINTER) (* ; "(hostname {device}) => T if hostname is valid. If device is given, return a FDEV for this {new} host, or T to use existing device")
|
||||
(EVENTFN POINTER) (* ;
|
||||
"(device event), called before/after logout, sysout, makesys")
|
||||
|
||||
(* ;;
|
||||
"-----Following fields required of all named devices, e.g., ones that open files-----")
|
||||
(* ;;
|
||||
"-----Following fields required of all named devices, e.g., ones that open files-----")
|
||||
|
||||
(DIRECTORYNAMEP POINTER) (* ;
|
||||
"(host/dir) => true if directory exists on host")
|
||||
(OPENFILE POINTER) (* ;
|
||||
"(name access recog otherinfo device) => new stream open on this device, or NIL if name not found")
|
||||
(CLOSEFILE POINTER) (* ;
|
||||
"(stream) => closes stream, returns it")
|
||||
(REOPENFILE POINTER) (* ; "(name access recog otherinfo device stream) like openfile, but called after logout to revalidate file, so optionally uses info in old stream to keep this opening like the previous")
|
||||
(GETFILENAME POINTER) (* ;
|
||||
"(name recog device) => full file name")
|
||||
(DELETEFILE POINTER) (* ;
|
||||
"(name) => deletes file so named, returning name, or NIL on failure. RECOG=OLDEST")
|
||||
(GENERATEFILES POINTER) (* ; "(device pattern) => generator object for files matching pattern. Car of object is generator function, cdr is arbitrary state. Generator fn returns next file, or NIL when finished")
|
||||
(RENAMEFILE POINTER) (* ; "(olddevice oldfile newdevice newfile) to rename file on this (olddevice) to a potentially different device.")
|
||||
(OPENP POINTER) (* ;
|
||||
"(name access dev) => stream if name is open for access, or all open streams if name = NIL")
|
||||
(REGISTERFILE POINTER) (* ;
|
||||
"(stream dev) => registers stream on its device")
|
||||
(UNREGISTERFILE POINTER) (* ;
|
||||
"(stream dev) => unregisters a stream from its device")
|
||||
(FREEPAGECOUNT POINTER) (* ;
|
||||
"(host/dir dev) => # of free pages on host/dir")
|
||||
(MAKEDIRECTORY POINTER) (* ; "(host/dir dev)")
|
||||
(CHECKFILENAME POINTER) (* ;
|
||||
"(name dev) => name if it is well-formed file name for dev")
|
||||
(HOSTALIVEP POINTER) (* ;
|
||||
"(host dev) => true if host is alive, i.e., responsive; only defined if REMOTEP is true")
|
||||
(BREAKCONNECTION POINTER) (* ;
|
||||
"(host fastp dev) => closes connections to host")
|
||||
(DIRECTORYNAMEP POINTER) (* ;
|
||||
"(host/dir) => true if directory exists on host")
|
||||
(OPENFILE POINTER) (* ;
|
||||
"(name access recog otherinfo device) => new stream open on this device, or NIL if name not found")
|
||||
(CLOSEFILE POINTER) (* ;
|
||||
"(stream) => closes stream, returns it")
|
||||
(REOPENFILE POINTER) (* ; "(name access recog otherinfo device stream) like openfile, but called after logout to revalidate file, so optionally uses info in old stream to keep this opening like the previous")
|
||||
(GETFILENAME POINTER) (* ;
|
||||
"(name recog device) => full file name")
|
||||
(DELETEFILE POINTER) (* ;
|
||||
"(name) => deletes file so named, returning name, or NIL on failure. RECOG=OLDEST")
|
||||
(GENERATEFILES POINTER) (* ; "(device pattern) => generator object for files matching pattern. Car of object is generator function, cdr is arbitrary state. Generator fn returns next file, or NIL when finished")
|
||||
(RENAMEFILE POINTER) (* ; "(olddevice oldfile newdevice newfile) to rename file on this (olddevice) to a potentially different device.")
|
||||
(OPENP POINTER) (* ;
|
||||
"(name access dev) => stream if name is open for access, or all open streams if name = NIL")
|
||||
(REGISTERFILE POINTER) (* ;
|
||||
"(stream dev) => registers stream on its device")
|
||||
(UNREGISTERFILE POINTER) (* ;
|
||||
"(stream dev) => unregisters a stream from its device")
|
||||
(FREEPAGECOUNT POINTER) (* ;
|
||||
"(host/dir dev) => # of free pages on host/dir")
|
||||
(MAKEDIRECTORY POINTER) (* ; "(host/dir dev)")
|
||||
(CHECKFILENAME POINTER) (* ;
|
||||
"(name dev) => name if it is well-formed file name for dev")
|
||||
(HOSTALIVEP POINTER) (* ;
|
||||
"(host dev) => true if host is alive, i.e., responsive; only defined if REMOTEP is true")
|
||||
(BREAKCONNECTION POINTER) (* ;
|
||||
"(host fastp dev) => closes connections to host")
|
||||
|
||||
(* ;;
|
||||
"-----The following are required methods for operating on open streams-----")
|
||||
(* ;;
|
||||
"-----The following are required methods for operating on open streams-----")
|
||||
|
||||
(BIN POINTER) (* ; "(stream) => next byte of input")
|
||||
(BOUT POINTER) (* ;
|
||||
"(stream byte) output byte to stream")
|
||||
(PEEKBIN POINTER) (* ;
|
||||
"(stream) => next byte without advancing position in stream")
|
||||
(NIL POINTER) (* ;
|
||||
"Was READCHAR, replaced by READCHARCODE")
|
||||
(NIL POINTER) (* ;
|
||||
"Was WRITECHAR (stream char) => writes char to stream")
|
||||
(NIL POINTER) (* ; "Was PEEKCHAR")
|
||||
(NIL POINTER) (* ; "Was UNREADCHAR")
|
||||
(READP POINTER) (* ;
|
||||
"(stream flag) => T if there is input available from stream right now")
|
||||
(EOFP POINTER) (* ;
|
||||
"(stream) => T if BIN would signal eof.")
|
||||
(BLOCKIN POINTER) (* ;
|
||||
"(stream buffer byteoffset nbytes)")
|
||||
(BLOCKOUT POINTER) (* ;
|
||||
"(stream buffer byteoffset nbytes)")
|
||||
(FORCEOUTPUT POINTER) (* ;
|
||||
"(stream waitForFinish) flushes out to device anything that is buffered awaiting transmission")
|
||||
(GETFILEINFO POINTER) (* ;
|
||||
"(stream/name attribute device) => value of attribute for open stream or name of closed file")
|
||||
(SETFILEINFO POINTER) (* ;
|
||||
"(stream/name attribute newvalue device) sets attribute of open stream or closed file of given name")
|
||||
(CHARSETFN POINTER) (* ; "(stream charset) => access function for the charset slot, for benefit of indirect streams. See IMCHARSET for changing it on a file.")
|
||||
(INPUTSTREAM POINTER) (* ;
|
||||
"(stream) => indirected input stream")
|
||||
(OUTPUTSTREAM POINTER) (* ;
|
||||
"(stream) => indirected output stream")
|
||||
(BIN POINTER) (* ; "(stream) => next byte of input")
|
||||
(BOUT POINTER) (* ;
|
||||
"(stream byte) output byte to stream")
|
||||
(PEEKBIN POINTER) (* ;
|
||||
"(stream) => next byte without advancing position in stream")
|
||||
(NIL POINTER) (* ;
|
||||
"Was READCHAR, replaced by READCHARCODE")
|
||||
(NIL POINTER) (* ;
|
||||
"Was WRITECHAR (stream char) => writes char to stream")
|
||||
(NIL POINTER) (* ; "Was PEEKCHAR")
|
||||
(NIL POINTER) (* ; "Was UNREADCHAR")
|
||||
(READP POINTER) (* ;
|
||||
"(stream flag) => T if there is input available from stream right now")
|
||||
(EOFP POINTER) (* ;
|
||||
"(stream) => T if BIN would signal eof.")
|
||||
(BLOCKIN POINTER) (* ;
|
||||
"(stream buffer byteoffset nbytes)")
|
||||
(BLOCKOUT POINTER) (* ;
|
||||
"(stream buffer byteoffset nbytes)")
|
||||
(FORCEOUTPUT POINTER) (* ;
|
||||
"(stream waitForFinish) flushes out to device anything that is buffered awaiting transmission")
|
||||
(GETFILEINFO POINTER) (* ;
|
||||
"(stream/name attribute device) => value of attribute for open stream or name of closed file")
|
||||
(SETFILEINFO POINTER) (* ;
|
||||
"(stream/name attribute newvalue device) sets attribute of open stream or closed file of given name")
|
||||
(CHARSETFN POINTER) (* ; "(stream charset) => access function for the charset slot, for benefit of indirect streams. See IMCHARSET for changing it on a file.")
|
||||
(INPUTSTREAM POINTER) (* ;
|
||||
"(stream) => indirected input stream")
|
||||
(OUTPUTSTREAM POINTER) (* ;
|
||||
"(stream) => indirected output stream")
|
||||
|
||||
(* ;; "-----Following are required of random-access streams-----")
|
||||
(* ;; "-----Following are required of random-access streams-----")
|
||||
|
||||
(GETFILEPTR POINTER)
|
||||
(GETEOFPTR POINTER)
|
||||
(SETFILEPTR POINTER)
|
||||
(BACKFILEPTR POINTER) (* ; "(stream) backs up `fileptr' by one. Stream is only required to be able to do this once, i.e. one-character buffer suffices")
|
||||
(SETEOFPTR POINTER) (* ;
|
||||
"(stream length) => truncates or lengthens stream to indicated length")
|
||||
(LASTC POINTER) (* ;
|
||||
"Should be possible only if RANDOMACCESSP")
|
||||
(BACKFILEPTR POINTER) (* ; "(stream) backs up `fileptr' by one. Stream is only required to be able to do this once, i.e. one-character buffer suffices")
|
||||
(SETEOFPTR POINTER) (* ;
|
||||
"(stream length) => truncates or lengthens stream to indicated length")
|
||||
(LASTC POINTER) (* ;
|
||||
"Should be possible only if RANDOMACCESSP")
|
||||
|
||||
(* ;; "-----Following used for buffered streams-----")
|
||||
(* ;; "-----Following used for buffered streams-----")
|
||||
|
||||
(GETNEXTBUFFER POINTER) (* ; "(stream whatfor noerrorflg) => Disposes of current buffer and optionally reads next. whatfor is READ or WRITE. Can cause EOF error unless noerrorflg")
|
||||
(RELEASEBUFFER POINTER) (* ;
|
||||
"(stream) => Does whatever appropriate when CBUFPTR is released")
|
||||
(GETNEXTBUFFER POINTER) (* ; "(stream whatfor noerrorflg) => Disposes of current buffer and optionally reads next. whatfor is READ or WRITE. Can cause EOF error unless noerrorflg")
|
||||
(RELEASEBUFFER POINTER) (* ;
|
||||
"(stream) => Does whatever appropriate when CBUFPTR is released")
|
||||
|
||||
(* ;; "-----Following used for pagemapped streams-----")
|
||||
(* ;; "-----Following used for pagemapped streams-----")
|
||||
|
||||
(READPAGES POINTER) (* ; "(stream firstpage# buflist) => # of bytes read, starting at firstpage#, reading into buflist, a list of buffers or a single buffer (the usual case)")
|
||||
(WRITEPAGES POINTER) (* ;
|
||||
"(stream firstpage# buflist) writes from buflist to stream starting at firstpage# of stream")
|
||||
(TRUNCATEFILE POINTER) (* ;
|
||||
"(stream page offset) make stream's eof be at page,offset, discarding anything after it")
|
||||
(READPAGES POINTER) (* ; "(stream firstpage# buflist) => # of bytes read, starting at firstpage#, reading into buflist, a list of buffers or a single buffer (the usual case)")
|
||||
(WRITEPAGES POINTER) (* ;
|
||||
"(stream firstpage# buflist) writes from buflist to stream starting at firstpage# of stream")
|
||||
(TRUNCATEFILE POINTER) (* ;
|
||||
"(stream page offset) make stream's eof be at page,offset, discarding anything after it")
|
||||
|
||||
(* ;; "-----For window system, argh-----")
|
||||
(* ;; "-----For window system, argh-----")
|
||||
|
||||
(WINDOWOPS POINTER) (* ; "window system operations")
|
||||
(WINDOWDATA POINTER) (* ; "data for window systems")
|
||||
(WINDOWOPS POINTER) (* ; "window system operations")
|
||||
(WINDOWDATA POINTER) (* ; "data for window systems")
|
||||
|
||||
(* ;; "-----For any stream (here to not recompile everything)-----")
|
||||
(* ;; "-----For any stream (here to not recompile everything)-----")
|
||||
|
||||
(DEFAULTEXTERNALFORMAT POINTER) (* ;
|
||||
"Was READCHARCODE. Read a character code from the stream (cf BIN for bytes).")
|
||||
(DEFAULTEXTERNALFORMAT POINTER) (* ;
|
||||
"Was READCHARCODE. Read a character code from the stream (cf BIN for bytes).")
|
||||
)
|
||||
DIRECTORYNAMEP _ (FUNCTION NILL)
|
||||
HOSTNAMEP _ (FUNCTION NILL)
|
||||
@@ -957,7 +957,8 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
OPENP _ (FUNCTION NILL)
|
||||
UNREGISTERFILE _ (FUNCTION NILL)
|
||||
CHARSETFN _ (FUNCTION \GENERIC.CHARSET)
|
||||
BREAKCONNECTION _ (FUNCTION NILL))
|
||||
BREAKCONNECTION _ (FUNCTION NILL)
|
||||
DEFAULTEXTERNALFORMAT _ *DEFAULT-EXTERNALFORMAT*)
|
||||
|
||||
(RECORD FILEGENOBJ (NEXTFILEFN FILEINFOFN . GENFILESTATE))
|
||||
)
|
||||
@@ -1186,22 +1187,22 @@ Copyright (c) 1981-1993, 1999, 2020-2021 by Venue & Xerox Corporation.
|
||||
(DECLARE%: DOEVAL@COMPILE DONTCOPY
|
||||
(* "FOLLOWING DEFINITIONS EXPORTED")(DECLARE%: EVAL@COMPILE
|
||||
|
||||
(DATATYPE EXTERNALFORMAT ((EOLVALID FLAG) (* ; "If true, the value of EOL field will replace the EOLCONVENTION field of the resulted stream. (Can't test EOL because it is always something)")
|
||||
(DATATYPE EXTERNALFORMAT ((EOLVALID FLAG) (* ; "If true, the value of EOL field will replace the EOLCONVENTION field of the resulted stream. (Can't test EOL because it is always something)")
|
||||
(EOL BITS 2)
|
||||
(NIL BITS 1)
|
||||
(INCCODEFN POINTER) (* ;
|
||||
"Called with STREAM and 2 optional arguments, BYTECOUNTVAR and BYTECOUNTVAL")
|
||||
(PEEKCCODEFN POINTER) (* ;
|
||||
"Called with three arguments -- STREAM, NOERROR, and EOL")
|
||||
(BACKCCODEFN POINTER) (* ;
|
||||
"Called with STREAM and optional BYTECOUNTVAR and BYTECOUNTVAL")
|
||||
(OUTCHARFN POINTER) (* ;
|
||||
"Called with two arguments -- STREAM and CHARCODE")
|
||||
(NAME POINTER) (* ;
|
||||
"keyword name of this format, provided to \INSTALL.EXTERNALFORMAT")
|
||||
(FORMATBYTESTREAMFN POINTER) (* ; "Function to copy the format state of a given stream to an IO stream that allows formatted byte sequences to be examined")
|
||||
(EF1 POINTER) (* ;
|
||||
"Extra fields for use of particular formats. Possibly to hold standardized translation tables")
|
||||
(INCCODEFN POINTER) (* ;
|
||||
"Called with STREAM and 2 optional arguments, BYTECOUNTVAR and BYTECOUNTVAL")
|
||||
(PEEKCCODEFN POINTER) (* ;
|
||||
"Called with three arguments -- STREAM, NOERROR, and EOL")
|
||||
(BACKCCODEFN POINTER) (* ;
|
||||
"Called with STREAM and optional BYTECOUNTVAR and BYTECOUNTVAL")
|
||||
(OUTCHARFN POINTER) (* ;
|
||||
"Called with two arguments -- STREAM and CHARCODE")
|
||||
(NAME POINTER) (* ;
|
||||
"keyword name of this format, provided to \INSTALL.EXTERNALFORMAT")
|
||||
(FORMATBYTESTREAMFN POINTER) (* ; "Function to copy the format state of a given stream to an IO stream that allows formatted byte sequences to be examined")
|
||||
(EF1 POINTER) (* ;
|
||||
"Extra fields for use of particular formats. Possibly to hold standardized translation tables")
|
||||
(EF2 POINTER)))
|
||||
)
|
||||
|
||||
@@ -2947,8 +2948,8 @@ update the map")
|
||||
|
||||
(PUTPROPS \CONVERT-PATHNAME DMACRO (OPENLAMBDA (PATHNAME?)
|
||||
|
||||
(* ;;
|
||||
"Coerce pathnames to Interlisp strings, for the benefit of antediluvian Interlisp-D file fns")
|
||||
(* ;;
|
||||
"Coerce pathnames to Interlisp strings, for the benefit of antediluvian Interlisp-D file fns")
|
||||
|
||||
(CL:TYPECASE PATHNAME?
|
||||
(PATHNAME (INTERLISP-NAMESTRING PATHNAME?))
|
||||
@@ -3395,44 +3396,44 @@ update the map")
|
||||
(PUTPROPS FILEIO COPYRIGHT ("Venue & Xerox Corporation" 1981 1982 1983 1984 1985 1986 1987 1988 1989
|
||||
1990 1991 1992 1993 1999 2020 2021))
|
||||
(DECLARE%: DONTCOPY
|
||||
(FILEMAP (NIL (28411 31901 (STREAMPROP 28421 . 28855) (GETSTREAMPROP 28857 . 29330) (PUTSTREAMPROP
|
||||
29332 . 31749) (STREAMP 31751 . 31899)) (31944 34463 (\DEFPRINT.BY.NAME 31954 . 33106) (
|
||||
\STREAM.DEFPRINT 33108 . 34156) (\FDEV.DEFPRINT 34158 . 34461)) (34721 39762 (\GETACCESS 34731 . 35185
|
||||
) (\SETACCESS 35187 . 39760)) (63079 64332 (MAKE-EXTERNALFORMAT 63089 . 64330)) (65565 73394 (
|
||||
\INSTALL.EXTERNALFORMAT 65575 . 67024) (\REMOVE.EXTERNALFORMAT 67026 . 67857) (FIND-FORMAT 67859 .
|
||||
68676) (\EXTERNALFORMAT 68678 . 73392)) (73717 75580 (\CREATE.THROUGH.EXTERNALFORMAT 73727 . 74529) (
|
||||
\THROUGHIN 74531 . 74955) (\THROUGHBACKCCODE 74957 . 75228) (\THROUGHOUTCHARFN 75230 . 75578)) (75688
|
||||
81657 (\DEFINEDEVICE 75698 . 78014) (\GETDEVICEFROMNAME 78016 . 78489) (\GETDEVICEFROMHOSTNAME 78491
|
||||
. 79535) (\REMOVEDEVICE 79537 . 80660) (\REMOVEDEVICE.NAMES 80662 . 81655)) (81697 106357 (\CLOSEFILE
|
||||
81707 . 82532) (\DELETEFILE 82534 . 82828) (\DEVICEEVENT 82830 . 84600) (\GENERATEFILES 84602 . 85080
|
||||
) (\GENERATENEXTFILE 85082 . 85733) (\GENERATEFILEINFO 85735 . 86196) (\GETFILENAME 86198 . 86587) (
|
||||
\GENERIC.OUTFILEP 86589 . 87059) (\OPENFILE 87061 . 89639) (\DO.PARAMS.AT.OPEN 89641 . 92194) (
|
||||
\RENAMEFILE 92196 . 92620) (\REVALIDATEFILE 92622 . 95224) (\PAGED.REVALIDATEFILELST 95226 . 96784) (
|
||||
\PAGED.REVALIDATEFILES 96786 . 98505) (\PAGED.REVALIDATEFILE 98507 . 100790) (\BUFFERED.REVALIDATEFILE
|
||||
100792 . 103078) (\BUFFERED.REVALIDATEFILELST 103080 . 104264) (\PRINT-REVALIDATION-RESULT 104266 .
|
||||
104681) (\TRUNCATEFILE 104683 . 105074) (\FILE-CONFLICT 105076 . 106355)) (106393 111056 (
|
||||
\GENERATENOFILES 106403 . 108499) (\NULLFILEGENERATOR 108501 . 108745) (\NOFILESNEXTFILEFN 108747 .
|
||||
110738) (\NOFILESINFOFN 110740 . 111054)) (111175 113083 (\FILE.NOT.OPEN 111185 . 111698) (
|
||||
\FILE.WONT.OPEN 111700 . 112028) (\ILLEGAL.DEVICEOP 112030 . 112312) (\IS.NOT.RANDACCESSP 112314 .
|
||||
112760) (\STREAM.NOT.OPEN 112762 . 113081)) (113218 115516 (\FDEVINSTANCE 113228 . 115514)) (117066
|
||||
124440 (CNDIR 117076 . 118381) (DIRECTORYNAME 118383 . 122566) (DIRECTORYNAMEP 122568 . 123184) (
|
||||
HOSTNAMEP 123186 . 123993) (\ADD.CONNECTED.DIR 123995 . 124438)) (124485 151872 (\BACKFILEPTR 124495
|
||||
. 124683) (\BACKPEEKBIN 124685 . 125046) (\BACKBIN 125048 . 125399) (BIN 125401 . 125618) (\BIN
|
||||
125620 . 125897) (\BINS 125899 . 126185) (BOUT 126187 . 126549) (\BOUT 126551 . 126866) (\BOUTS 126868
|
||||
. 127179) (COPYBYTES 127181 . 130513) (COPYCHARS 130515 . 134181) (COPYFILE 134183 . 134980) (
|
||||
\COPYOPENFILE 134982 . 138055) (\INFER.FILE.TYPE 138057 . 139011) (EOFP 139013 . 139310) (FORCEOUTPUT
|
||||
139312 . 139559) (\FLUSH.OPEN.STREAMS 139561 . 139917) (CHARSET 139919 . 141583) (ACCESS-CHARSET
|
||||
141585 . 141802) (GETEOFPTR 141804 . 142054) (GETFILEINFO 142056 . 145249) (\TYPE.FROM.FILETYPE 145251
|
||||
. 145721) (\FILETYPE.FROM.TYPE 145723 . 145902) (GETFILEPTR 145904 . 146156) (SETFILEINFO 146158 .
|
||||
149771) (SETFILEPTR 149773 . 151492) (BOUT16 151494 . 151679) (BIN16 151681 . 151870)) (151975 157180
|
||||
(\GENERIC.BINS 151985 . 152265) (\GENERIC.BOUTS 152267 . 152532) (\GENERIC.RENAMEFILE 152534 . 154365)
|
||||
(\GENERIC.OPENP 154367 . 155682) (\GENERIC.READP 155684 . 156725) (\GENERIC.CHARSET 156727 . 157178))
|
||||
(157181 157520 (\MAP-OPEN-STREAMS 157191 . 157518)) (159390 161470 (\EOF.ACTION 159400 . 159651) (
|
||||
\EOSERROR 159653 . 159846) (\GETEOFPTR 159848 . 160030) (\INCFILEPTR 160032 . 160382) (\PEEKBIN 160384
|
||||
. 160575) (\SETCLOSEDFILELENGTH 160577 . 160911) (\SETEOFPTR 160913 . 161101) (\SETFILEPTR 161103 .
|
||||
161468)) (161471 162013 (\FIXPOUT 161481 . 161781) (\FIXPIN 161783 . 162011)) (162014 162580 (\BOUTEOL
|
||||
162024 . 162578)) (165672 175536 (\BUFFERED.BIN 165682 . 166534) (\BUFFERED.PEEKBIN 166536 . 167318)
|
||||
(\BUFFERED.BOUT 167320 . 168180) (\BUFFERED.BINS 168182 . 171867) (\BUFFERED.BOUTS 171869 . 173670) (
|
||||
\BUFFERED.COPYBYTES 173672 . 175534)) (175565 177917 (\NULLDEVICE 175575 . 177593) (\NULL.OPENFILE
|
||||
177595 . 177915)))))
|
||||
(FILEMAP (NIL (28396 31886 (STREAMPROP 28406 . 28840) (GETSTREAMPROP 28842 . 29315) (PUTSTREAMPROP
|
||||
29317 . 31734) (STREAMP 31736 . 31884)) (31929 34448 (\DEFPRINT.BY.NAME 31939 . 33091) (
|
||||
\STREAM.DEFPRINT 33093 . 34141) (\FDEV.DEFPRINT 34143 . 34446)) (34706 39747 (\GETACCESS 34716 . 35170
|
||||
) (\SETACCESS 35172 . 39745)) (63132 64385 (MAKE-EXTERNALFORMAT 63142 . 64383)) (65618 73447 (
|
||||
\INSTALL.EXTERNALFORMAT 65628 . 67077) (\REMOVE.EXTERNALFORMAT 67079 . 67910) (FIND-FORMAT 67912 .
|
||||
68729) (\EXTERNALFORMAT 68731 . 73445)) (73770 75633 (\CREATE.THROUGH.EXTERNALFORMAT 73780 . 74582) (
|
||||
\THROUGHIN 74584 . 75008) (\THROUGHBACKCCODE 75010 . 75281) (\THROUGHOUTCHARFN 75283 . 75631)) (75741
|
||||
81710 (\DEFINEDEVICE 75751 . 78067) (\GETDEVICEFROMNAME 78069 . 78542) (\GETDEVICEFROMHOSTNAME 78544
|
||||
. 79588) (\REMOVEDEVICE 79590 . 80713) (\REMOVEDEVICE.NAMES 80715 . 81708)) (81750 106410 (\CLOSEFILE
|
||||
81760 . 82585) (\DELETEFILE 82587 . 82881) (\DEVICEEVENT 82883 . 84653) (\GENERATEFILES 84655 . 85133
|
||||
) (\GENERATENEXTFILE 85135 . 85786) (\GENERATEFILEINFO 85788 . 86249) (\GETFILENAME 86251 . 86640) (
|
||||
\GENERIC.OUTFILEP 86642 . 87112) (\OPENFILE 87114 . 89692) (\DO.PARAMS.AT.OPEN 89694 . 92247) (
|
||||
\RENAMEFILE 92249 . 92673) (\REVALIDATEFILE 92675 . 95277) (\PAGED.REVALIDATEFILELST 95279 . 96837) (
|
||||
\PAGED.REVALIDATEFILES 96839 . 98558) (\PAGED.REVALIDATEFILE 98560 . 100843) (\BUFFERED.REVALIDATEFILE
|
||||
100845 . 103131) (\BUFFERED.REVALIDATEFILELST 103133 . 104317) (\PRINT-REVALIDATION-RESULT 104319 .
|
||||
104734) (\TRUNCATEFILE 104736 . 105127) (\FILE-CONFLICT 105129 . 106408)) (106446 111109 (
|
||||
\GENERATENOFILES 106456 . 108552) (\NULLFILEGENERATOR 108554 . 108798) (\NOFILESNEXTFILEFN 108800 .
|
||||
110791) (\NOFILESINFOFN 110793 . 111107)) (111228 113136 (\FILE.NOT.OPEN 111238 . 111751) (
|
||||
\FILE.WONT.OPEN 111753 . 112081) (\ILLEGAL.DEVICEOP 112083 . 112365) (\IS.NOT.RANDACCESSP 112367 .
|
||||
112813) (\STREAM.NOT.OPEN 112815 . 113134)) (113271 115569 (\FDEVINSTANCE 113281 . 115567)) (117119
|
||||
124493 (CNDIR 117129 . 118434) (DIRECTORYNAME 118436 . 122619) (DIRECTORYNAMEP 122621 . 123237) (
|
||||
HOSTNAMEP 123239 . 124046) (\ADD.CONNECTED.DIR 124048 . 124491)) (124538 151925 (\BACKFILEPTR 124548
|
||||
. 124736) (\BACKPEEKBIN 124738 . 125099) (\BACKBIN 125101 . 125452) (BIN 125454 . 125671) (\BIN
|
||||
125673 . 125950) (\BINS 125952 . 126238) (BOUT 126240 . 126602) (\BOUT 126604 . 126919) (\BOUTS 126921
|
||||
. 127232) (COPYBYTES 127234 . 130566) (COPYCHARS 130568 . 134234) (COPYFILE 134236 . 135033) (
|
||||
\COPYOPENFILE 135035 . 138108) (\INFER.FILE.TYPE 138110 . 139064) (EOFP 139066 . 139363) (FORCEOUTPUT
|
||||
139365 . 139612) (\FLUSH.OPEN.STREAMS 139614 . 139970) (CHARSET 139972 . 141636) (ACCESS-CHARSET
|
||||
141638 . 141855) (GETEOFPTR 141857 . 142107) (GETFILEINFO 142109 . 145302) (\TYPE.FROM.FILETYPE 145304
|
||||
. 145774) (\FILETYPE.FROM.TYPE 145776 . 145955) (GETFILEPTR 145957 . 146209) (SETFILEINFO 146211 .
|
||||
149824) (SETFILEPTR 149826 . 151545) (BOUT16 151547 . 151732) (BIN16 151734 . 151923)) (152028 157233
|
||||
(\GENERIC.BINS 152038 . 152318) (\GENERIC.BOUTS 152320 . 152585) (\GENERIC.RENAMEFILE 152587 . 154418)
|
||||
(\GENERIC.OPENP 154420 . 155735) (\GENERIC.READP 155737 . 156778) (\GENERIC.CHARSET 156780 . 157231))
|
||||
(157234 157573 (\MAP-OPEN-STREAMS 157244 . 157571)) (159443 161523 (\EOF.ACTION 159453 . 159704) (
|
||||
\EOSERROR 159706 . 159899) (\GETEOFPTR 159901 . 160083) (\INCFILEPTR 160085 . 160435) (\PEEKBIN 160437
|
||||
. 160628) (\SETCLOSEDFILELENGTH 160630 . 160964) (\SETEOFPTR 160966 . 161154) (\SETFILEPTR 161156 .
|
||||
161521)) (161524 162066 (\FIXPOUT 161534 . 161834) (\FIXPIN 161836 . 162064)) (162067 162633 (\BOUTEOL
|
||||
162077 . 162631)) (165725 175589 (\BUFFERED.BIN 165735 . 166587) (\BUFFERED.PEEKBIN 166589 . 167371)
|
||||
(\BUFFERED.BOUT 167373 . 168233) (\BUFFERED.BINS 168235 . 171920) (\BUFFERED.BOUTS 171922 . 173723) (
|
||||
\BUFFERED.COPYBYTES 173725 . 175587)) (175618 177970 (\NULLDEVICE 175628 . 177646) (\NULL.OPENFILE
|
||||
177648 . 177968)))))
|
||||
STOP
|
||||
|
||||
Binary file not shown.
@@ -1,103 +1,103 @@
|
||||
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)
|
||||
(FILECREATED "28-Jun-99 22:10:46" {DSK}<project>medley3.5>sources>FONTPROFILE.;2 29960
|
||||
(FILECREATED " 6-Sep-2021 19:11:32"
|
||||
{DSK}<Users>kaplan>Local>medley3.5>git-medley>sources>FONTPROFILE.;4 30288
|
||||
|
||||
changes to%: (VARS FONTPROFILECOMS)
|
||||
(ALISTS (FONTDEFS NS)
|
||||
(FONTDEFS BIGGERNS))
|
||||
changes to%: (ALISTS (FONTDEFS BIGGERNS))
|
||||
|
||||
previous date%: " 9-Jul-91 18:38:04" {DSK}<project>medley3.5>sources>FONTPROFILE.;1)
|
||||
previous date%: " 6-Sep-2021 15:52:13"
|
||||
{DSK}<Users>kaplan>Local>medley3.5>git-medley>sources>FONTPROFILE.;2)
|
||||
|
||||
|
||||
(* ; "
|
||||
Copyright (c) 1986, 1988, 1990, 1991, 1999 by Venue & Xerox Corporation. All rights reserved.
|
||||
Copyright (c) 1986, 1988, 1990-1991, 1999, 2021 by Venue & Xerox Corporation.
|
||||
")
|
||||
|
||||
(PRETTYCOMPRINT FONTPROFILECOMS)
|
||||
|
||||
(RPAQQ FONTPROFILECOMS
|
||||
(
|
||||
(* ;; "FONT")
|
||||
(* ;; "FONT")
|
||||
|
||||
(ALISTS (FONTDEFS HUGE BIG MEDIUM STANDARD BIGGER NS BIGGERNS))
|
||||
(ADDVARS (CACHEDMENUS BreakMenu WindowMenu BackgroundMenu IconWindowMenu))
|
||||
[VARS (FONTVARS '(
|
||||
(* ;; "standard size fonts. Assumes only DEFAULTFONT set")
|
||||
(* ;; "standard size fonts. Assumes only DEFAULTFONT set")
|
||||
|
||||
(BOLDFONT (FONTCOPY DEFAULTFONT 'FACE 'BOLD))
|
||||
(* ; "default BOLD")
|
||||
(* ; "default BOLD")
|
||||
(ITALICFONT (FONTCOPY DEFAULTFONT 'FACE 'ITALIC))
|
||||
(LITTLEFONT DEFAULTFONT)
|
||||
(* ; " should usually be smaller")
|
||||
(* ; " should usually be smaller")
|
||||
(TINYFONT LITTLEFONT)
|
||||
(* ; "and this one smaller still")
|
||||
(* ; "and this one smaller still")
|
||||
(BIGFONT BOLDFONT)
|
||||
(* ; "should be bigger still")
|
||||
(* ; "should be bigger still")
|
||||
(TEXTFONT DEFAULTFONT)
|
||||
(* ; "default for text")
|
||||
(* ; "default for text")
|
||||
(TEXTBOLDFONT BOLDFONT)
|
||||
(* ; "default for bold text")
|
||||
(* ; "default for bold text")
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for window system, processes")
|
||||
(* ;; "Fonts for window system, processes")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
(MENUFONT DEFAULTFONT T)
|
||||
(BOLDMENUFONT (FONTCOPY MENUFONT 'FACE 'BOLD))
|
||||
(* ; "if not supplied")
|
||||
(* ; "if not supplied")
|
||||
(INTERRUPTMENUFONT DEFAULTFONT T)
|
||||
(* ; "used by control-B")
|
||||
(* ; "used by control-B")
|
||||
(DEFAULTICONFONT MENUFONT)
|
||||
(* ; "for shrinking windows")
|
||||
(* ; "for shrinking windows")
|
||||
(BACKTRACEFONT TINYFONT T)
|
||||
(* ; " for backtrace in debugger")
|
||||
(* ; " for backtrace in debugger")
|
||||
(WINDOWTITLEFONT MENUFONT)
|
||||
((WINDOWTITLEFONT WINDOWTITLEFONT)
|
||||
NIL)
|
||||
(* ; " used for titles of all windows")
|
||||
(* ; " used for titles of all windows")
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for Exec")
|
||||
(* ;; "Fonts for Exec")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
(PROMPTFONT LITTLEFONT)
|
||||
(* ; "for printing out prompts")
|
||||
(* ; "for printing out prompts")
|
||||
(INPUTFONT BOLDFONT)
|
||||
(* ; "for user typein in Exec")
|
||||
(* ; "for user typein in Exec")
|
||||
(PRINTOUTFONT DEFAULTFONT)
|
||||
(* ; " for intermediate typin in Exec")
|
||||
(* ; " for intermediate typin in Exec")
|
||||
(TTYINBOLDFONT (CONS DEFAULTFONT BOLDFONT))
|
||||
(VALUEFONT DEFAULTFONT)
|
||||
(* ;
|
||||
" for printing out values returned in Exec")
|
||||
(* ;
|
||||
" for printing out values returned in Exec")
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for prettyprinting")
|
||||
(* ;; "Fonts for prettyprinting")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
(COMMENTFONT LITTLEFONT)
|
||||
(* ; "for comments ")
|
||||
(* ; "for comments ")
|
||||
(PRETTYCOMFONT BOLDFONT)
|
||||
(* ; " for words being defined")
|
||||
(* ; " for words being defined")
|
||||
(CLISPFONT BOLDFONT)
|
||||
(* ; " for keywords & CLISP")
|
||||
(* ; " for keywords & CLISP")
|
||||
(SYSTEMFONT DEFAULTFONT)
|
||||
(* ; " for %"system%" words(?)")
|
||||
(* ; " for %"system%" words(?)")
|
||||
(LAMBDAFONT BIGFONT)
|
||||
(* ; "for words being defined")
|
||||
(* ; "for words being defined")
|
||||
(USERFONT BOLDFONT)
|
||||
(* ; " for %"user%" defined words")]
|
||||
(* ; " for %"user%" defined words")]
|
||||
(P (MOVD? 'NILL 'WINDOWTITLEFONT))
|
||||
(FNS FONTSET FONTPROFILE FONTPROFILE.ADDDEVICE)
|
||||
(INITVARS (FONTESCAPECHAR (CHARACTER 6))
|
||||
@@ -242,7 +242,11 @@ Copyright (c) 1986, 1988, 1990, 1991, 1999 by Venue & Xerox Corporation. All ri
|
||||
(MODERN 8 MIR))
|
||||
(BIGFONT 4 (MODERN 12 BRR)
|
||||
(MODERN 10 BRR)
|
||||
(MODERN 10 BRR]
|
||||
(MODERN 10 BRR))
|
||||
(MENUFONT 5 (MODERN 10))
|
||||
(COMMENTFONT 6 (MODERN 8)
|
||||
(MODERN 6 MIR)
|
||||
(MODERN 8 MIR]
|
||||
[BIGGERNS (FONTCHANGEFLG . ALL)
|
||||
(FILELINELENGTH . 102)
|
||||
(COMMENTLINELENGTH 116 . 126)
|
||||
@@ -263,89 +267,93 @@ Copyright (c) 1986, 1988, 1990, 1991, 1999 by Venue & Xerox Corporation. All ri
|
||||
(MODERN 8 MIR))
|
||||
(BIGFONT 4 (MODERN 14 BRR)
|
||||
(MODERN 10 BRR)
|
||||
(MODERN 10 BRR])
|
||||
(MODERN 10 BRR))
|
||||
(MENUFONT 5 (MODERN 12))
|
||||
(COMMENTFONT 6 (MODERN 10)
|
||||
(MODERN 8 MIR)
|
||||
(MODERN 10 MIR])
|
||||
|
||||
(ADDTOVAR CACHEDMENUS BreakMenu WindowMenu BackgroundMenu IconWindowMenu)
|
||||
|
||||
(RPAQQ FONTVARS
|
||||
(
|
||||
(* ;; "standard size fonts. Assumes only DEFAULTFONT set")
|
||||
(* ;; "standard size fonts. Assumes only DEFAULTFONT set")
|
||||
|
||||
(BOLDFONT (FONTCOPY DEFAULTFONT 'FACE 'BOLD))
|
||||
(* ; "default BOLD")
|
||||
(* ; "default BOLD")
|
||||
(ITALICFONT (FONTCOPY DEFAULTFONT 'FACE 'ITALIC))
|
||||
(LITTLEFONT DEFAULTFONT)
|
||||
(* ; " should usually be smaller")
|
||||
(* ; " should usually be smaller")
|
||||
(TINYFONT LITTLEFONT)
|
||||
(* ; "and this one smaller still")
|
||||
(* ; "and this one smaller still")
|
||||
(BIGFONT BOLDFONT)
|
||||
(* ; "should be bigger still")
|
||||
(* ; "should be bigger still")
|
||||
(TEXTFONT DEFAULTFONT)
|
||||
(* ; "default for text")
|
||||
(* ; "default for text")
|
||||
(TEXTBOLDFONT BOLDFONT)
|
||||
(* ; "default for bold text")
|
||||
(* ; "default for bold text")
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for window system, processes")
|
||||
(* ;; "Fonts for window system, processes")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
(MENUFONT DEFAULTFONT T)
|
||||
(BOLDMENUFONT (FONTCOPY MENUFONT 'FACE 'BOLD))
|
||||
(* ; "if not supplied")
|
||||
(* ; "if not supplied")
|
||||
(INTERRUPTMENUFONT DEFAULTFONT T)
|
||||
(* ; "used by control-B")
|
||||
(* ; "used by control-B")
|
||||
(DEFAULTICONFONT MENUFONT)
|
||||
(* ; "for shrinking windows")
|
||||
(* ; "for shrinking windows")
|
||||
(BACKTRACEFONT TINYFONT T)
|
||||
(* ; " for backtrace in debugger")
|
||||
(* ; " for backtrace in debugger")
|
||||
(WINDOWTITLEFONT MENUFONT)
|
||||
((WINDOWTITLEFONT WINDOWTITLEFONT)
|
||||
NIL)
|
||||
(* ; " used for titles of all windows")
|
||||
(* ; " used for titles of all windows")
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for Exec")
|
||||
(* ;; "Fonts for Exec")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
(PROMPTFONT LITTLEFONT)
|
||||
(* ; "for printing out prompts")
|
||||
(* ; "for printing out prompts")
|
||||
(INPUTFONT BOLDFONT)
|
||||
(* ; "for user typein in Exec")
|
||||
(* ; "for user typein in Exec")
|
||||
(PRINTOUTFONT DEFAULTFONT)
|
||||
(* ; " for intermediate typin in Exec")
|
||||
(* ; " for intermediate typin in Exec")
|
||||
(TTYINBOLDFONT (CONS DEFAULTFONT BOLDFONT))
|
||||
(VALUEFONT DEFAULTFONT)
|
||||
(* ;
|
||||
" for printing out values returned in Exec")
|
||||
(* ;
|
||||
" for printing out values returned in Exec")
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for prettyprinting")
|
||||
(* ;; "Fonts for prettyprinting")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
(* ;; "")
|
||||
|
||||
(COMMENTFONT LITTLEFONT)
|
||||
(* ; "for comments ")
|
||||
(* ; "for comments ")
|
||||
(PRETTYCOMFONT BOLDFONT)
|
||||
(* ; " for words being defined")
|
||||
(* ; " for words being defined")
|
||||
(CLISPFONT BOLDFONT)
|
||||
(* ; " for keywords & CLISP")
|
||||
(* ; " for keywords & CLISP")
|
||||
(SYSTEMFONT DEFAULTFONT)
|
||||
(* ; " for %"system%" words(?)")
|
||||
(* ; " for %"system%" words(?)")
|
||||
(LAMBDAFONT BIGFONT)
|
||||
(* ; "for words being defined")
|
||||
(* ; "for words being defined")
|
||||
(USERFONT BOLDFONT)
|
||||
(* ; " for %"user%" defined words")))
|
||||
(* ; " for %"user%" defined words")))
|
||||
|
||||
(MOVD? 'NILL 'WINDOWTITLEFONT)
|
||||
(DEFINEQ
|
||||
@@ -591,8 +599,8 @@ Copyright (c) 1986, 1988, 1990, 1991, 1999 by Venue & Xerox Corporation. All ri
|
||||
|
||||
(SETSEPR '(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26)
|
||||
1 FILERDTBL)
|
||||
(PUTPROPS FONTPROFILE COPYRIGHT ("Venue & Xerox Corporation" 1986 1988 1990 1991 1999))
|
||||
(PUTPROPS FONTPROFILE COPYRIGHT ("Venue & Xerox Corporation" 1986 1988 1990 1991 1999 2021))
|
||||
(DECLARE%: DONTCOPY
|
||||
(FILEMAP (NIL (16000 27584 (FONTSET 16010 . 22351) (FONTPROFILE 22353 . 24702) (FONTPROFILE.ADDDEVICE
|
||||
24704 . 27582)) (27820 29719 (FONTMAPARRAY 27830 . 29717)))))
|
||||
(FILEMAP (NIL (16323 27907 (FONTSET 16333 . 22674) (FONTPROFILE 22676 . 25025) (FONTPROFILE.ADDDEVICE
|
||||
25027 . 27905)) (28143 30042 (FONTMAPARRAY 28153 . 30040)))))
|
||||
STOP
|
||||
|
||||
Binary file not shown.
@@ -1,608 +0,0 @@
|
||||
(DEFINE-FILE-INFO READTABLE "INTERLISP" PACKAGE "INTERLISP")
|
||||
(FILECREATED "12-Mar-93 11:02:28" {DSK}<project>medley2.0>patches>FONTPROFILEPATCH.;4 30621
|
||||
|
||||
changes to%: (ALISTS (FONTDEFS HUGE)
|
||||
(FONTDEFS BIG)
|
||||
(FONTDEFS MEDIUM)
|
||||
(FONTDEFS STANDARD)
|
||||
(FONTDEFS BIGGER)
|
||||
(FONTDEFS BIGGERNS)
|
||||
(FONTDEFS NS))
|
||||
|
||||
previous date%: "11-Mar-93 11:51:49" {DSK}<project>medley2.0>patches>FONTPROFILEPATCH.;3)
|
||||
|
||||
|
||||
(* ; "
|
||||
Copyright (c) 1993 by Xerox Corporation. All rights reserved.
|
||||
")
|
||||
|
||||
(PRETTYCOMPRINT FONTPROFILEPATCHCOMS)
|
||||
|
||||
(RPAQQ FONTPROFILEPATCHCOMS
|
||||
(
|
||||
(* ;; "FONT")
|
||||
|
||||
(ALISTS (FONTDEFS HUGE BIG MEDIUM STANDARD BIGGER BIGGERNS NS))
|
||||
(ADDVARS (CACHEDMENUS BreakMenu WindowMenu BackgroundMenu IconWindowMenu))
|
||||
[VARS (FONTVARS '(
|
||||
(* ;; "standard size fonts. Assumes only DEFAULTFONT set")
|
||||
|
||||
(BOLDFONT (FONTCOPY DEFAULTFONT 'FACE 'BOLD))
|
||||
(* ; "default BOLD")
|
||||
(ITALICFONT (FONTCOPY DEFAULTFONT 'FACE 'ITALIC))
|
||||
(LITTLEFONT DEFAULTFONT)
|
||||
(* ; " should usually be smaller")
|
||||
(TINYFONT LITTLEFONT)
|
||||
(* ; "and this one smaller still")
|
||||
(BIGFONT BOLDFONT)
|
||||
(* ; "should be bigger still")
|
||||
(TEXTFONT DEFAULTFONT)
|
||||
(* ; "default for text")
|
||||
(TEXTBOLDFONT BOLDFONT)
|
||||
(* ; "default for bold text")
|
||||
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for window system, processes")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
|
||||
(MENUFONT DEFAULTFONT T)
|
||||
(BOLDMENUFONT (FONTCOPY MENUFONT 'FACE 'BOLD))
|
||||
(* ; "if not supplied")
|
||||
(INTERRUPTMENUFONT DEFAULTFONT T)
|
||||
(* ; "used by control-B")
|
||||
(DEFAULTICONFONT MENUFONT)
|
||||
(* ; "for shrinking windows")
|
||||
(BACKTRACEFONT TINYFONT T)
|
||||
(* ; " for backtrace in debugger")
|
||||
(WINDOWTITLEFONT MENUFONT)
|
||||
((WINDOWTITLEFONT WINDOWTITLEFONT)
|
||||
NIL)
|
||||
(* ; " used for titles of all windows")
|
||||
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for Exec")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
|
||||
(PROMPTFONT LITTLEFONT)
|
||||
(* ; "for printing out prompts")
|
||||
(INPUTFONT BOLDFONT)
|
||||
(* ; "for user typein in Exec")
|
||||
(PRINTOUTFONT DEFAULTFONT)
|
||||
(* ; " for intermediate typin in Exec")
|
||||
(TTYINBOLDFONT (CONS DEFAULTFONT BOLDFONT))
|
||||
(VALUEFONT DEFAULTFONT)
|
||||
(* ;
|
||||
" for printing out values returned in Exec")
|
||||
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for prettyprinting")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
|
||||
(COMMENTFONT LITTLEFONT)
|
||||
(* ; "for comments ")
|
||||
(PRETTYCOMFONT BOLDFONT)
|
||||
(* ; " for words being defined")
|
||||
(CLISPFONT BOLDFONT)
|
||||
(* ; " for keywords & CLISP")
|
||||
(SYSTEMFONT DEFAULTFONT)
|
||||
(* ; " for %"system%" words(?)")
|
||||
(LAMBDAFONT BIGFONT)
|
||||
(* ; "for words being defined")
|
||||
(USERFONT BOLDFONT)
|
||||
(* ; " for %"user%" defined words")]
|
||||
(P (MOVD? 'NILL 'WINDOWTITLEFONT))
|
||||
(FNS FONTSET FONTPROFILE FONTPROFILE.ADDDEVICE)
|
||||
(INITVARS (FONTESCAPECHAR (CHARACTER 6))
|
||||
(FONTFNS)
|
||||
(FONTWORDS))
|
||||
[DECLARE%: DONTEVAL@LOAD DOCOPY (P (FONTSET 'STANDARD]
|
||||
(GLOBALVARS FONTPROFILE FONTESCAPECHAR FONTDEFS)
|
||||
(FNS FONTMAPARRAY)
|
||||
(INITVARS (\FONTMAPCACHE))
|
||||
(P (SETSEPR '(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26)
|
||||
1 FILERDTBL))))
|
||||
|
||||
|
||||
|
||||
(* ;; "FONT")
|
||||
|
||||
|
||||
(ADDTOVAR FONTDEFS
|
||||
[HUGE (FONTPROFILE (DEFAULTFONT 1 (MODERN 24)
|
||||
NIL
|
||||
(TERMINAL 8))
|
||||
(BOLDFONT 2 (MODERN 24 BRR)
|
||||
NIL
|
||||
(MODERN 8 BRR))
|
||||
(LITTLEFONT 3 (MODERN 18 MRR)
|
||||
NIL
|
||||
(MODERN 8 MIR))
|
||||
(BIGFONT 4 (MODERN 36 BRR)
|
||||
NIL
|
||||
(MODERN 10 BRR))
|
||||
(TEXTFONT 5 (CLASSIC 24)
|
||||
NIL
|
||||
(CLASSIC 10))
|
||||
(TEXTBOLDFONT 7 (CLASSIC 24 BRR)
|
||||
NIL
|
||||
(CLASSIC 10 BRR]
|
||||
[BIG (FONTPROFILE (DEFAULTFONT 1 (MODERN 18)
|
||||
NIL
|
||||
(TERMINAL 8))
|
||||
(TEXTFONT 5 (CLASSIC 18)
|
||||
NIL
|
||||
(CLASSIC 10))
|
||||
(BOLDFONT 2 (MODERN 18 BRR)
|
||||
NIL
|
||||
(MODERN 8 BRR))
|
||||
(LITTLEFONT 3 (MODERN 12 MRR)
|
||||
NIL
|
||||
(MODERN 8 MIR))
|
||||
(BIGFONT 4 (MODERN 24 BRR)
|
||||
NIL
|
||||
(MODERN 10 BRR))
|
||||
(TEXTBOLDFONT 7 (CLASSIC 18 BRR)
|
||||
NIL
|
||||
(CLASSIC 10 BRR]
|
||||
[MEDIUM (FONTPROFILE (DEFAULTFONT 1 (MODERN 14)
|
||||
NIL
|
||||
(TERMINAL 8))
|
||||
(BOLDFONT 2 (MODERN 14 BRR)
|
||||
NIL
|
||||
(MODERN 8 BRR))
|
||||
(LITTLEFONT 3 (MODERN 10)
|
||||
NIL
|
||||
(MODERN 8 MIR))
|
||||
(BIGFONT 4 (MODERN 18)
|
||||
NIL
|
||||
(MODERN 10 BRR))
|
||||
(TEXTFONT 5 (CLASSIC 14)
|
||||
NIL
|
||||
(CLASSIC 10))
|
||||
(TEXTBOLDFONT 7 (CLASSIC 14 BRR)
|
||||
NIL
|
||||
(CLASSIC 10 BRR]
|
||||
[STANDARD (FONTCHANGEFLG . ALL)
|
||||
(FILELINELENGTH . 102)
|
||||
(FONTPROFILE (DEFAULTFONT 1 (GACHA 10)
|
||||
(GACHA 8)
|
||||
(TERMINAL 8))
|
||||
(ITALICFONT 1 (HELVETICA 10 MIR)
|
||||
(GACHA 8 MIR)
|
||||
(MODERN 8 MIR))
|
||||
(BOLDFONT 2 (HELVETICA 10 BRR)
|
||||
(HELVETICA 8 BRR)
|
||||
(MODERN 8 BRR))
|
||||
(LITTLEFONT 3 (HELVETICA 8)
|
||||
(HELVETICA 6 MIR)
|
||||
(MODERN 8 MIR))
|
||||
(TINYFONT 6 (GACHA 8)
|
||||
(GACHA 6)
|
||||
(TERMINAL 6))
|
||||
(BIGFONT 4 (HELVETICA 12 BRR)
|
||||
NIL
|
||||
(MODERN 10 BRR))
|
||||
(MENUFONT 5 (HELVETICA 10))
|
||||
(COMMENTFONT 6 (HELVETICA 10)
|
||||
(HELVETICA 8)
|
||||
(MODERN 8))
|
||||
(TEXTFONT 7 (TIMESROMAN 10)
|
||||
NIL
|
||||
(CLASSIC 10]
|
||||
[BIGGER (FONTPROFILE (DEFAULTFONT 1 (GACHA 12)
|
||||
NIL
|
||||
(TERMINAL 8))
|
||||
(ITALICFONT 1 (HELVETICA 12 MIR)
|
||||
(GACHA 8 MIR)
|
||||
(MODERN 8 MIR))
|
||||
(BOLDFONT 2 (HELVETICA 12 BRR)
|
||||
(HELVETICA 8 BRR)
|
||||
(MODERN 8 BRR))
|
||||
(LITTLEFONT 3 (HELVETICA 10)
|
||||
(HELVETICA 6 MIR)
|
||||
(MODERN 8 MIR))
|
||||
(TINYFONT 6 (GACHA 10)
|
||||
(GACHA 6)
|
||||
(TERMINAL 6))
|
||||
(BIGFONT 4 (HELVETICA 14 BRR)
|
||||
NIL
|
||||
(MODERN 10 BRR))
|
||||
(MENUFONT 5 (HELVETICA 12))
|
||||
(COMMENTFONT 6 (HELVETICA 12)
|
||||
(HELVETICA 8)
|
||||
(MODERN 8))
|
||||
(TEXTFONT 7 (TIMESROMAN 12)
|
||||
NIL
|
||||
(CLASSIC 10]
|
||||
[BIGGERNS (FONTCHANGEFLG . ALL)
|
||||
(FILELINELENGTH . 102)
|
||||
(COMMENTLINELENGTH 116 . 126)
|
||||
(FIRSTCOL . 60)
|
||||
(PRETTYLCOM . 25)
|
||||
(FONTESCAPECHAR . %)
|
||||
(FONTPROFILE (DEFAULTFONT 1 (TERMINAL 12)
|
||||
(TERMINAL 8)
|
||||
(TERMINAL 8))
|
||||
(ITALICFONT 1 (MODERN 12 BIR)
|
||||
(MODERN 8 BIR)
|
||||
(MODERN 8 BIR))
|
||||
(BOLDFONT 2 (MODERN 12 BRR)
|
||||
(MODERN 8 BRR)
|
||||
(MODERN 8 BRR))
|
||||
(LITTLEFONT 3 (MODERN 10)
|
||||
(MODERN 6 MIR)
|
||||
(MODERN 8 MIR))
|
||||
(BIGFONT 4 (MODERN 14 BRR)
|
||||
(MODERN 10 BRR)
|
||||
(MODERN 10 BRR]
|
||||
[NS (FONTCHANGEFLG . ALL)
|
||||
(FILELINELENGTH . 102)
|
||||
(COMMENTLINELENGTH 116 . 126)
|
||||
(FIRSTCOL . 60)
|
||||
(PRETTYLCOM . 25)
|
||||
(FONTESCAPECHAR . %)
|
||||
(FONTPROFILE (DEFAULTFONT 1 (TERMINAL 10)
|
||||
(TERMINAL 8)
|
||||
(TERMINAL 8))
|
||||
(ITALICFONT 1 (MODERN 10 BIR)
|
||||
(MODERN 8 BIR)
|
||||
(MODERN 8 BIR))
|
||||
(BOLDFONT 2 (MODERN 10 BRR)
|
||||
(MODERN 8 BRR)
|
||||
(MODERN 8 BRR))
|
||||
(LITTLEFONT 3 (MODERN 8)
|
||||
(MODERN 6 MIR)
|
||||
(MODERN 8 MIR))
|
||||
(BIGFONT 4 (MODERN 12 BRR)
|
||||
(MODERN 10 BRR)
|
||||
(MODERN 10 BRR])
|
||||
|
||||
(ADDTOVAR CACHEDMENUS BreakMenu WindowMenu BackgroundMenu IconWindowMenu)
|
||||
|
||||
(RPAQQ FONTVARS
|
||||
(
|
||||
(* ;; "standard size fonts. Assumes only DEFAULTFONT set")
|
||||
|
||||
(BOLDFONT (FONTCOPY DEFAULTFONT 'FACE 'BOLD))
|
||||
(* ; "default BOLD")
|
||||
(ITALICFONT (FONTCOPY DEFAULTFONT 'FACE 'ITALIC))
|
||||
(LITTLEFONT DEFAULTFONT)
|
||||
(* ; " should usually be smaller")
|
||||
(TINYFONT LITTLEFONT)
|
||||
(* ; "and this one smaller still")
|
||||
(BIGFONT BOLDFONT)
|
||||
(* ; "should be bigger still")
|
||||
(TEXTFONT DEFAULTFONT)
|
||||
(* ; "default for text")
|
||||
(TEXTBOLDFONT BOLDFONT)
|
||||
(* ; "default for bold text")
|
||||
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for window system, processes")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
|
||||
(MENUFONT DEFAULTFONT T)
|
||||
(BOLDMENUFONT (FONTCOPY MENUFONT 'FACE 'BOLD))
|
||||
(* ; "if not supplied")
|
||||
(INTERRUPTMENUFONT DEFAULTFONT T)
|
||||
(* ; "used by control-B")
|
||||
(DEFAULTICONFONT MENUFONT)
|
||||
(* ; "for shrinking windows")
|
||||
(BACKTRACEFONT TINYFONT T)
|
||||
(* ; " for backtrace in debugger")
|
||||
(WINDOWTITLEFONT MENUFONT)
|
||||
((WINDOWTITLEFONT WINDOWTITLEFONT)
|
||||
NIL)
|
||||
(* ; " used for titles of all windows")
|
||||
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for Exec")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
|
||||
(PROMPTFONT LITTLEFONT)
|
||||
(* ; "for printing out prompts")
|
||||
(INPUTFONT BOLDFONT)
|
||||
(* ; "for user typein in Exec")
|
||||
(PRINTOUTFONT DEFAULTFONT)
|
||||
(* ; " for intermediate typin in Exec")
|
||||
(TTYINBOLDFONT (CONS DEFAULTFONT BOLDFONT))
|
||||
(VALUEFONT DEFAULTFONT)
|
||||
(* ;
|
||||
" for printing out values returned in Exec")
|
||||
|
||||
(* ;; "")
|
||||
|
||||
|
||||
(* ;; "Fonts for prettyprinting")
|
||||
|
||||
|
||||
(* ;; "")
|
||||
|
||||
(COMMENTFONT LITTLEFONT)
|
||||
(* ; "for comments ")
|
||||
(PRETTYCOMFONT BOLDFONT)
|
||||
(* ; " for words being defined")
|
||||
(CLISPFONT BOLDFONT)
|
||||
(* ; " for keywords & CLISP")
|
||||
(SYSTEMFONT DEFAULTFONT)
|
||||
(* ; " for %"system%" words(?)")
|
||||
(LAMBDAFONT BIGFONT)
|
||||
(* ; "for words being defined")
|
||||
(USERFONT BOLDFONT)
|
||||
(* ; " for %"user%" defined words")))
|
||||
|
||||
(MOVD? 'NILL 'WINDOWTITLEFONT)
|
||||
(DEFINEQ
|
||||
|
||||
(FONTSET
|
||||
[LAMBDA (NAME CHANGE-WINDOWS?) (* ; "Edited 23-Jun-88 10:46 by jds")
|
||||
(COND
|
||||
[NAME
|
||||
(LET
|
||||
[(TEM (FASSOC NAME FONTDEFS))
|
||||
(OLDDEFAULT (FONTCREATE DEFAULTFONT NIL NIL NIL 'DISPLAY]
|
||||
(OR TEM (ERROR NAME "not a defined font configuration"))
|
||||
|
||||
(* ;; "Looks up NAME on FONTSLST and sets apropriate parameters. entries are added to fontslst by FONTNAME.")
|
||||
|
||||
(for X in FONTVARS when (AND (CL:SYMBOLP (CAR X))
|
||||
(NEQ (CAR X)
|
||||
'*)
|
||||
(NEQ (CAR X)
|
||||
(CADR X))) do (SETTOPVAL (CAR X)))
|
||||
[MAPC (CDR TEM)
|
||||
(FUNCTION (LAMBDA (X)
|
||||
(/SETTOPVAL (CAR X)
|
||||
(CDR X]
|
||||
[PROG (BASICCLASSES)
|
||||
(for X in FONTPROFILE
|
||||
do (PROG (SEEN (NAME (CAR X))
|
||||
(FONTS X))
|
||||
LP [COND
|
||||
((MEMB (CAR FONTS)
|
||||
SEEN)
|
||||
(ERROR "Circular font profile specification" X))
|
||||
(T (push SEEN (CAR FONTS]
|
||||
[SETQ FONTS (CDR (COND
|
||||
((OR (NULL (CADR FONTS))
|
||||
(LISTP (CADR FONTS)))
|
||||
(*)
|
||||
(* ;
|
||||
"This skips over the now-defunct NIL or list-of-escape sequence")
|
||||
(CDR FONTS))
|
||||
(T FONTS]
|
||||
(COND
|
||||
((OR (NLISTP FONTS)
|
||||
(LITATOM (CAR FONTS)))(* ;
|
||||
"Indirect thru another's font spec")
|
||||
(AND (SETQ FONTS (ASSOC (SELECTQ (CAR (LISTP FONTS))
|
||||
((NIL DEFAULTFONT)
|
||||
(* ;
|
||||
"Don't let DEFAULTFONT loop thru itself")
|
||||
(AND (NOT (MEMB 'DEFAULTFONT SEEN
|
||||
))
|
||||
'DEFAULTFONT))
|
||||
(CAR FONTS))
|
||||
FONTPROFILE))
|
||||
(GO LP)))
|
||||
(T [push BASICCLASSES (SETQ FONTS (FONTCLASS NAME FONTS
|
||||
'DISPLAY]
|
||||
(* ;
|
||||
"Now we have a font class datastructure")
|
||||
))
|
||||
(AND NAME (/SETTOPVAL NAME FONTS))
|
||||
|
||||
(* ;; "NIL for the class-name means just establish the font-correspondences but don't connect them up with a pretty class name.")
|
||||
|
||||
))
|
||||
(AND BASICCLASSES (FONTMAPARRAY BASICCLASSES 'DISPLAY]
|
||||
[for X in FONTVARS when (NEQ (CAR X)
|
||||
'*)
|
||||
do (COND
|
||||
((LISTP (CAR X))
|
||||
(EVAL (CAR X)))
|
||||
[(CADDR X)
|
||||
(SET (CAR X)
|
||||
(FONTCREATE (OR (GETTOPVAL (CAR X))
|
||||
(EVAL (CADR X))
|
||||
DEFAULTFONT)
|
||||
NIL NIL NIL 'DISPLAY]
|
||||
(T (OR (GETTOPVAL (CAR X))
|
||||
(AND (CADR X)
|
||||
(SET (CAR X)
|
||||
(EVAL (CADR X]
|
||||
(CL:WHEN CHANGE-WINDOWS?
|
||||
(CL:WHEN (NEQ OLDDEFAULT (FONTCREATE DEFAULTFONT NIL NIL NIL 'DISPLAY))
|
||||
(for X in (OPENWINDOWS) when (EQ OLDDEFAULT (DSPFONT NIL X))
|
||||
do (DSPFONT DEFAULTFONT X)))
|
||||
(DSPFONT WINDOWTITLEFONT WindowTitleDisplayStream)
|
||||
(SETQ MaxValueLeftMargin (ITIMES 35 (STRINGWIDTH 'A DEFAULTFONT)))
|
||||
(MAPC CACHEDMENUS 'SET)
|
||||
[for W in (OPENWINDOWS) do [COND
|
||||
[(OR (EQ (WINDOWPROP W 'RESHAPEFN)
|
||||
'DONT)
|
||||
(WINDOWPROP W 'MAINWINDOW]
|
||||
(T
|
||||
(* ;;
|
||||
"don't reshape if can't or if this window is attached to another.")
|
||||
|
||||
(SHAPEW W (WINDOWREGION W]
|
||||
(COND
|
||||
((AND (NEQ (WINDOWPROP W 'WINDOWENTRYFN)
|
||||
(FUNCTION \TEDIT.PROCIDLEFN))
|
||||
(WINDOWPROP W 'REPAINTFN))
|
||||
(REDISPLAYW W])
|
||||
|
||||
(* ;; "Set the new font profile name, and return the old one, so he can restore later.")
|
||||
|
||||
(PROG1 FONTNAME (SETQ FONTNAME NAME]
|
||||
(T (* ;
|
||||
"He passed in NIL, so return font profile name in effect.")
|
||||
FONTNAME])
|
||||
|
||||
(FONTPROFILE
|
||||
[LAMBDA (PROFILE) (* lmm "10-Sep-86 12:33")
|
||||
[PROG (BASICCLASSES)
|
||||
(for X in PROFILE
|
||||
do (PROG (SEEN (NAME (CAR X))
|
||||
(FONTS X))
|
||||
LP [COND
|
||||
((MEMB (CAR FONTS)
|
||||
SEEN)
|
||||
(ERROR "Circular font profile specification" X))
|
||||
(T (push SEEN (CAR FONTS]
|
||||
[SETQ FONTS (CDR (COND
|
||||
((OR (NULL (CADR FONTS))
|
||||
(LISTP (CADR FONTS)))
|
||||
(* ;
|
||||
"This skips over the now-defunct NIL or list-of-escape sequence")
|
||||
(CDR FONTS))
|
||||
(T FONTS]
|
||||
(COND
|
||||
((OR (NLISTP FONTS)
|
||||
(LITATOM (CAR FONTS))) (* Indirect thru another's font spec)
|
||||
(AND (SETQ FONTS (ASSOC (SELECTQ (CAR (LISTP FONTS))
|
||||
((NIL DEFAULTFONT)
|
||||
(* Don't let DEFAULTFONT loop thru
|
||||
itself)
|
||||
(AND (NOT (MEMB 'DEFAULTFONT SEEN))
|
||||
'DEFAULTFONT))
|
||||
(CAR FONTS))
|
||||
PROFILE))
|
||||
(GO LP)))
|
||||
(T [push BASICCLASSES (SETQ FONTS (FONTCLASS NAME FONTS 'DISPLAY]
|
||||
(* Now we have a font class
|
||||
datastructure)
|
||||
))
|
||||
(AND NAME (/SETATOMVAL NAME FONTS))
|
||||
|
||||
(* NIL for the class-name means just establish the font-correspondences but
|
||||
don't connect them up with a pretty class name.)
|
||||
|
||||
))
|
||||
(AND BASICCLASSES (FONTMAPARRAY BASICCLASSES 'DISPLAY]
|
||||
T])
|
||||
|
||||
(FONTPROFILE.ADDDEVICE
|
||||
[LAMBDA (NEWDEVICE OLDDEVICE) (* ; "Edited 3-Mar-93 14:46 by rmk:")
|
||||
|
||||
(* ;; "Fills in all fontprofile specifications so that an entry for NEWDEVICE is present for each fontclass. Nothing is changed if the entry is already there, otherwise the specification for the class currently provided for OLDDEVICE will be used for NEWDEVICE.")
|
||||
|
||||
(DECLARE (USEDFREE FONTDEFS FONTNAME))
|
||||
(SETQ NEWDEVICE (U-CASE NEWDEVICE))
|
||||
(SETQ OLDDEVICE (U-CASE OLDDEVICE))
|
||||
[FOR FD IN FONTDEFS
|
||||
DO (FOR FC OLDSPEC IN (CDR (ASSOC 'FONTPROFILE (CDR FD)))
|
||||
UNLESS (LITATOM (CADR FC))
|
||||
DO (SETQ FC (CDR FC)) (* ; "Skip over name")
|
||||
(CL:WHEN [SETQ OLDSPEC (SELECTQ OLDDEVICE
|
||||
(DISPLAY (CADR FC))
|
||||
(INTERPRESS (CADDDR FC))
|
||||
(PRESS (CADDR FC))
|
||||
(CADR (ASSOC OLDDEVICE (CDDDDR FC]
|
||||
[SETQ FC (OR (CDR FC)
|
||||
(CDR (RPLACD FC (CONS]
|
||||
(* ;
|
||||
"Fill in NIL's for missing DISPLAY, PRESS, or INTERPRESS")
|
||||
[SELECTQ NEWDEVICE
|
||||
(DISPLAY (OR (CAR FC)
|
||||
(RPLACA FC OLDSPEC)))
|
||||
(INTERPRESS (OR (CADDR FC)
|
||||
(RPLACA [PROGN [SETQ FC (OR (CDR FC)
|
||||
(CDR (RPLACD FC (CONS]
|
||||
(OR (CDR FC)
|
||||
(CDR (RPLACD FC (CONS]
|
||||
OLDSPEC)))
|
||||
(PRESS (OR (CADDR FC)
|
||||
(RPLACA [OR (CDR FC)
|
||||
(CDR (RPLACD FC (CONS]
|
||||
OLDSPEC)))
|
||||
(OR (CADR (ASSOC NEWDEVICE (CDDDR FC)))
|
||||
(PROGN (PROGN [SETQ FC (OR (CDR FC)
|
||||
(CDR (RPLACD FC (CONS]
|
||||
[SETQ FC (OR (CDR FC)
|
||||
(CDR (RPLACD FC (CONS]
|
||||
(PUSH (CDR FC)
|
||||
(LIST NEWDEVICE OLDSPEC])]
|
||||
(FONTSET FONTNAME])
|
||||
)
|
||||
|
||||
(RPAQ? FONTESCAPECHAR (CHARACTER 6))
|
||||
|
||||
(RPAQ? FONTFNS )
|
||||
|
||||
(RPAQ? FONTWORDS )
|
||||
(DECLARE%: DONTEVAL@LOAD DOCOPY
|
||||
|
||||
(FONTSET 'STANDARD)
|
||||
)
|
||||
(DECLARE%: DOEVAL@COMPILE DONTCOPY
|
||||
|
||||
(GLOBALVARS FONTPROFILE FONTESCAPECHAR FONTDEFS)
|
||||
)
|
||||
(DEFINEQ
|
||||
|
||||
(FONTMAPARRAY
|
||||
[LAMBDA (FONTCLASSES) (* lmm "28-Sep-86 14:23")
|
||||
|
||||
(* ;; "Makes a font array from a font-mapping list of fontclasses. The array provides a fast map from font# to font classes/descriptors. This function caches the last array. If IMAGETYPES is given, then the FD's are pre-computed for the imagetypes it. Otherwise, the first use of the fontclass for that imagetype would cause the fontcreate to be done.")
|
||||
|
||||
(PROG (FA (MAXFONT 0)
|
||||
(MINFONT 100))
|
||||
[COND
|
||||
((NULL \FONTMAPCACHE))
|
||||
((OR (NULL FONTCLASSES)
|
||||
(EQUAL FONTCLASSES (CAR \FONTMAPCACHE)))
|
||||
(RETURN (CDR \FONTMAPCACHE]
|
||||
[for F PRETTYFONT# in FONTCLASSES do (SETQ PRETTYFONT# (fetch (FONTCLASS
|
||||
PRETTYFONT#)
|
||||
of F))
|
||||
(COND
|
||||
((IGREATERP PRETTYFONT# MAXFONT)
|
||||
(SETQ MAXFONT PRETTYFONT#)))
|
||||
(COND
|
||||
((ILESSP PRETTYFONT# 1)
|
||||
(ERROR "Invalid font number"
|
||||
PRETTYFONT# F))
|
||||
((ILESSP PRETTYFONT# MINFONT)
|
||||
(SETQ MINFONT PRETTYFONT#]
|
||||
(SETQ FA (ARRAY MAXFONT))
|
||||
(for F in FONTCLASSES do (SETA FA (fetch (FONTCLASS PRETTYFONT#)
|
||||
of F)
|
||||
F))
|
||||
(for I from 1 to MAXFONT unless (ELT FA I)
|
||||
do (SETA FA I (ELT FA MINFONT)))
|
||||
(SETQ \FONTMAPCACHE (CONS (COPY FONTCLASSES)
|
||||
FA))
|
||||
(RETURN FA])
|
||||
)
|
||||
|
||||
(RPAQ? \FONTMAPCACHE )
|
||||
|
||||
(SETSEPR '(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26)
|
||||
1 FILERDTBL)
|
||||
(PUTPROPS FONTPROFILEPATCH COPYRIGHT ("Xerox Corporation" 1993))
|
||||
(DECLARE%: DONTCOPY
|
||||
(FILEMAP (NIL (16158 27897 (FONTSET 16168 . 22509) (FONTPROFILE 22511 . 25015) (FONTPROFILE.ADDDEVICE
|
||||
25017 . 27895)) (28133 30403 (FONTMAPARRAY 28143 . 30401)))))
|
||||
STOP
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10 FORMAT XCCS)
|
||||
(FILECREATED " 8-Aug-2021 00:19:22" ("compiled on "
|
||||
{DSK}<Users>kaplan>Local>medley3.5>git-medley>sources>LLDISPLAY.;7) " 6-Aug-2021 20:53:08"
|
||||
"COMPILE-FILEd" in "FULL 6-Aug-2021 ..." dated " 6-Aug-2021 20:53:13")
|
||||
(DEFINE-FILE-INFO PACKAGE "INTERLISP" READTABLE "INTERLISP" BASE 10)
|
||||
(FILECREATED " 6-Sep-2021 16:23:29" ("compiled on "
|
||||
{DSK}<Users>kaplan>Local>medley3.5>git-medley>sources>LLDISPLAY.;10) " 6-Sep-2021 15:59:15"
|
||||
"COMPILE-FILEd" in "FULL 6-Sep-2021 ..." dated " 6-Sep-2021 15:59:21")
|
||||
(FILECREATED " 8-Aug-2021 00:19:22" {DSK}<Users>kaplan>Local>medley3.5>git-medley>sources>LLDISPLAY.;7
|
||||
268927 changes to%: (FNS READBITMAP) previous date%: " 1-Aug-2021 23:41:37"
|
||||
{DSK}<Users>kaplan>Local>medley3.5>git-medley>sources>LLDISPLAY.;6)
|
||||
@@ -120,18 +120,18 @@ NIL | ||||