Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Script command under NetBSD-current
I thought I noticed an issue with the script command under NetBSD-current a
few weeks ago, but recently stumbled on it again.
This is under:
NetBSD cruncher2.anduin.org.uk 9.99.83 NetBSD 9.99.83 (GENERIC) #2: Tue Jun 8
19:42:49 GMT 2021
root%cruncher2.anduin.org.uk@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
If you issue a script command, run a process with takes a little while and
then an exit command to close the script file and return to a command prompt.
viz:
cd /usr/pkgsrc
script /tmp/ll
cvs update -dP
exit
what happens is you don't get a command prompt - its like the script command
freezes and doesn't return. Issuing a ps shows the script processes:
USER PID %CPU %MEM VSZ RSS TTY STAT STARTED TIME COMMAND UID
PID PPID CPU PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
root 1250 0.0 0.0 17812 1516 pts/0 I+ 5:40PM 0:00.00 script 0
1250 1115 0 85 0 17812 1516 ttyraw I+ pts/0 0:00.00 script /tmp/ll
root 1252 0.0 0.0 17924 1304 pts/0 I+ 5:40PM 0:00.32 script 0
1252 1250 0 43 0 17924 1304 parked I+ pts/0 0:00.32 script /tmp/ll
Both appear to be idle. Killing the parent process returns a command prompt.
Anyone else seeing this?
Dave
Home |
Main Index |
Thread Index |
Old Index