"Протокол" IBM3270 - обычная терминалка. Вот ее настройки по termcap:
ibm327x{gn{ce=^M{cl=^M^J{ho=^M{
`gn'
Flag whose presence means that this terminal type is a generic type
which does not really describe any particular terminal. Generic
types are intended for use as the default type assigned when the
user connects to the system, with the intention that the user
should specify what type he really has. One example of a generic
type is the type `network'.
Since the generic type cannot say how to do anything interesting
with the terminal, termcap-using programs will always find that the
terminal is too weak to be supported if the user has failed to
specify a real terminal type in place of the generic one. The
`gn' flag directs these programs to use a different error message{
"You have not specified your real terminal type", rather than
"Your terminal is not powerful enough to be used".
ce - очистка строки от позиции курсора, до конца строки.
cl - очистка экрана и перемещение курсора в верхний левый угол.
ho - переместить курсор в начало строки.
Что-то малова-то ф-ий у него... Возможно у кого-нибудь есть более подробная информация об этом терминале?
А к чему и по какому протоколу нужно подсоединиться - в задаче не сказано.