3 * - By John Hodge (thePowersGang)
6 * - PTY Device type IOCtls
8 #ifndef _ACESS_DEVICES_PTY_H_
9 #define _ACESS_DEVICES_PTY_H_
11 #include "../devices.h"
13 #define PTYIMODE_CANON 0x001
14 #define PTYIMODE_ECHO 0x002
15 #define PTYIMODE_RAW 0x004
17 #define PTYOMODE_BUFFMT 0x003
18 #define PTYBUFFMT_TEXT 0x000
19 #define PTYBUFFMT_FB 0x001
20 #define PTYBUFFMT_2DCMD 0x002
21 #define PTYBUFFMT_3DCMD 0x003
24 * Note: When setting dimensions from a client, it is up to the server what fields are used.
25 * This is usually dependent on the current output mode.
36 unsigned int OutputMode;
37 unsigned int InputMode;
42 PTY_IOCTL_GETMODE = 4,