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 PTYIMODE_CANON 0x001
15 #define PTYIMODE_ECHO 0x002
16 #define PTYIMODE_RAW 0x004
18 #define PTYOMODE_BUFFMT 0x003
19 #define PTYBUFFMT_TEXT 0x000
20 #define PTYBUFFMT_FB 0x001
21 #define PTYBUFFMT_2DCMD 0x002
22 #define PTYBUFFMT_3DCMD 0x003
25 * Note: When setting dimensions from a client, it is up to the server what fields are used.
26 * This is usually dependent on the current output mode.
37 unsigned int OutputMode;
38 unsigned int InputMode;
43 PTY_IOCTL_GETMODE = 4,