Re: PDOS/3x0 on real hardware

"kerravon86-/[email protected] [hercules-390]" <[email protected]>
Newsgroups gmane.comp.emulators.hercules390.general
Message-ID <[email protected]>
---In [email protected], <tharminc@...> wrote :

> I would make this a modal thing. In UNIXy terms, you would do an
> ioctl() to the device to flip it from line mode to 3270 mode and back.
> So by default you'd start in line mode, dumb C programs would work
> without knowing anything about 3270s, but then a program written for
> this could issue ioctl(3270_MODE) and then you'd see (and have to
> send) all the attribute chars and such.

Ok, thanks.

> In a sense TPUT/TGET provide this STFSMODE, etc.), but the line-mode
> interface is much more like a 2741 than like a modern ASCII line-mode
> TTY. If you want to continue with your usual "everything is a byte
> stream, C is the best, etc." approach, then the ioctl() approach is
> probably good.

It's nice to know that it is an option, but I
think getting RPF to run unchanged,
meaning 3270 is done via a different
SVC, is a better approach. And I think
the C standard should be expanded to
include fsread() and fswrite() functions
to provide a more flexible interface to
fullscreen operations. Rather than
adding ioctl and forcing stdin/stdout to
handle the fullscreen operations.

What would your recommendation be
if I wasn't allegedly saying that C is
the best?

BFN. Paul.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.