From 8bb05ac73a5b448b339ce0bc8d396c82c459b47f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 21:33:32 +0200 Subject: Merging upstream version 2.40. Signed-off-by: Daniel Baumann --- term-utils/scriptreplay.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'term-utils/scriptreplay.c') diff --git a/term-utils/scriptreplay.c b/term-utils/scriptreplay.c index fb68499..98501a8 100644 --- a/term-utils/scriptreplay.c +++ b/term-utils/scriptreplay.c @@ -68,9 +68,9 @@ usage(void) fputs(_(" -m, --maxdelay wait at most this many seconds between updates\n"), out); fputs(_(" -x, --stream stream type (out, in, signal or info)\n"), out); fputs(_(" -c, --cr-mode CR char mode (auto, never, always)\n"), out); - printf(USAGE_HELP_OPTIONS(25)); + fprintf(out, USAGE_HELP_OPTIONS(25)); - printf(USAGE_MAN_TAIL("scriptreplay(1)")); + fprintf(out, USAGE_MAN_TAIL("scriptreplay(1)")); exit(EXIT_SUCCESS); } @@ -134,6 +134,7 @@ setterm(struct termios *backup) tattr = *backup; cfmakeraw(&tattr); tattr.c_lflag |= ISIG; + tattr.c_iflag |= IXON; tcsetattr(STDOUT_FILENO, TCSANOW, &tattr); return 1; } -- cgit v1.2.3