Artifact 34da76080b178c5138f95766834f52ac16aa8079ecfe04f1f6bd193b9ae4cd14:
- File
psl-1983/3-1/kernel/20/io-data.red
— 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: 3400) [annotate] [blame] [check-ins using] [more...]
% % IO-DATA.RED - Data structures used by input and output % % Author: Eric Benson % Symbolic Computation Group % Computer Science Dept. % University of Utah % Date: 21 September 1981 % Copyright (c) 1981 University of Utah % % 01-Mar-83 Nancy Kendzierski % Added initialization of UnReadBuffer and LinePosition. % <PSL.KERNEL-20>IO-DATA.RED.2, 29-Dec-82 12:19:36, Edit by PERDUE % Added PagePosition array to support LPOSN on SysLisp; internal WConst MaxTokenSize = 5000; exported WString TokenBuffer[MaxTokenSize]; exported WConst MaxChannels = 31; % All need (MaxChannels + 1) initial values. exported WArray ReadFunction = ['TerminalInputHandler, 'WriteOnlyChannel, 'WriteOnlyChannel, 'CompressReadChar, 'WriteOnlyChannel, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen], WriteFunction = ['ReadOnlyChannel, 'Dec20WriteChar, 'ToStringWriteChar, 'ExplodeWriteChar, 'FlatSizeWriteChar, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen], CloseFunction = ['IllegalStandardChannelClose, 'IllegalStandardChannelClose, 'IllegalStandardChannelClose, 'IllegalStandardChannelClose, 'IllegalStandardChannelClose, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen, 'ChannelNotOpen], UnReadBuffer = [0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0], LinePosition = [0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0], PagePosition[MaxChannels], MaxLine = [0,80,80,10000,10000, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0], JFNOfChannel = [8#100,8#101,-1,-1,-1, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0,0,0,0, 0,0]; off SysLisp; global '(!$EOL!$); LoadTime(!$EOL!$ := '! ); END;