View Issue Details

IDProjectCategoryView StatusLast Update
0000391tcshGeneralpublic2022-10-05 17:45
ReporterRohanTalip Assigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
Status newResolutionopen 
Product Version6.21.00 
Summary0000391: Job control or tty output does not work all the time on macOS Monterey 12.6
DescriptionEither the job control or the tty output doesn't work roughly 1 in 30 times in tcsh 6.21.00 on macOS Monterey 12.6. tcsh 6.21.0 is the version that is installed on macOS Monterey 12.6. I also tried tcsh 6.24.01 from Homebrew ( https://formulae.brew.sh/formula/tcsh#default ), with similar results.

I didn't notice the problem on macOS Monterey 12.5.1 or lower versions but maybe I didn't exercise the problem enough.
Steps To ReproduceAssume "%N" below is my prompt, and "..." represents omitted text or commands:

%1 echo $version
tcsh 6.21.00 (Astron) 2019-05-08 (x86_64-apple-darwin) options wide,nls,dl,bye,al,kan,sm,rh,color,filec

%2 sleep 2 |& less

%3 sleep 2 |& more

%4 sleep 2 |& more

% 5 sleep 1 |& more

%6 which less
less: aliased to /usr/local/bin/less

%7 less --version
less 608 (PCRE2 regular expressions)
...


%8 sleep 1 |& less

%9 sleep 1 |& less

...

%31 vmstat |& less
Exit 1

%32 iostat |& less

...

% 34 iostat -c 10 |& less

% 35 sleep 1 |& less

% 36 sleep 1 |& less

[1] + Done sleep 1 |&
       Suspended (tty output) /usr/local/bin/less
[1] 52209 52210

%37 jobs
[1] + Done sleep 1 |&
       Suspended (tty output) /usr/local/bin/less

%39 less --version | head -1
less 608 (PCRE2 regular expressions)
[1] + Done sleep 1 |&
       Terminated /usr/local/bin/less

%40 less --version | head -1
less 608 (PCRE2 regular expressions)

%41 jobs

# No jobs returned.
Additional InformationOccasionally, typing "fg" after there is a "Exit 1" or a "Done" followed by a "Suspended (tty output)" in the job output that is reported when there is an error/problem, will result in the tcsh process taking up 100% of a CPU core, after which I have to kill it.

Other times typing "fg" after such messages in the job output results in this message: "fg: No such job (badjob)."
Tagsbug

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-10-05 17:45 RohanTalip New Issue
2022-10-05 17:45 RohanTalip Tag Attached: bug