Skip Menu |
 

Download (untitled) / with headers
text/plain 1.6KiB
From dima@burka.rdy.com Thu Apr 23 15:19:32 1998
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) 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 burka.rdy.com by MIT.EDU with SMTP
id AA08230; Thu, 23 Apr 98 15:19:24 EDT
Received: by burka.rdy.com id MAA23182;
(8.8.8/RDY) Thu, 23 Apr 1998 12:19:19 -0700 (PDT)
Message-Id: <199804231919.MAA23182@burka.rdy.com>
Date: Thu, 23 Apr 1998 12:19:19 -0700 (PDT)
From: dima@burka.rdy.com (Dima Ruban)
Reply-To: dima@burka.rdy.com
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
>Last-Modified:
>Originator: Dima Ruban
>Organization:
Best Internet Communications, Inc.
Show quoted text
>Release: krb5-current-19980422
>Environment:

System: FreeBSD burka.rdy.com 2.2.6-STABLE FreeBSD 2.2.6-STABLE #111: Wed Apr 1 11:48:25 PST 1998 dima@burka.rdy.com:/a/src/sys/compile/BURKA i386

Show quoted text
>Description:

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

Show quoted text
>How-To-Repeat:

"telnet -x -8 somewhere"

Show quoted text
>Fix:
The problem is that OPOST terminal mode is set before "done.\n" was
printed.
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
>Audit-Trail:
>Unformatted: