www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/03/30/05:03:12

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <370098CD.D13764BE@cityweb.de>
Date: Tue, 30 Mar 1999 11:26:37 +0200
From: Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Chris Faylor <cgf AT cygnus DOT com>
CC: Sergey Okhapkin <sos AT prospect DOT com DOT ru>,
cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: Latest tty changes.
References: <01BE7A2D DOT 1FCFC660 AT r7a003723as DOT hlb DOT cable DOT rcn DOT com> <19990329225224 DOT A2777 AT cygnus DOT com>

The problem with login via telnetd remains the same :(

After typing the username and LF (or CR), the connection is lost.

Corinna

Chris Faylor wrote:
> 
> Thank you.  I've applied this change and it does seem to fix things.
> It shouldn't make a difference but it does.  Now I just have to figure
> out why.
> 
> -chris
> 
> On Mon, Mar 29, 1999 at 09:42:57PM -0500, Sergey Okhapkin wrote:
> >The problem with binmode and tty (single LF output instead of CRLR) still exists if CYGWIN set to tty. Here is the fix:
> >
> >fhandler_tty.cc        (fhandler_tty_master::init): initialize termios flags to force
> >                               CR after LF.
> >
> >--- fhandler_tty.cc.orig        Wed Mar 24 22:22:47 1999
> >+++ fhandler_tty.cc     Mon Mar 29 19:11:21 1999
> >@@ -66,6 +66,7 @@ fhandler_tty_master::init (int ntty)
> >
> >   termios ti;
> >   memset (&ti, 0, sizeof (ti));
> >+  ti.c_oflag = ONLRET;
> >   console->tcsetattr (0, &ti);
> >
> >   ttyp->common_init (this);
> >
> >
> >--
> >Sergey Okhapkin, http://www.lexa.ru/sos
> >Piscataway, NJ
> >
> >
> 
> --
> cgf AT cygnus DOT com
> http://www.cygnus.com/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019