[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launched by rungetty bash breaks terminal input interpretation upon

From: Paul Jarc
Subject: Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change
Date: Tue, 04 Dec 2001 13:09:03 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

Dumas Patrice <address@hidden> wrote:
> However, it seems to me that utmp accounting does account for the tty line
> using the:
> char ut_line[UT_LINESIZE];    /* device name of tty - "/dev/" */
> in the struct utmp, which is set by getty without reference to the id,
> but looking at the command line argument.

Right, but getty only handles half of the accounting, at login.  init
handles the other half at logout, and it uses the inittab id field to
find the record it's supposed to clean up.

> Plus, I think it should be better to have everything work ok without utmp
> accounting. Is it normal that the terminal doesn't translate characters in
> the right way when there is no utmp accounting ?

It can work if you don't use utmp accounting at all.  But right now,
you do have utmp accounting, and it's wrong.  So that might be
contributing to your problem somehow.

> I can't see why it should be the case, it seems to me that the utmp
> accounting of the line/init id is for information only and shouldn't
> lead to a change in the terminal settings.

Could be.  Fix the accounting problem, like I said, and then you'll
know whether it's causing the terminal problem.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]