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: 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

 Quoth David Holland (dholland-bugs%netbsd.org@localhost):
 > The following reply was made to PR bin/55423; it has been noted by GNATS.
 > 
 > 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
 > 
 >  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.
 >   >  
 >   >  My guess is that the terminal is in non-echo (probably) cbreak mode,
 >   >  and that ...
 >   >  
 >   >    |  Probably need to have py38-readline installed for the behavior to
 >   >    |  manifest.
 >   >  
 >   >  that thing, or the application using it, isn't catching SIGTSTP to return
 >   >  the terminal to a sane mode before the process suspends.
 >   >  
 >   >  Try blind typing "stty sane^J"  (ie: end with an explicit line feed,
 >   >  not carriage-return) and see what happens.
 >  
 >  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.
 >  
 >  oh well.
 >  
 >  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.
 >  
 
 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.
 
 [panix5-kd] ~/Misc <0> /bin/csh
 You have new mail.
 % irb
 irb(main):001:0>
 Suspended
 
 csh is now frozen
 
 
 % R
 
 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)
 
 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.
 
 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.
 
 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.
 
 >
 Suspended
 
 csh is now frozen
 
 
 [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]
 
 Eshell V11.1.6  (abort with ^G)
 1>
    Suspended
             %
 
 
 csh is now frozen.
 
 Ken
 -- 
 A vacuum is a hell of a lot better than some of the stuff nature fills it with.
                                                         --Tennessee Williams
 



Home | Main Index | Thread Index | Old Index