Diagnose instructions require that you be in supervisor state. Thus, you'd
need to have it occur in a device driver. Are you operating as a 3270 or in
the line-mode (3215) emulation of a virtual machine console?

> -----Original Message-----
> Hello,
>
> I am working with Linux/390 and I am trying to do a few things with
> the 3270 console.  One of the first things I am trying to do is to
> clear the screen.  I have been unable to do that so far.  I
> have tried the
> following things:
>         - Looking in the termcap or terminfo databases.  The
> termcap and
>           terminfo sections for 3270 are quite incomplete.
> As a result,
>           programs like /bin/clear don't function properly.
>         - In looking around, I found a diagnose 58 call that
> appears to work in
>           CMS, but fails with an invalid instruction in
> Linux.  Either I am not
>           calling it correctly, or it doesn't work unless you
> are using CMS.
>
> I am looking for an easy way to clear the 3270 screen from Linux.  If
> anyone can point to documentation about that, that would be greatly
> appreciated.  If anyone knows if it is possible to clear the screen
> with inbound data that would be even better.

Reply via email to