ttydefaults.h: Fix CSTATUS to control-t
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 6 Jan 2022 23:19:42 +0000 (00:19 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 6 Jan 2022 23:23:05 +0000 (00:23 +0100)
4.4BSD actually defaults CSTATUS to control-t, so our generic header should
as well.

sysdeps/generic/sys/ttydefaults.h

index 683dc8d..41e691c 100644 (file)
 #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, ^\ */