Files
RedBear-OS/local/recipes/kde/sddm/stubs/linux/vt.h
T
vasilito ffbe098ef8 config: add tlc to redbear-mini and redbear-full; create recipe symlink
TLC (Twilight Commander) was missing from both ISO configs. Added
tlc = {} to [packages] in redbear-mini.toml and redbear-full.toml.
Created missing symlink: recipes/tui/tlc -> ../../local/recipes/tui/tlc.
2026-06-19 11:47:25 +03:00

42 lines
806 B
C

#ifndef _LINUX_VT_H
#define _LINUX_VT_H
#include <sys/ioctl.h>
#define VT_OPENQRY 0x5600
#define VT_GETMODE 0x5601
#define VT_SETMODE 0x5602
#define VT_GETSTATE 0x5603
#define VT_SENDSIG 0x5604
#define VT_RELDISP 0x5605
#define VT_ACTIVATE 0x5606
#define VT_WAITACTIVE 0x5607
#define VT_DISALLOCATE 0x5608
#define VT_GETACTIVE 0x5609
#define VT_AUTO 0x00
#define VT_PROCESS 0x01
#define VT_ACKACQ 2
#define KDSETMODE 0x4B3A
#define KDGETMODE 0x4B3B
#define KD_TEXT 0x00
#define KD_GRAPHICS 0x01
struct vt_stat {
unsigned short v_active;
unsigned short v_signal;
unsigned short v_state;
};
struct vt_mode {
unsigned char mode;
unsigned char waitv;
unsigned short relsig;
unsigned short acqsig;
unsigned short frsig;
};
#endif