diff mbox series

[hurd,commited] ttydefaults.h: Fix CSTATUS to control-t

Message ID 20220106232343.335894-1-samuel.thibault@ens-lyon.org
State Committed, archived
Headers show
Series [hurd,commited] ttydefaults.h: Fix CSTATUS to control-t | expand


Context Check Description
dj/TryBot-apply_patch fail Patch failed to apply to master at the time it was sent
dj/TryBot-32bit fail Patch series failed to apply

Commit Message

Samuel Thibault Jan. 6, 2022, 11:23 p.m. UTC
4.4BSD actually defaults CSTATUS to control-t, so our generic header should
as well.
 sysdeps/generic/sys/ttydefaults.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
diff mbox series


diff --git a/sysdeps/generic/sys/ttydefaults.h b/sysdeps/generic/sys/ttydefaults.h
index 683dc8d805..41e691c4f8 100644
--- a/sysdeps/generic/sys/ttydefaults.h
+++ b/sysdeps/generic/sys/ttydefaults.h
@@ -61,11 +61,7 @@ 
 #define	CERASE		0177
 #define	CINTR		CTRL('c')
-# define CSTATUS	((unsigned char)'\377')	/* XXX avoid _POSIX_VDISABLE */
+#define	CSTATUS		CTRL('t')
 #define	CKILL		CTRL('u')
 #define	CMIN		1
 #define	CQUIT		034		/* FS, ^\ */