Browse Prior Art Database

OS/2 Presentation Manager Clipboard Support for a Windowed 5250 Emulator

IP.com Disclosure Number: IPCOM000109024D
Original Publication Date: 1992-Jul-01
Included in the Prior Art Database: 2005-Mar-23

Publishing Venue

IBM

Related People

Erickson, CR: AUTHOR [+2]

Abstract

This article describes OS/2* Presentation Manager* clipboard support for a 5250 emulator in an OS/2 Presentation Manager window. The 5250 emulator is part of OS/2 Extended Services 2.0 Communications Manager.

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

OS/2 Presentation Manager Clipboard Support for a Windowed 5250 Emulator

       This article describes OS/2* Presentation Manager*
clipboard support for a 5250 emulator in an OS/2 Presentation Manager
window.  The 5250 emulator is part of OS/2 Extended Services 2.0
Communications Manager.

      In the OS/2 Extended Services 2.0 Communications Manager, the
5250 emulator uses an inteface which is equivalent to the 3270
emulator which was provided in OS/2 Extended Edition 1.3
Communications Manager.  The 3270 emulator provided support for the
OS/2 Presentation Manager clipboard (hereafter, referred to simply as
clipboard); however, the level of support provided was insufficient
to handle the variety of field types and field characteristics that
are available for a 5250-type terminal.

      The 3270 emulator clipboard support provides for only
alphanumeric-type fields and recognizes only protected and
unprotected areas of the display.  This support allows any type of
data to be pasted into any unprotected areas of the display and the
cut operation simply fills the unprotected portions of the marked
area with blank characters.

      The 5250 emulator, on the other hand, provides support for the
following types of fields:
o   Alphabetic Only
o   Alphabetic Shift
o   Numeric Shift
o   Numeric Only
o   Digits Only
o   Signed Numeric
o   I/O Field
o   I/O Attention

      In addition, these fields may have the following
characteristics:
o   Column separator attribute
o   Bypass (same as 3270 protected)
o   Dup capable
o   Field Exit Required
o   Mandatory Fill
o   Monocase
o   Right Adjust
o   Auto Enter
o   Mandatory Enter
o   Modulus 10/11 Self Check fields
NOTE:  For a complete description of these field types and
characteristics, please refer to the 5250 Functions Reference Manual
SA21-9247.

      These unique field types and characteristics produce some
clipboard related problems for the 5250 mode of the emulator.
1.   Not all characters can be pasted into some 5250 fields. For
example, alpha data cannot be pasted into Numeric Only fields.
2.   Blanks cannot be used to replace data during the cut operation
in some types of 5250 fields.  For example, Digits Only fields do not
allow blanks.
3.   The column separator character (a character used in place of a
null or blank to enhance the visibility of a field) cannot be copied
directly to the clipboard because it is not the actual data.  The
actual data in the field is a null or blank.
4.   The null character is significant in 5250 fields and should not
be replaced with a blank during a cut operation.
5.   Clipboard operations typically do not result in data being sent
to a host system; however, 5250 Auto Enter fields provide an
opportunity for this.
6.   In general, any clipboard operation that would result in the
5250 presentation space being in a state that could not also be
achieved via the keyboard should not be...