Re: Fwd: agetty not show username as I input on a serial term

2011-09-27 Thread Bruce Dubbs
xinglp wrote: > On Wed, Sep 28, 2011 at 12:26 AM, Bruce Dubbs wrote: >> Try this sed: >> >> sed -i -e 's/cflag \& (ECHO)/lflag \& ECHO/' term-utils/agetty.c > > shy ? -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubsc

Re: Fwd: agetty not show username as I input on a serial term

2011-09-27 Thread xinglp
On Wed, Sep 28, 2011 at 12:26 AM, Bruce Dubbs wrote: > xinglp wrote: >> On Tue, Sep 27, 2011 at 12:40 AM, Bruce Dubbs wrote: >>> See if this works as well: >>> >>> sed -i -e 's/(ECHO)/ECHO/' term-utils/agetty.c >> It's  "c_cflag --> c_lflag" . >> Maybe you need to see a oculist > > I generally do

Re: Fwd: agetty not show username as I input on a serial term

2011-09-27 Thread Bruce Dubbs
xinglp wrote: > On Tue, Sep 27, 2011 at 12:40 AM, Bruce Dubbs wrote: >> See if this works as well: >> >> sed -i -e 's/(ECHO)/ECHO/' term-utils/agetty.c > It's "c_cflag --> c_lflag" . > Maybe you need to see a oculist I generally don't use a utf-8 character encoding, so your patch looks like the

Re: Fwd: agetty not show username as I input on a serial term

2011-09-27 Thread xinglp
On Tue, Sep 27, 2011 at 12:40 AM, Bruce Dubbs wrote: > See if this works as well: > > sed -i -e 's/(ECHO)/ECHO/' term-utils/agetty.c It's "c_cflag --> c_lflag" . Maybe you need to see a oculist > >   -- Bruce > > > xinglp wrote: >> -- Forwarded message -- >> From: Karel Zak >> D

Re: Fwd: agetty not show username as I input on a serial term

2011-09-26 Thread Bruce Dubbs
See if this works as well: sed -i -e 's/(ECHO)/ECHO/' term-utils/agetty.c -- Bruce xinglp wrote: > -- Forwarded message -- > From: Karel Zak > Date: Mon, Sep 26, 2011 at 6:52 PM > Subject: Re: agetty not show username as I input on a serial term > To: xinglp > Cc: util-li..

Fwd: agetty not show username as I input on a serial term

2011-09-26 Thread xinglp
-- Forwarded message -- From: Karel Zak Date: Mon, Sep 26, 2011 at 6:52 PM Subject: Re: agetty not show username as I input on a serial term To: xinglp Cc: util-li...@vger.kernel.org On Fri, Sep 02, 2011 at 02:26:17PM +0800, xinglp wrote: > When I  login  on a serial term,  I ty