From 4b7afd0373507861faa2d5fc7abafb120383c6bb Mon Sep 17 00:00:00 2001 From: "John Hodge (sonata)" Date: Thu, 1 Aug 2013 11:57:11 +0800 Subject: [PATCH] Usermode/ld-acess - PYT Mode flags --- .../ld-acess.so_src/include_exp/acess/devices/pty.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty.h b/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty.h index 005703de..13dbdb8d 100644 --- a/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty.h +++ b/Usermode/Libraries/ld-acess.so_src/include_exp/acess/devices/pty.h @@ -11,9 +11,12 @@ #include "../devices.h" -#define PTYIMODE_CANON 0x001 -#define PTYIMODE_ECHO 0x002 -#define PTYIMODE_RAW 0x004 +#define PTYSFLAG_ILOCAL 0x001 //!< Input modes are handled in the server process +#define PTYSFLAG_SMODE 0x002 //!< Inform server of mode changes by the user + +#define PTYIMODE_CANON 0x001 //!< Line-buffered input +#define PTYIMODE_ECHO 0x002 //!< Echo input characters +#define PTYIMODE_RAW 0x004 //!< Disable all input processing #define PTYOMODE_BUFFMT 0x003 #define PTYBUFFMT_TEXT 0x000 -- 2.20.1