Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Dec 2000 23:40:40 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Warner Losh <imp@village.org>
Cc:        arch@FreeBSD.ORG
Subject:   Re: Rui Pedro Mendes Salgueiro: erase2 patch (was: 4.2-RELEASE ISO image  for x86 updated.)
Message-ID:  <3A289968.63C593E2@softweyr.com>
References:  <3A24B642.34B50961@softweyr.com>  <52694.975362925@winston.osd.bsdi.com> <20001127144809.A67395@citusc17.usc.edu> <200011272307.eARN7Ln34886@earth.backplane.com> <200012012008.NAA08306@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh wrote:
> 
> In message <3A24B642.34B50961@softweyr.com> Wes Peters writes:
> : IMHO, this is one of the biggest arguments for using bash.  I get bitten
> : all the time when I leave bash for another interactive program that no
> : longer provides BS/DEL compatibility.  Fixing it everywhere is a good
> : idea.
> 
> I see that this has already been committed.  I'm not going to argue
> with that (I think it was a good idea), but there are other issues in
> the tree.
> 
> The issue that I have is that there are many places in the tree where
> the erase character is known and things are done based on it.  Will
> all of those be updated to have the two aces?  There's a hack in hack
> right now:
> 
> ./games/hack/hack.tty.c:                if(c == erase_char || c == '\b') {
> 
> as well as other examples in the tree.
> 
> Talk also has a provision for transporting these characters over the
> interface.  If both were allowed, some translation would also be
> needed.

It shouldn't make any different if the interface is in raw mode, which is
pretty much required for any character-at-a-time I/O.  I would have 
preferred to see this in a special line discipline module rather than
buried on the bowels of the tty driver, so it could be optional behavior.

-- 
            "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                         Softweyr LLC
wes@softweyr.com                                           http://softweyr.com/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A289968.63C593E2>