diff mbox series

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

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

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

Patch

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 @@ 
 #endif
 #define	CERASE		0177
 #define	CINTR		CTRL('c')
-#ifdef _POSIX_VDISABLE
-# define CSTATUS	_POSIX_VDISABLE
-#else
-# define CSTATUS	((unsigned char)'\377')	/* XXX avoid _POSIX_VDISABLE */
-#endif
+#define	CSTATUS		CTRL('t')
 #define	CKILL		CTRL('u')
 #define	CMIN		1
 #define	CQUIT		034		/* FS, ^\ */