NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/55423 (/bin/csh freezes when some interactive programs are suspended)
The following reply was made to PR bin/55423; it has been noted by GNATS.
From: Christos Zoulas <christos%zoulas.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost,
kd%panix.com@localhost
Subject: Re: bin/55423 (/bin/csh freezes when some interactive programs are
suspended)
Date: Wed, 7 Jul 2021 09:54:33 +0300
--Apple-Mail=_8B00187C-1CD5-4441-89EB-187F9BB4D4DC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
As I mentioned before, this happens only with shells that don't use =
command line
editing. (csh and sh by default). Others that do (bash, tcsh, ash, zsh) =
reset the
tty modes.
christos
> On Jul 7, 2021, at 3:40 AM, Kenneth Dunlap <kd%panix.com@localhost> wrote:
>=20
> The following reply was made to PR bin/55423; it has been noted by =
GNATS.
>=20
> From: Kenneth Dunlap <kd%panix.com@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: bin/55423 (/bin/csh freezes when some interactive =
programs are
> suspended)
> Date: Tue, 6 Jul 2021 20:39:05 -0400
>=20
> Quoth David Holland (dholland-bugs%netbsd.org@localhost):
>> The following reply was made to PR bin/55423; it has been noted by =
GNATS.
>>=20
>> From: David Holland <dholland-bugs%netbsd.org@localhost>
>> To: gnats-bugs%netbsd.org@localhost
>> Cc:
>> Subject: Re: bin/55423 (/bin/csh freezes when some interactive =
programs are
>> suspended)
>> Date: Tue, 6 Jul 2021 23:53:40 +0000
>>=20
>> On Sun, Jul 04, 2021 at 08:45:01PM +0000, Robert Elz wrote:
>>> | My guess is that the job control state is borked, but I'm
>>> | not sure how to check that from another shell.
>>>=20
>>> My guess is that the terminal is in non-echo (probably) cbreak mode,
>>> and that ...
>>>=20
>>> | Probably need to have py38-readline installed for the behavior =
to
>>> | manifest.
>>>=20
>>> that thing, or the application using it, isn't catching SIGTSTP to =
return
>>> the terminal to a sane mode before the process suspends.
>>>=20
>>> Try blind typing "stty sane^J" (ie: end with an explicit line feed,
>>> not carriage-return) and see what happens.
>>=20
>> I had tried that but it didn't occur to me to use ^J, so of course it
>> didn't work and thus seemed completely dead. Oops.
>>=20
>> oh well.
>>=20
>> To the original submitter: consider filing an upstream python bug
>> report. Some things using readline fail and others don't, so it's
>> probably not directly a readline issue. I think.
>>=20
>=20
> But, it is far more than just python which is failing, and it is
> *only* failing with /bin/csh. It happens with a wide range of
> software, as was pointed out in the original bug report.
>=20
> [panix5-kd] ~/Misc <0> /bin/csh
> You have new mail.
> % irb
> irb(main):001:0>
> Suspended
>=20
> csh is now frozen
>=20
>=20
> % R
>=20
> R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
> Copyright (C) 2020 The R Foundation for Statistical Computing
> Platform: x86_64-unknown-netbsd9.0 (64-bit)
>=20
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>=20
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>=20
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>=20
>>=20
> Suspended
>=20
> csh is now frozen
>=20
>=20
> [panix5-kd] ~/Misc <0> /bin/csh
> % erl
> Erlang/OTP 23 [erts-11.1.6] [source] [64-bit] [smp:3:3] [ds:3:3:10] =
[async-threads:1] [hipe]
>=20
> Eshell V11.1.6 (abort with ^G)
> 1>
> Suspended
> %
>=20
>=20
> csh is now frozen.
>=20
> Ken
> --
> A vacuum is a hell of a lot better than some of the stuff nature fills =
it with.
> --Tennessee =
Williams
>=20
--Apple-Mail=_8B00187C-1CD5-4441-89EB-187F9BB4D4DC
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename=signature.asc
Content-Type: application/pgp-signature;
name=signature.asc
Content-Description: Message signed with OpenPGP
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCYOVPqQAKCRBxESqxbLM7
Og/SAJ9iD1Oct9ixwTt4Xk137nc6PlDG4gCgkROwj4mz2a+u52/I/P36rmHLWss=
=5NOW
-----END PGP SIGNATURE-----
--Apple-Mail=_8B00187C-1CD5-4441-89EB-187F9BB4D4DC--
Home |
Main Index |
Thread Index |
Old Index