[comp.unix.wizards] termcap entry for ibm 3278-2

scowles@lll-lcc.aRpA (Sid Cowles) (07/08/87)

would anyone with a termcap entry for an ibm 3278-2 please send me
a copy of same?  it would definitely be appreciated very much.

================================================================
s cowles
uucp:    lll-lcc!esd!scowles
arpa:    esd!scowles@lll-lcc.arpa
bitnet:  esd!scowles%lll-lcc.arpa@wiscvm.bitnet

ron@topaz.rutgers.edu.UUCP (07/08/87)

A 3278 does not work like an ASCII terminal (becuase it isn't one)
but uses a special control stream consisting of EBCDIC characters
and various special codes.  If it can use termcap at all, it would
depend on the software in use that makes it appear to be an async
ascii terminal.

-Ron

bzs@bu-cs.bu.EDU (Barry Shein) (07/09/87)

>A 3278 does not work like an ASCII terminal (becuase it isn't one)
>but uses a special control stream consisting of EBCDIC characters
>and various special codes.  If it can use termcap at all, it would
>depend on the software in use that makes it appear to be an async
>ascii terminal.
>
>-Ron

My only guess is that this person is using telnet from an IBM mainframe
with a 3278-2. I've done this and basically you get a line-mode terminal
(you type in a line, locally edited, it's sent when you hit ENTER.)

About all the termcap entry could do is set the fact that it is thus
(I guess specifying it as a hard-copy terminal would come close
enough) and set the rows and columns appropriately (3278s come in
several sizes.)  This would at least cause MORE to behave properly
(sort of, the 3278 does local page hold.) Other than that I don't
think there's a whole lot that can be done (if my assumption is
correct about how you're using it.)

Just modify the lpr entry adding the name, columns and rows and
removing :os:, for starters. You should be pretty close.

	-Barry Shein, Boston University