public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [hurd,commited] ttydefaults.h: Fix CSTATUS to control-t
@ 2022-01-06 23:23 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2022-01-06 23:23 UTC (permalink / raw)
  To: libc-alpha; +Cc: Samuel Thibault, commit-hurd

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 --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, ^\ */
-- 
2.34.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-06 23:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 23:23 [hurd,commited] ttydefaults.h: Fix CSTATUS to control-t Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).