Re: Question about linemode implementation...

Theodore Ts'o <tytso@athena.mit.edu> Tue, 26 April 1994 20:19 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa14490; 26 Apr 94 16:19 EDT
Received: from CNRI.RESTON.VA.US by IETF.CNRI.Reston.VA.US id aa14486; 26 Apr 94 16:19 EDT
Received: from timbuk.cray.com by CNRI.Reston.VA.US id aa17760; 26 Apr 94 16:19 EDT
Received: from sdiv.cray.com (ironwood.cray.com) by cray.com (Bob mailer 1.2) id AA13953; Tue, 26 Apr 94 14:58:30 CDT
Received: by sdiv.cray.com (5.0/CRI-5.14 Sdiv) id AA03994; Tue, 26 Apr 1994 14:57:41 +0600
Received: from cray.com (timbuk.cray.com) by sdiv.cray.com (5.0/CRI-5.14 Sdiv) id AA03989; Tue, 26 Apr 1994 14:57:37 +0600
Received: from tsx-11.MIT.EDU by cray.com (Bob mailer 1.2) id AA13891; Tue, 26 Apr 94 14:57:35 CDT
Received: by tsx-11.MIT.EDU with sendmail-5.61/1.2, id AA00444; Tue, 26 Apr 94 15:55:49 EDT
Date: Tue, 26 Apr 94 15:55:49 EDT
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Theodore Ts'o <tytso@athena.mit.edu>
Message-Id: <9404261955.AA00444@tsx-11.MIT.EDU>
To: Steve Parker <sparker@damrak.eng.sun.com>
Cc: telnet-ietf@cray.com
In-Reply-To: Steve Parker's message of Tue, 26 Apr 1994 10:43:00 -0700, <9404261743.AA12127@damrak.Eng.Sun.COM>
Subject: Re: Question about linemode implementation...
Address: 1 Amherst St., Cambridge, MA 02139
Phone: (617) 253-8091
Content-Length: 872

   Date: Tue, 26 Apr 1994 10:43:00 -0700
   From: Steve Parker <sparker@damrak.Eng.Sun.COM>

   To me, it seems clear that the server would refuse to negotiate those
   options if they were in conflict with the present state of the "pty"
   set by the application.  For example, if the application has set the
   pty into "raw" mode, negotiating remote edit should probably be refused.
   (And I think I can make similar arguments about flow, trapsig and echo.)

   Is it correct that a reasonable and compliant linemode server would
   refuse mode changes in that way?

That might be one reason why a server might refuse changes.  The server
is free to refuse changes for any reason, including the fact that it
doesn't support linemode --- or perhaps the way the server is
implemented, it isn't able to switch into linemode after the connection
is set up.

						- Ted