ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvt.h
(Generate patch)

Comparing rxvt-unicode/src/rxvt.h (file contents):
Revision 1.40 by pcg, Tue Feb 24 00:02:44 2004 UTC vs.
Revision 1.41 by pcg, Tue Feb 24 12:00:45 2004 UTC

296 296
297/* flags for rxvt_scr_gotorc () */ 297/* flags for rxvt_scr_gotorc () */
298enum { 298enum {
299 C_RELATIVE = 1 , /* col movement is relative */ 299 C_RELATIVE = 1 , /* col movement is relative */
300 R_RELATIVE = 2, /* row movement is relative */ 300 R_RELATIVE = 2, /* row movement is relative */
301 RELATIVE = 1 | 2 301 RELATIVE = 1 | 2,
302}; 302};
303 303
304/* modes for rxvt_scr_insdel_chars (), rxvt_scr_insdel_lines () */ 304/* modes for rxvt_scr_insdel_chars (), rxvt_scr_insdel_lines () */
305enum { 305enum {
306 INSERT = -1, /* don't change these values */ 306 INSERT = -1, /* don't change these values */
307 DELETE = +1, 307 DELETE = +1,
308 ERASE = +2 308 ERASE = +2,
309}; 309};
310 310
311/* modes for rxvt_scr_page () - scroll page. used by scrollbar window */ 311/* modes for rxvt_scr_page () - scroll page. used by scrollbar window */
312enum page_dirn { 312enum page_dirn {
313 UP, 313 UP,
314 DN, 314 DN,
315 NO_DIR 315 NO_DIR,
316}; 316};
317 317
318/* arguments for rxvt_scr_change_screen () */ 318/* arguments for rxvt_scr_change_screen () */
319enum { 319enum {
320 PRIMARY = 0, 320 PRIMARY = 0,
321 SECONDARY 321 SECONDARY,
322}; 322};
323 323
324#define RS_None 0 /* Normal */ 324#define RS_None 0 /* Normal */
325 325
326#define RS_fgMask 0x000001FFu /* 512 colors */ 326#define RS_fgMask 0x000001FFu /* 512 colors */
350enum { 350enum {
351 C0_NUL = 0x00, 351 C0_NUL = 0x00,
352 C0_SOH, C0_STX, C0_ETX, C0_EOT, C0_ENQ, C0_ACK, C0_BEL, 352 C0_SOH, C0_STX, C0_ETX, C0_EOT, C0_ENQ, C0_ACK, C0_BEL,
353 C0_BS , C0_HT , C0_LF , C0_VT , C0_FF , C0_CR , C0_SO , C0_SI , 353 C0_BS , C0_HT , C0_LF , C0_VT , C0_FF , C0_CR , C0_SO , C0_SI ,
354 C0_DLE, C0_DC1, C0_DC2, D0_DC3, C0_DC4, C0_NAK, C0_SYN, C0_ETB, 354 C0_DLE, C0_DC1, C0_DC2, D0_DC3, C0_DC4, C0_NAK, C0_SYN, C0_ETB,
355 C0_CAN, C0_EM , C0_SUB, C0_ESC, C0_IS4, C0_IS3, C0_IS2, C0_IS1 355 C0_CAN, C0_EM , C0_SUB, C0_ESC, C0_IS4, C0_IS3, C0_IS2, C0_IS1,
356}; 356};
357#define CHAR_ST 0x9c /* 0234 */ 357#define CHAR_ST 0x9c /* 0234 */
358 358
359/* 359/*
360 * XTerm Operating System Commands: ESC ] Ps;Pt (ST|BEL) 360 * XTerm Operating System Commands: ESC ] Ps;Pt (ST|BEL)
361 * colour extensions by Christian W. Zuckschwerdt <zany@triq.net> 361 * colour extensions by Christian W. Zuckschwerdt <zany@triq.net>
362 */ 362 */
363enum {
363#define XTerm_name 0 364 XTerm_name = 0,
364#define XTerm_iconName 1 365 XTerm_iconName = 1,
365#define XTerm_title 2 366 XTerm_title = 2,
367 XTerm_property = 3, /* change X property, not yet implemented */
366#define XTerm_Color 4 /* change colors */ 368 XTerm_Color = 4, /* change colors */
369 XTerm_Color00 = 10, /* not implemented, CLASH! */
370 XTerm_Color01 = 11, /* not implemented */
367#define XTerm_Color_cursor 12 /* change actual 'Cursor' color */ 371 XTerm_Color_cursor = 12, /* change actual 'Cursor' color */
368#define XTerm_Color_pointer 13 /* change actual 'Pointer' color */ 372 XTerm_Color_pointer = 13, /* change actual 'Pointer' color */
373 XTerm_Color04 = 14, /* not implemented */
374 XTerm_Color05 = 15, /* not implemented */
375 XTerm_Color06 = 16, /* not implemented */
369#define XTerm_Color_RV 17 /* change actual 'Highlight' color */ 376 XTerm_Color_RV = 17, /* change actual 'Highlight' color */
370#define XTerm_Color_BD 18 /* change actual 'Bold' color */
371#define XTerm_Color_UL 19 /* change actual 'Underline' color */
372#define XTerm_logfile 46 /* not implemented */ 377 XTerm_logfile = 46, /* not implemented */
373#define XTerm_font 50 378 XTerm_font = 50,
374 379
375/* 380 XTerm_konsole30 = 30, /* reserved for konsole */
381 XTerm_konsole31 = 31, /* reserved for konsole */
382 XTerm_emacs51 = 51, /* reserved for emacs shell */
383 /*
376 * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL) 384 * rxvt extensions of XTerm OSCs: ESC ] Ps;Pt (ST|BEL)
377 */ 385 */
378#define XTerm_locale 9 /* change locale */ 386 XTerm_locale = 9, /* change locale */
379#define XTerm_Menu 10 /* set menu item */ 387 XTerm_Menu = 10, /* set menu item */
388 XTerm_Color_BD = 18, /* change actual 'Bold' color */
389 XTerm_Color_UL = 19, /* change actual 'Underline' color */
380#define XTerm_Pixmap 20 /* new bg pixmap */ 390 XTerm_Pixmap = 20, /* new bg pixmap */
381#define XTerm_restoreFG 39 /* change default fg color */ 391 XTerm_restoreFG = 39, /* change default fg color */
382#define XTerm_restoreBG 49 /* change default bg color */ 392 XTerm_restoreBG = 49, /* change default bg color */
383#define XTerm_dumpscreen 55 /* dump scrollback and all of screen */ 393 XTerm_dumpscreen = 55, /* dump scrollback and all of screen */
394};
384 395
385/* Words starting with `Color_' are colours. Others are counts */ 396/* Words starting with `Color_' are colours. Others are counts */
386/* 397/*
387 * The following comment is mostly obsolete since pixcolor_set was expanded: 398 * The following comment is mostly obsolete since pixcolor_set was expanded:
388 * We're currently upto 29 colours. Only 3 more available. The 399 * We're currently upto 29 colours. Only 3 more available. The

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines