]> git.ipfire.org Git - thirdparty/util-linux.git/commit
scriptreplay: enable special character handling
authorSoumendra Ganguly <soumendraganguly@gmail.com>
Fri, 17 Jul 2020 09:54:30 +0000 (04:54 -0500)
committerKarel Zak <kzak@redhat.com>
Thu, 23 Jul 2020 10:23:56 +0000 (12:23 +0200)
commit00a09d78ea7ee2180d32280c9157677fef8d204c
tree30fd652b1b4a35320d1554bf68203d64050dd0d9
parentb725361adf03b24eebf70cf81fa872c00f31b9b0
scriptreplay: enable special character handling

Calling cfmakeraw disables terminal special character handling. For
example, Ctrl-C does not send SIGINT to scriptreplay. The following
fixes this.

 tattr.c_lflag |= ISIG;

where tattr is the struct termios with which we are working.
term-utils/scriptreplay.c