Skip Menu |

Download (untitled) / with headers
text/plain 1.6KiB
From Thu Apr 23 15:19:32 1998
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU []) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id PAA03060 for <bugs@RT-11.MIT.EDU>; Thu, 23 Apr 1998 15:19:31 -0400
Received: from by MIT.EDU with SMTP
id AA08230; Thu, 23 Apr 98 15:19:24 EDT
Received: by id MAA23182;
(8.8.8/RDY) Thu, 23 Apr 1998 12:19:19 -0700 (PDT)
Message-Id: <>
Date: Thu, 23 Apr 1998 12:19:19 -0700 (PDT)
From: (Dima Ruban)
To: krb5-bugs@MIT.EDU
Subject: OPOST and printf()
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 584
>Category: telnet
>Synopsis: OPOST and printf()
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: hartmans
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Apr 23 15:20:00 EDT 1998
>Originator: Dima Ruban
Best Internet Communications, Inc.
Show quoted text
>Release: krb5-current-19980422

System: FreeBSD 2.2.6-STABLE FreeBSD 2.2.6-STABLE #111: Wed Apr 1 11:48:25 PST 1998 i386

Show quoted text

When using "telnet -x -8 host", "Last login" line is shifted.

Show quoted text

"telnet -x -8 somewhere"

Show quoted text
The problem is that OPOST terminal mode is set before "done.\n" was
OPOST is set by TerminalNewMode() function (telnet.c:2342)
and printf("done.\n") is called later on. (telnet.c:2352)

Clearly, this piece of the code should be re-worked.
Show quoted text