Browse Prior Art Database

Enhanced Word-Wrap Support in a Work Station Controller/Personal Computer Emulator

IP.com Disclosure Number: IPCOM000111316D
Original Publication Date: 1994-Feb-01
Included in the Prior Art Database: 2005-Mar-26
Document File: 4 page(s) / 181K

Publishing Venue

IBM

Related People

Boegel, MA: AUTHOR [+3]

Abstract

Work station controller support and Personal Computer (PC)-based emulator support of word-wrap entry fields for a host-based application is disclosed.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 30% of the total text.

Enhanced Word-Wrap Support in a Work Station Controller/Personal
Computer Emulator

      Work station controller support and Personal Computer
(PC)-based emulator support of word-wrap entry fields for a
host-based application is disclosed.

      A Work Station Controller (WSC) supports multiple
Non-Programmable Terminals (NPTs).  A WSC enables host-based
applications to be accessed from an NPT.  The host application and
WSC communicate via some type of display data stream.  WSCs can be
locally attached to a host system (via system bus) or remotely
attached via some type of communication line.  A WSC communicates
with NPTs across a communication cable using a communication
protocol.

      PC emulators can emulate the combination of a WSC and an
attached NPT, giving the PC user access to host-based applications.
The functions listed below describe WSC processing; however, most of
these functions are also applicable to a PC emulator.

      A host application can define a word-spill entry field.
Word-spill is an optional parameter when defining an entry field.
Word-spill is a useful function within long entry fields, which span
multiple lines.  Word-spill is also a useful function within
continued entry fields, which are constructed of multiple continued
field segments.  The following Figure shows a continued word-spill
entry field with some typed data:

   Enter Note Text . . . @Please send a copy of the document ....@

                         @that describes this function so I can .@

                         @read about it..........................@

Notes:

1.  '@' are display attributes

2.  '.' are nulls which are added by the WSC to pad the entry field
data

3.  The words "that" and "read" were spilled

Specific word-spill functions are described below.

      Processing of Data Character Keystrokes

      When the user types a data character in a word-spill entry
field, the WSC copies all of the data from the entry field into a
continuous buffer in WSC memory, while removing nulls (blanks are not
removed).  If the user was in replace mode, the new character is
written to the buffer at the correct location.  If the user was in
insert mode, the new character is inserted in the buffer at the
correct location.  Then, the data characters are written back to the
entry field with word-wrap processing (words are not allowed to span
lines -- nulls are added to the ends of lines and segments, as
needed, to pad the line or segment), and the remainder of the entry
field is written to nulls.  In replace mode, the cursor is placed one
position past the character which was just typed.  In insert mode,
the cursor remains under the same character (wherever it ends up).

      Note: With many lines or segments on the screen, it is possible
for the number of wrapped characters to increase from line to line
(an avalanche effect).  The number of wrapped characters could
...