Hi, All

Sorry, I was on vacation last week.

The command

        echo -e \\f

performs a form feed on an xterm or on a 3270 line-mode terminal.  You
could make an alias named clear for it:

        alias clear='echo -e \\f'

All the echo control characters seem to work except \\v and \\b; see
echo(1).

The UTS Global 3270 line-mode driver was designed to handle many
commonly encountered ESC sequences too, for example those generated by
the ls command in its full-color glory; for another example, those nice
RedHat tabulated OK and PASSED and FAILED lines.  I've been sitting on
a patch to clear up several problems in this area.

On the other hand, there are things a PC tube can do that even a 3279
cannot, as far as I know (and I'd be delighted to be wrong), namely
specify a different foreground color and background color.  Still,
there are problems with the current implementation.  I'll get the patch
out real soon now.

Richard Hitt  [EMAIL PROTECTED]


> From [EMAIL PROTECTED] Wed May 29 08:36:05 2002
> MIME-Version: 1.0
> X-MIMETrack: Serialize by Router on D01MLC96/01/M/IBM(Release 5.0.10 MATTTEST
>              |May 17, 2002) at 05/29/2002 11:28:00 AM,
>              Serialize complete at 05/29/2002 11:28:00 AM
> Approved-By:  Alan Altmark <[EMAIL PROTECTED]>
> Date:         Wed, 29 May 2002 11:17:56 -0400
> From: Alan Altmark <[EMAIL PROTECTED]>
> Subject: Re: [LINUX-390] Clearing the 3270 terminal
> To: [EMAIL PROTECTED]
>
> On Wednesday, 05/29/2002 at 10:47 CET, Dougie G
> Lawson/UK/Contr/IBM@LOTUSINT wrote:
> > > IF you are using 3270 support (ie: that contributed by UTSGlobal)
> > > then you might be able to effect a 3270 clear screen operation
> > > by feeding the right 3270 program down the 3270 side of that driver.
> >
> > Sending this  X'C71140C13C404000'  should clear any 3270, any mode,
> > primary or alt screen size.
> >
> > C7              - wcc
> > 1140C1          - sba row 1 col 2
> > 3C404000        - repeat to addr row 1 col 1 char x'00'
> >
> > Regards, Dougie Lawson
>
> What semantic triggers a clear screen operation?  Writing FF (form feed)?
>
> If you can persuade the driver to use EWA instead of W, the SBA an RA
> isn't necessary.  (A good driver would never use plain EW unless it needs
> to force the geometry to 24x80.)
>
> Alan Altmark
> Sr. Software Engineer
> IBM z/VM Development
>

Reply via email to