Re: Recent TTYDEF_LFLAG default change

From: Andrey Chernov (ache_at_nagual.pp.ru)
Date: 11/03/04

  • Next message: Poul-Henning Kamp: "Re: Recent TTYDEF_LFLAG default change"
    Date: Wed, 3 Nov 2004 14:18:13 +0300
    To: Poul-Henning Kamp <phk@phk.freebsd.dk>
    
    

    On Wed, Nov 03, 2004 at 12:15:34PM +0100, Poul-Henning Kamp wrote:
    > Because if you open a serial port and it defaults to echo, you may end up in
    > an "echo-war" with the other end before you ever get a chance to call
    > ioctl and disable echoing.

    Well, use TTYDEF_LFLAG_NOECHO I suggest for that case and leave
    user-visible default untouched to not break userland programs.

    -- 
    http://ache.pp.ru/
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Poul-Henning Kamp: "Re: Recent TTYDEF_LFLAG default change"

    Relevant Pages

    • Re: Recent TTYDEF_LFLAG default change
      ... >> Because if you open a serial port and it defaults to echo, ... >> ioctl and disable echoing. ...
      (freebsd-current)
    • Re: Recent TTYDEF_LFLAG default change
      ... In message, Andrey Chernov writes: ... >> Because if you open a serial port and it defaults to echo, ... >> ioctl and disable echoing. ...
      (freebsd-current)
    • Re: rs485 on SBC84500
      ... > data to a serial port. ... If a sufficient driver was never created, you end up using ioctl ... to control the devices registers directly from user space. ...
      (comp.os.linux.embedded)
    • Re: Problem with tcgetattr
      ... I've only implemented a line discipline for the serial port, ... but all the rest is the serial driver. ... You are intercepting the ioctl or else replacing the ... So the only thing I do against serial module is the line discipline: ...
      (comp.os.linux.development.system)
    • Re: Device Driver Design Issues
      ... There does exist cards where multiple devices ... > more than one serial port, for such a card you should have ... Using a ioctl is fine ... Lew Pitcher, IT Consultant, Enterprise Application Architecture Enterprise Technology Solutions, TD Bank Financial Group ...
      (comp.os.linux.development.system)