bug-ncurses
[Top][All Lists]
Advanced

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

Re: dialog --pause not timing out on serial console (dialog 1.2)


From: Grant Edwards
Subject: Re: dialog --pause not timing out on serial console (dialog 1.2)
Date: Fri, 23 Jul 2021 19:45:15 -0000 (UTC)
User-agent: slrn/1.0.3 (Linux)

On 2021-07-23, Rich Coe <richcoe2@gmail.com> wrote:
> On Fri, 23 Jul 2021 16:07:49 +0300
> Stefan Puiu <stefan.puiu@gmail.com> wrote:
>> Hi Paul,
>> 
>> On Thu, Jul 22, 2021 at 1:29 PM Paul Fertser <fercerpav@gmail.com> wrote:
>> I suspected Rich was talking about a hardware tweak, but was secretly
>> hoping for a software workaround :). Thanks for chiming in.
>
> You can attempt to set CLOCAL on the port.  But it's going to be a race
> between whatever application/kernel writes output on the console and your
> workaround to set CLOCAL.

If you want CLOCAL set on a console port, the normal way is to
configure inittab to pass the appropriate option the the getty that's
running on that port.

For agetty, that option is

       -L, --local-line

          Force the line to be a local line with no need for carrier
          detect. This can be useful when you have a locally attached
          terminal where the serial line does not set the carrier
          detect signal.

I _think_ the linux kernel console driver doesn't use the normal tty
layer and ignores CD, so the clocal setting should be irrelevent to
stuff written by the kernel itself. I may be wrong about that...






reply via email to

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