script(1), cfmakeraw() and Ctrl-Z
Eugene Grosbein
eugen at grosbein.net
Sun Jul 14 17:14:30 UTC 2013
Hi!
I've noted that commands like "script -qa /tmp/log sleep 100"
cannot be suspended with Ctrl-Z keys. The reason is call to cfmakeraw()
in script.c - if I comment it out, Ctrl-Z starts to work as expected.
portupgrade uses script(1) so build/install process cannot be suspended too.
(I'm building libreoffice-4.04 now)
The function cfmakeraw() is used since CVS revision 1.1 when script
was imported with other "BSD 4.4 Lite Usr.bin Sources".
Is cfmakeraw() really needed?
Eugene Grosbein
More information about the freebsd-stable
mailing list