![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 0002 #ifndef _LINUX_TIOCL_H 0003 #define _LINUX_TIOCL_H 0004 0005 #define TIOCL_SETSEL 2 /* set a selection */ 0006 #define TIOCL_SELCHAR 0 /* select characters */ 0007 #define TIOCL_SELWORD 1 /* select whole words */ 0008 #define TIOCL_SELLINE 2 /* select whole lines */ 0009 #define TIOCL_SELPOINTER 3 /* show the pointer */ 0010 #define TIOCL_SELCLEAR 4 /* clear visibility of selection */ 0011 #define TIOCL_SELMOUSEREPORT 16 /* report beginning of selection */ 0012 #define TIOCL_SELBUTTONMASK 15 /* button mask for report */ 0013 /* selection extent */ 0014 struct tiocl_selection { 0015 unsigned short xs; /* X start */ 0016 unsigned short ys; /* Y start */ 0017 unsigned short xe; /* X end */ 0018 unsigned short ye; /* Y end */ 0019 unsigned short sel_mode; /* selection mode */ 0020 }; 0021 0022 #define TIOCL_PASTESEL 3 /* paste previous selection */ 0023 #define TIOCL_UNBLANKSCREEN 4 /* unblank screen */ 0024 0025 #define TIOCL_SELLOADLUT 5 0026 /* set characters to be considered alphabetic when selecting */ 0027 /* u32[8] bit array, 4 bytes-aligned with type */ 0028 0029 /* these two don't return a value: they write it back in the type */ 0030 #define TIOCL_GETSHIFTSTATE 6 /* write shift state */ 0031 #define TIOCL_GETMOUSEREPORTING 7 /* write whether mouse event are reported */ 0032 #define TIOCL_SETVESABLANK 10 /* set vesa blanking mode */ 0033 #define TIOCL_SETKMSGREDIRECT 11 /* restrict kernel messages to a vt */ 0034 #define TIOCL_GETFGCONSOLE 12 /* get foreground vt */ 0035 #define TIOCL_SCROLLCONSOLE 13 /* scroll console */ 0036 #define TIOCL_BLANKSCREEN 14 /* keep screen blank even if a key is pressed */ 0037 #define TIOCL_BLANKEDSCREEN 15 /* return which vt was blanked */ 0038 #define TIOCL_GETKMSGREDIRECT 17 /* get the vt the kernel messages are restricted to */ 0039 0040 #endif /* _LINUX_TIOCL_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |