3 * - By John Hodge (thePowersGang)
6 * - PTY Device type IOCtls
8 #ifndef _ACESS_DEVICES_PTY_H_
9 #define _ACESS_DEVICES_PTY_H_
12 #include "../devices.h"
14 #define PTYSFLAG_ILOCAL 0x001 //!< Input modes are handled in the server process
15 #define PTYSFLAG_SMODE 0x002 //!< Inform server of mode changes by the user
17 #define PTYIMODE_CANON 0x001 //!< Line-buffered input
18 #define PTYIMODE_ECHO 0x002 //!< Echo input characters
19 #define PTYIMODE_RAW 0x004 //!< Disable all input processing
21 #define PTYOMODE_BUFFMT 0x003
22 #define PTYBUFFMT_TEXT 0x000
23 #define PTYBUFFMT_FB 0x001
24 #define PTYBUFFMT_2DCMD 0x002
25 #define PTYBUFFMT_3DCMD 0x003
28 * Note: When setting dimensions from a client, it is up to the server what fields are used.
29 * This is usually dependent on the current output mode.
40 unsigned int OutputMode;
41 unsigned int InputMode;
46 PTY_IOCTL_GETMODE = 4,