Mailing List Archive


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

Re: [tlug] Bash question



On Thu, Sep 19, 2019 at 10:22 AM Darren Cook <darren@example.com> wrote:
>
> >>> What is the hypervisor and hostOS? Most probably it is to blame.
>
> When you press ctrl-c, "^C" appears in the shell but does not stop the
> program.
>
> Doesn't that narrow the problem down to somewhere between bash and the
> program that won't stop? If the problem was higher up, the "^C" wouldn't
> appear?
>
Nope, since "^C" is not a symbol (but two) and it is just one way of
visualizing it.
It happens under bash, actually the tty controlling program interprets
Ctrl+C and sends SIGINT (by default) to the process in foreground
(bash in this case); or does not and just prints "^C"

And there are quite a few ttys out there, so another idea would be to
confirm what is running in this troublesome system.
* hardware console (agetty, mgetty, mingetty, fbgetty, something else)?
* serial console
* some X11 implementation

Cheers,
Kalin.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links