⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rxvt.h

📁 Mrxvt是一个小巧
💻 H
📖 第 1 页 / 共 4 页
字号:
#define MRxvt_itabbg		(75) /* change inactive tab bg *//* #define MRxvt_trans		(76) ** DISABLED toggle transparency *//* #define MRxvt_moveleft	(77) ** DISABLED move active tab to left *//* #define MRxvt_moveright	(78) ** DISABLED move active tab to right *//* #define MRxvt_verybold	(79) ** DISABLED toggle bold font for color text *//* #define MRxvt_hotkeys	(80) ** DISABLED toggle hotkeys *//* #define MRxvt_saveconfig	(81) ** DISABLED save configuration */#define MRxvt_bgfade		(82) /* set bgfade degree (Obsolete) */#define MRxvt_termenv		(83) /* set TERMENV type *//* #define MRxvt_closewin	(84) ** DISABLED Close all tabs and exit *//* #define MRxvt_switchtab	(85) ** DISABLED Switch to tab N *//* Words starting with `Color_' are colours.  Others are counts *//*** The following comment is mostly obsolete since pixcolor_set was** expanded:** We're currently upto 30 colours.  Only 2 more available.  The** PixColor and rendition colour usage should probably be decoupled** on the unnecessary items, e.g. Color_pointer, but won't bother** until we need to.  Also, be aware of usage in pixcolor_set*/enum colour_list {    Color_fg = 0,    Color_bg,    minCOLOR,			/* 2 */    Color_Black = minCOLOR,    Color_Red3,    Color_Green3,    Color_Yellow3,    Color_Blue3,    Color_Magenta3,    Color_Cyan3,    maxCOLOR,			/* minCOLOR + 7 */#ifndef NO_BRIGHTCOLOR    Color_AntiqueWhite = maxCOLOR,    minBrightCOLOR,		/* maxCOLOR + 1 */    Color_Grey25 = minBrightCOLOR,    Color_Red,    Color_Green,    Color_Yellow,    Color_Blue,    Color_Magenta,    Color_Cyan,    maxBrightCOLOR,		/* minBrightCOLOR + 7 */    Color_White = maxBrightCOLOR,#else    Color_White = maxCOLOR,#endif#ifdef TTY_256COLOR    min256COLOR = Color_White + 1,    max256COLOR = minCOLOR + 255,#endif#ifndef NO_CURSORCOLOR    Color_cursor,    Color_cursor2,#endif    Color_pointer,    Color_border,    Color_ufbg,#ifndef NO_BOLD_UNDERLINE_REVERSE    Color_BD,    Color_UL,    Color_RV,#endif#ifdef OPTION_HC    Color_HC,#endif#ifdef KEEP_SCROLLCOLOR    Color_scroll,    Color_trough,#endif#if defined(BACKGROUND_IMAGE) || defined(TRANSPARENT)# ifdef TINTING_SUPPORT	Color_tint,# endif#endif	/* BACKGROUND_IMAGE || TRANSPARENT */    NRS_COLORS,			/* */#ifdef KEEP_SCROLLCOLOR    Color_topShadow = NRS_COLORS,    Color_bottomShadow,    TOTAL_COLORS		/* upto 31 */#else    TOTAL_COLORS = NRS_COLORS	/* */#endif};#ifdef TTY_256COLOR# define Color_Bits	9# define NPIXCLR_SETS	9	/* (256 + 14) bits / 32 bits */#else# define Color_Bits	5# define NPIXCLR_SETS	1	/* (16 + 14) bits / 32 bits */#endif#define NPIXCLR_BITS	32#define DEFAULT_RSTYLE		(RS_None | (Color_fg) | (Color_bg<<Color_Bits))/* * Resource list */enum {    Rs_display_name = 0,    Rs_term_name,    Rs_iconName,    Rs_geometry,    Rs_reverseVideo,    Rs_color,    _Rs_color = Rs_color + TOTAL_COLORS, /*+ 2 * MAX_PAGES - 1,*/    Rs_font,    _Rs_font = Rs_font + MAX_NFONTS - 1,#ifdef MULTICHAR_SET    Rs_mfont,    _Rs_mfont = Rs_mfont + MAX_NFONTS - 1,    Rs_multichar_encoding,    Rs_mc_hack,#endif    Rs_name,    Rs_title,	Rs_maxTabWidth,	Rs_minVisibleTabs,#if defined (BACKGROUND_IMAGE) || defined(HAVE_MENUBAR)    Rs_path,#endif#ifdef BACKGROUND_IMAGE	Rs_tabbarPixmap,	/* tabbar background pixmap */	Rs_tabPixmap,		/* use tabbar bg pixmap for tabs */# if 0 /* appicon not yet implemented */	Rs_appIcon,			/* use pixmap as application icon */# endif#endif#ifdef HAVE_MENUBAR    Rs_menu,    Rs_showMenu,# ifdef BACKGROUND_IMAGE	Rs_menubarPixmap,# endif#endif#ifndef NO_BOLDFONT    Rs_boldFont,	_Rs_boldFont = Rs_boldFont + MAX_NFONTS - 1,#endif#ifdef GREEK_SUPPORT    Rs_greek_keyboard,    Rs_greektoggle_key,#endif#ifdef XFT_SUPPORT	Rs_xft,		/* Use XFT? */	Rs_xftfont,	/* Font name, family */# ifdef MULTICHAR_SET	Rs_xftmfont,/* Multichar font name, family */	Rs_xftmsz,	/* Multichar font size */# endif	Rs_xftwt,	/* Font weight */	Rs_xftst,	/* Font slant */	Rs_xftsz,	/* Font size */	Rs_xftwd,	/* Font width style */	Rs_xftrgb,	/* Font sub-pixel order */	Rs_xftpfn,	/* Propotionally spaced Xft font (for tabbar / menubar) */	Rs_xftpsz,	/* Size of propotionally spaced Xft font */#endif    Rs_loginShell,    Rs_jumpScroll,#ifdef HAVE_SCROLLBARS    Rs_scrollBar,    Rs_scrollBar_right,    Rs_scrollBar_floating,    Rs_scrollBar_align,# ifdef BACKGROUND_IMAGE	Rs_scrollbarPixmap,# endif#endif	/* HAVE_SCROLLBARS */    Rs_scrollBar_style,    Rs_scrollTtyOutputInhibit,    Rs_scrollTtyKeypress,    Rs_scrollWithBuffer,	Rs_tabfg,	/* active tab foreground */	Rs_tabbg,	/* active tab background */	Rs_itabfg,	/* inactive tab foreground */	Rs_itabbg,	/* inactive tab background */#ifdef OFF_FOCUS_FADING	Rs_fade,	/* fade percentage */#endif#ifdef TEXT_SHADOW	Rs_textShadow,		/* text shadow color */	Rs_textShadowMode,	/* text shadow color mode */#endif#ifdef TINTING_SUPPORT	Rs_shade,	/* shade percentage */	Rs_tint,	/* tinting color */#endif#ifdef TRANSPARENT	Rs_bgRefreshInterval,#endif    Rs_utmpInhibit,    Rs_visualBell,	Rs_bellCommand,	Rs_holdExitText,	Rs_desktop,#if ! defined(NO_MAPALERT) && defined(MAPALERT_OPTION)    Rs_mapAlert,#endif#ifdef META8_OPTION    Rs_meta8,#endif#ifdef MOUSE_WHEEL    Rs_mouseWheelScrollPage,#endif#ifndef NO_BACKSPACE_KEY    Rs_backspace_key,#endif#ifndef NO_DELETE_KEY    Rs_delete_key,#endif    Rs_selectstyle,#ifdef PRINTPIPE    Rs_print_pipe,#endif#ifdef USE_XIM    Rs_preeditType,    Rs_inputMethod,#endif	Rs_opacity,			/* transluscent window opacity degree */	Rs_opacityDegree,	/* opacity change degree */#ifdef TRANSPARENT    Rs_transparent,    Rs_forceTransparent,# ifdef HAVE_SCROLLBARS    Rs_transparent_scrollbar,# endif# ifdef HAVE_MENUBAR    Rs_transparent_menubar,# endif    Rs_transparent_tabbar,#endif#ifndef NO_FRILLS    Rs_ext_bwidth,    Rs_int_bwidth,#endif    Rs_scrollBar_thickness,#ifndef NO_LINESPACE    Rs_lineSpace,#endif    Rs_cutchars,#ifdef ACS_ASCII    Rs_acs_chars,#endif    Rs_modifier,	Rs_confFile,    Rs_answerbackstring,    Rs_tripleclickwords,    Rs_cursorBlink,    Rs_cursorBlinkInterval,    Rs_pointerBlank,    Rs_pointerBlankDelay,	Rs_smClientID,	Rs_initProfiles,	Rs_init_term_num,		/* OBSOLETE */	/*	 * Options for multiple profiles.	 */#ifdef BACKGROUND_IMAGE    Rs_backgroundPixmap,/* terminal background pixmap for each tab */    _Rs_backgroundPixmap = Rs_backgroundPixmap + MAX_PROFILES - 1,#endif    Rs_tabtitle,		_Rs_tabtitle = Rs_tabtitle + MAX_PROFILES - 1,	Rs_command,			_Rs_command = Rs_command + MAX_PROFILES - 1,    Rs_saveLines,		_Rs_saveLines = Rs_saveLines + MAX_PROFILES - 1,	Rs_foreground,		_Rs_foreground = Rs_foreground + MAX_PROFILES - 1,	Rs_background,		_Rs_background = Rs_background + MAX_PROFILES - 1,	Rs_cwd,				_Rs_cwd = Rs_cwd + MAX_PROFILES - 1,	/*	 * Secondary boolean options (stored in r->Options2).	 *	 * TODO 2006-05-23 gi1242: Make r->Options an array, and define macros to	 * set / clear these boolean options.	 */	Rs_options2,	Rs2_protectSecondary,	Rs2_cmdInitTabs,	Rs2_cmdAllTabs,#ifdef XFT_SUPPORT# ifdef MULTICHAR_SET	Rs2_xftNomFont,		/* do not use mfont */	Rs2_xftSlowOutput,	/* slow mode output */# endif	Rs2_xftaa,			/* antialias */	Rs2_xftht,			/* hinting */	Rs2_xftah,			/* autohint */	Rs2_xftga,			/* global advance */	Rs2_xftwd,			/* width */#endif	Rs2_hlTabOnBell,	Rs2_syncTabTitle,	Rs2_syncTabIcon,	Rs2_hideTabbar,	Rs2_autohideTabbar,	Rs2_bottomTabbar,	Rs2_hideButtons,	Rs2_borderLess,	Rs2_maximized,	Rs2_fullscreen,#ifndef NO_FRILLS	Rs2_smoothResize,	Rs2_smartResize,#endif	Rs2_overrideRedirect,	Rs2_holdExit,	Rs2_broadcast,	Rs2_veryBold,	Rs2_noSysConfig,		/* Replacement for disableDefaultHotkeys */	Rs2_disableMacros,		/* Replacement for disableHotkeys */#ifdef HAVE_X11_SM_SMLIB_H	Rs2_enableSessionMgt,#endif	Rs2_linuxHomeEndKey,    NUM_RESOURCES} ;enum {    TIMEOUT_INCR = 0,    NUM_TIMEOUTS} ;/*** MUST sync with init.c:xa_names*/enum {    XA_COMPOUND_TEXT = 0,    XA_UTF8_STRING,    XA_TEXT,    XA_MULTIPLE,    XA_TARGETS,    XA_TIMESTAMP,    XA_VT_SELECTION,    XA_INCR,    XA_WMDELETEWINDOW,	XA_NET_WM_DESKTOP,	XA_WIN_WORKSPACE,	XA_NET_WM_NAME,	XA_NET_WM_ICON_NAME,	XA_WM_CLIENT_LEADER,	XA_NET_WM_WINDOW_OPACITY,#ifndef NO_FRILLS	XA_NET_WM_PID,#endif#ifdef HAVE_X11_SM_SMLIB_H	XA_SM_CLIENT_ID,#endif#ifdef USE_XIM	XA_WM_LOCALE_NAME,#endif#ifdef TRANSPARENT    XA_XROOTPMAPID,	XA_XSETROOTID,#endif#ifdef OFFIX_DND		/* OffiX Dnd (drag 'n' drop) support */    XA_DNDPROTOCOL,    XA_DNDSELECTION,#endif				/* OFFIX_DND */    XA_CLIPBOARD,    NUM_XA} ;/* * number of graphics points * divisible by 2 (num lines) * divisible by 4 (num rect) */#define	NGRX_PTS	1000/* DEC private modes */#define PrivMode_132			(1LU<<0)#define PrivMode_132OK			(1LU<<1)#define PrivMode_rVideo			(1LU<<2)#define PrivMode_relOrigin		(1LU<<3)#define PrivMode_Screen			(1LU<<4)#define PrivMode_Autowrap		(1LU<<5)#define PrivMode_aplCUR			(1LU<<6)#define PrivMode_aplKP			(1LU<<7)#define PrivMode_HaveBackSpace	(1LU<<8)#define PrivMode_BackSpace		(1LU<<9)#define PrivMode_ShiftKeys		(1LU<<10)#define PrivMode_VisibleCursor	(1LU<<11)#define PrivMode_MouseX10		(1LU<<12)#define PrivMode_MouseX11		(1LU<<13)#define PrivMode_scrollBar		(1LU<<14)#define PrivMode_menuBar		(1LU<<15)#define PrivMode_TtyOutputInh	(1LU<<16)#define PrivMode_Keypress		(1LU<<17)#define PrivMode_smoothScroll	(1LU<<18)#define PrivMode_vt52			(1LU<<19)/* too annoying to implement X11 highlight tracking *//* #define PrivMode_MouseX11Track       (1LU<<18) */#define PrivMode_mouse_report	(PrivMode_MouseX10|PrivMode_MouseX11)#define PrivMode(test,bit,page)					\    if (test)									\		r->vts[page]->PrivateModes |= (bit);	\    else										\		r->vts[page]->PrivateModes &= ~(bit)#ifdef ALLOW_132_MODE# define PrivMode_Default						 \(PrivMode_Autowrap|PrivMode_aplKP|PrivMode_ShiftKeys|PrivMode_VisibleCursor|PrivMode_132OK)#else# define PrivMode_Default						 \(PrivMode_Autowrap|PrivMode_ShiftKeys|PrivMode_VisibleCursor)/*(PrivMode_Autowrap|PrivMode_aplKP|PrivMode_ShiftKeys|PrivMode_VisibleCursor)*/#endif#define XSCREEN			DefaultScreen(r->Xdisplay)#define XROOT			DefaultRootWindow(r->Xdisplay)#ifdef PREFER_24BIT# define XDEPTH			(r->Xdepth)# define XCMAP			(r->Xcmap)# define XVISUAL		(r->h->Xvisual)#else# ifdef DEBUG_DEPTH#  define XDEPTH		DEBUG_DEPTH# else#  define XDEPTH		DefaultDepth(r->Xdisplay, XSCREEN)#  define XCMAP			DefaultColormap(r->Xdisplay, XSCREEN)#  define XVISUAL		DefaultVisual(r->Xdisplay, XSCREEN)# endif#endif#define IMBUFSIZ		128	/* input modifier buffer sizes */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -