Many people want their 3270 emulator to act like a word processor : ).

Steve Bireley
Managing Director
Research and Development
Rocket Software
70 Main St., Suite 51 • Warrenton, VA 20186 • USA
Tel: +1.404.364.1731 • Mobile: +1.571.216.3530
Email: sbire...@rocketsoftware.com
Web: www.rocketsoftware.com  


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of McKown, John
Sent: Thursday, June 28, 2012 1:16 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: HELP WITH PCOM - PASTE OPTION NOT WORKING CORRECTLY

I guess that I always thought of "paste" as "automated keystroke entry". 

Q: Try to insert more characters than the field allows? 
A: Do what a 3270 would do, insert the max possible and then lock the keyboard.

Q: Blanks at end of field?
A: Either lock or, if emulator (unlike 3270) is set to act as if trailing 
blanks are nulls when in insert mode, do that. 
   If inserting even more, see previous answer. I.e. insert as much as 
possible, then lock.

On "cut", I would think that is a copy (copy to clipboard) followed by a 
delete. There is no clipboard on a 3270. But there is a delete key. On a 3270, 
IIRC, when you pressed the delete key in a modifiable field, the rest of the 
field moved to the left one character. Do so for every character involved in 
the "cut" operation area. If you are completely within a non-modifiable field, 
copy the characters but do not delete the characters on the screen or in the 
3270 buffer. If you "cut" and part is in a non-modifiable field and another 
part is in a modifiable, copy all the characters in the operation area, but 
delete only those within the operation area which are in the modifiable field.

That is what is my "intuition" says makes sense. Other may legitimately 
disagree because we are going beyond what can be done on actual 3270 hardware.

--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone *
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

> -----Original Message-----
> From: IBM Mainframe Discussion List
> [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Steve Bireley
> Sent: Thursday, June 28, 2012 11:19 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: HELP WITH PCOM - PASTE OPTION NOT WORKING CORRECTLY
> 
> The Copy and Paste varies greatly between emulators. It is not easy to 
> implement because of the field oriented nature of the 3270 screen.  
> Many emulators support paste in insert mode and must handle the data 
> in the field properly. What if the field is not long enough? Do you 
> push the data to the next field, clip it, or lock the keyboard with an 
> error?  What if the field is padded with spaces? Do you treat the 
> spaces as nulls or do the spaces mean something when the modified 
> screen is sent back to the host.  If you push the data on paste, do 
> you wrap it to the next field? If you wrap it, on cut do you unwrap 
> it?  If you paste in overwrite mode, but the pasted data is not as 
> long as the remaining data do you leave the extra data or 
> automatically erase to the end of the field?
> 
> Pcomm does some Copy/Paste functions very well, just differently from 
> what a PC does or some other emulators, including the ones I am 
> responsible for developing which handle paste in insert mode. You 
> might check Pcomm's edit options to see if you can change the 
> behavior.
> 
> 
> Steve Bireley
> Managing Director
> Research and Development
> Rocket Software
> 70 Main St., Suite 51 * Warrenton, VA 20186 * USA
> Tel: +1.404.364.1731 * Mobile: +1.571.216.3530
> Email: sbire...@rocketsoftware.com
> Web: www.rocketsoftware.com
> BlueZone and Passport Terminal Emulation BlueZone Secure FTP is FREE
> 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to