tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tn3270, mset and map3270

In article <201003142116.RAA26007%Sparkle.Rodents-Montreal.ORG@localhost>,
der Mouse  <mouse%Rodents-Montreal.ORG@localhost> wrote:
>>> It also occurred to me, after I sent that, that ptys (which have
>>> been around a fairly long time) are ttys but not serial ports.
>> They are imitation serial ports.
>Not really.  They're imitation ttys.
>> Consider for example:
>>    valkyrie% tty
>>    /dev/pts/33
>>    valkyrie% stty -a
>>    speed 38400 baud; 24 rows; 80 columns;
>>       :
>> 38400 baud, eh?
>Right.  That's a botch in the tty interface, in that there is no value
>for that field for "there is no serial line backing this tty; speed
>figures are meaningless".  You almost certainly can transfer data
>through that pty substantially faster than 38400 bits per second.

Not that simple; ttys should behave consistently. For example, a program
expects that the tty will hangup when setting speed to 0, and ptys obey
that currently.


Home | Main Index | Thread Index | Old Index