Commit 1f660f2b authored by Behdad Esfahbod's avatar Behdad Esfahbod

Remove unuse caps quark

parent fb579fdf
......@@ -43,248 +43,248 @@
/* From some really old XTerm docs we had at the office, and an updated
* version at Moy, Gildea, and Dickey. */
struct _vte_capability_string _vte_xterm_capability_strings[] = {
{ENQ, "return-terminal-status", 0},
{BEL, "bell", 0},
{BS, "backspace", 0},
{TAB, "tab", 0},
{LF, "line-feed", 0},
{VT, "vertical-tab", 0},
{FF, "form-feed", 0},
{CR, "carriage-return", 0},
{DEL, "backspace", 0},
{ENQ, "return-terminal-status"},
{BEL, "bell"},
{BS, "backspace"},
{TAB, "tab"},
{LF, "line-feed"},
{VT, "vertical-tab"},
{FF, "form-feed"},
{CR, "carriage-return"},
{DEL, "backspace"},
{ESC " F", "7-bit-controls", 0},
{ESC " G", "8-bit-controls", 0},
{ESC " L", "ansi-conformance-level-1", 0},
{ESC " M", "ansi-conformance-level-2", 0},
{ESC " N", "ansi-conformance-level-3", 0},
{ESC "#3", "double-height-top-half", 0},
{ESC "#4", "double-height-bottom-half", 0},
{ESC "#5", "single-width", 0},
{ESC "#6", "double-width", 0},
{ESC "#8", "screen-alignment-test", 0},
{ESC " F", "7-bit-controls"},
{ESC " G", "8-bit-controls"},
{ESC " L", "ansi-conformance-level-1"},
{ESC " M", "ansi-conformance-level-2"},
{ESC " N", "ansi-conformance-level-3"},
{ESC "#3", "double-height-top-half"},
{ESC "#4", "double-height-bottom-half"},
{ESC "#5", "single-width"},
{ESC "#6", "double-width"},
{ESC "#8", "screen-alignment-test"},
/* These are actually designate-other-coding-system from ECMA 35,
* but we don't support the full repertoire. Actually, we don't
* know what the full repertoire looks like. */
{ESC "%%@", "default-character-set", 0},
{ESC "%%G", "utf-8-character-set", 0},
{ESC "%%@", "default-character-set"},
{ESC "%%G", "utf-8-character-set"},
{ESC "(0", "alternate-character-set-start", 0},
{ESC "(B", "alternate-character-set-end", 0},
{ESC "(0", "alternate-character-set-start"},
{ESC "(B", "alternate-character-set-end"},
{ESC "7", "save-cursor", 0},
{ESC "8", "restore-cursor", 0},
{ESC "=", "application-keypad", 0},
{ESC ">", "normal-keypad", 0},
{ESC "D", "index", 0},
{ESC "E", "next-line", 0},
/* {ESC "F", "cursor-lower-left", 0}, */
{ESC "H", "tab-set", 0},
{ESC "M", "reverse-index", 0},
/* {ESC "N", "single-shift-g2", 0}, */
/* {ESC "O", "single-shift-g3", 0}, */
{ESC "P%s" ESC "\\", "device-control-string", 0},
{ESC "V", "start-of-guarded-area", 0},
{ESC "W", "end-of-guarded-area", 0},
{ESC "X", "start-of-string", 0},
{ESC "\\", "end-of-string", 0},
{ESC "Z", "return-terminal-id", 0},
{ESC "c", "full-reset", 0},
{ESC "l", "memory-lock", 0},
{ESC "m", "memory-unlock", 0},
/* {ESC "n", "invoke-g2-character-set", 0}, */
/* {ESC "o", "invoke-g3-character-set", 0}, */
/* {ESC "|", "invoke-g3-character-set-as-gr", 0}, */
/* {ESC "}", "invoke-g2-character-set-as-gr", 0}, */
/* {ESC "~", "invoke-g1-character-set-as-gr", 0}, */
{ESC "7", "save-cursor"},
{ESC "8", "restore-cursor"},
{ESC "=", "application-keypad"},
{ESC ">", "normal-keypad"},
{ESC "D", "index"},
{ESC "E", "next-line"},
/* {ESC "F", "cursor-lower-left"}, */
{ESC "H", "tab-set"},
{ESC "M", "reverse-index"},
/* {ESC "N", "single-shift-g2"}, */
/* {ESC "O", "single-shift-g3"}, */
{ESC "P%s" ESC "\\", "device-control-string"},
{ESC "V", "start-of-guarded-area"},
{ESC "W", "end-of-guarded-area"},
{ESC "X", "start-of-string"},
{ESC "\\", "end-of-string"},
{ESC "Z", "return-terminal-id"},
{ESC "c", "full-reset"},
{ESC "l", "memory-lock"},
{ESC "m", "memory-unlock"},
/* {ESC "n", "invoke-g2-character-set"}, */
/* {ESC "o", "invoke-g3-character-set"}, */
/* {ESC "|", "invoke-g3-character-set-as-gr"}, */
/* {ESC "}", "invoke-g2-character-set-as-gr"}, */
/* {ESC "~", "invoke-g1-character-set-as-gr"}, */
/* APC stuff omitted. */
/* DCS stuff omitted. */
{CSI "@", "insert-blank-characters", 0},
{CSI "%d@", "insert-blank-characters", 0},
{CSI "A", "cursor-up", 0},
{CSI "%dA", "cursor-up", 0},
{CSI "B", "cursor-down", 0},
{CSI "%dB", "cursor-down", 0},
{CSI "C", "cursor-forward", 0},
{CSI "%dC", "cursor-forward", 0},
{CSI "D", "cursor-backward", 0},
{CSI "%dD", "cursor-backward", 0},
{CSI "E", "cursor-next-line", 0},
{CSI "%dE", "cursor-next-line", 0},
{CSI "F", "cursor-preceding-line", 0},
{CSI "%dF", "cursor-preceding-line", 0},
{CSI "G", "cursor-character-absolute", 0},
{CSI "%dG", "cursor-character-absolute", 0},
{CSI "H", "cursor-position", 0},
{CSI ";H", "cursor-position", 0},
{CSI "%dH", "cursor-position", 0},
{CSI "%d;H", "cursor-position", 0},
{CSI ";%dH", "cursor-position-top-row", 0},
{CSI "%d;%dH", "cursor-position", 0},
{CSI "I", "cursor-forward-tabulation", 0},
{CSI "%dI", "cursor-forward-tabulation", 0},
{CSI "J", "erase-in-display", 0},
{CSI "%dJ", "erase-in-display", 0},
{CSI "?J", "selective-erase-in-display", 0},
{CSI "?%dJ", "selective-erase-in-display", 0},
{CSI "K", "erase-in-line", 0},
{CSI "%dK", "erase-in-line", 0},
{CSI "?K", "selective-erase-in-line", 0},
{CSI "?%dK", "selective-erase-in-line", 0},
{CSI "L", "insert-lines", 0},
{CSI "%dL", "insert-lines", 0},
{CSI "M", "delete-lines", 0},
{CSI "%dM", "delete-lines", 0},
{CSI "P", "delete-characters", 0},
{CSI "%dP", "delete-characters", 0},
{CSI "S", "scroll-up", 0},
{CSI "%dS", "scroll-up", 0},
{CSI "T", "scroll-down", 0},
{CSI "%dT", "scroll-down", 0},
{CSI "%d;%d;%d;%d;%dT", "initiate-hilite-mouse-tracking", 0},
{CSI "X", "erase-characters", 0},
{CSI "%dX", "erase-characters", 0},
{CSI "Z", "cursor-back-tab", 0},
{CSI "%dZ", "cursor-back-tab", 0},
{CSI "@", "insert-blank-characters"},
{CSI "%d@", "insert-blank-characters"},
{CSI "A", "cursor-up"},
{CSI "%dA", "cursor-up"},
{CSI "B", "cursor-down"},
{CSI "%dB", "cursor-down"},
{CSI "C", "cursor-forward"},
{CSI "%dC", "cursor-forward"},
{CSI "D", "cursor-backward"},
{CSI "%dD", "cursor-backward"},
{CSI "E", "cursor-next-line"},
{CSI "%dE", "cursor-next-line"},
{CSI "F", "cursor-preceding-line"},
{CSI "%dF", "cursor-preceding-line"},
{CSI "G", "cursor-character-absolute"},
{CSI "%dG", "cursor-character-absolute"},
{CSI "H", "cursor-position"},
{CSI ";H", "cursor-position"},
{CSI "%dH", "cursor-position"},
{CSI "%d;H", "cursor-position"},
{CSI ";%dH", "cursor-position-top-row"},
{CSI "%d;%dH", "cursor-position"},
{CSI "I", "cursor-forward-tabulation"},
{CSI "%dI", "cursor-forward-tabulation"},
{CSI "J", "erase-in-display"},
{CSI "%dJ", "erase-in-display"},
{CSI "?J", "selective-erase-in-display"},
{CSI "?%dJ", "selective-erase-in-display"},
{CSI "K", "erase-in-line"},
{CSI "%dK", "erase-in-line"},
{CSI "?K", "selective-erase-in-line"},
{CSI "?%dK", "selective-erase-in-line"},
{CSI "L", "insert-lines"},
{CSI "%dL", "insert-lines"},
{CSI "M", "delete-lines"},
{CSI "%dM", "delete-lines"},
{CSI "P", "delete-characters"},
{CSI "%dP", "delete-characters"},
{CSI "S", "scroll-up"},
{CSI "%dS", "scroll-up"},
{CSI "T", "scroll-down"},
{CSI "%dT", "scroll-down"},
{CSI "%d;%d;%d;%d;%dT", "initiate-hilite-mouse-tracking"},
{CSI "X", "erase-characters"},
{CSI "%dX", "erase-characters"},
{CSI "Z", "cursor-back-tab"},
{CSI "%dZ", "cursor-back-tab"},
{CSI "`", "character-position-absolute", 0},
{CSI "%d`", "character-position-absolute", 0},
{CSI "b", "repeat", 0},
{CSI "%db", "repeat", 0},
{CSI "c", "send-primary-device-attributes", 0},
{CSI "%dc", "send-primary-device-attributes", 0},
{CSI ">c", "send-secondary-device-attributes", 0},
{CSI ">%dc", "send-secondary-device-attributes", 0},
{CSI "=c", "send-tertiary-device-attributes", 0},
{CSI "=%dc", "send-tertiary-device-attributes", 0},
{CSI "?%mc", "linux-console-cursor-attributes", 0},
{CSI "d", "line-position-absolute", 0},
{CSI "%dd", "line-position-absolute", 0},
{CSI "f", "cursor-position", 0},
{CSI ";f", "cursor-position", 0},
{CSI "%df", "cursor-position", 0},
{CSI "%d;f", "cursor-position", 0},
{CSI ";%df", "cursor-position-top-row", 0},
{CSI "%d;%df", "cursor-position", 0},
{CSI "g", "tab-clear", 0},
{CSI "%dg", "tab-clear", 0},
{CSI "`", "character-position-absolute"},
{CSI "%d`", "character-position-absolute"},
{CSI "b", "repeat"},
{CSI "%db", "repeat"},
{CSI "c", "send-primary-device-attributes"},
{CSI "%dc", "send-primary-device-attributes"},
{CSI ">c", "send-secondary-device-attributes"},
{CSI ">%dc", "send-secondary-device-attributes"},
{CSI "=c", "send-tertiary-device-attributes"},
{CSI "=%dc", "send-tertiary-device-attributes"},
{CSI "?%mc", "linux-console-cursor-attributes"},
{CSI "d", "line-position-absolute"},
{CSI "%dd", "line-position-absolute"},
{CSI "f", "cursor-position"},
{CSI ";f", "cursor-position"},
{CSI "%df", "cursor-position"},
{CSI "%d;f", "cursor-position"},
{CSI ";%df", "cursor-position-top-row"},
{CSI "%d;%df", "cursor-position"},
{CSI "g", "tab-clear"},
{CSI "%dg", "tab-clear"},
{CSI "%mh", "set-mode", 0},
{CSI "?%mh", "decset", 0},
{CSI "%mh", "set-mode"},
{CSI "?%mh", "decset"},
{CSI "%mi", "media-copy", 0},
{CSI "?%mi", "dec-media-copy", 0},
{CSI "%mi", "media-copy"},
{CSI "?%mi", "dec-media-copy"},
{CSI "%ml", "reset-mode", 0},
{CSI "?%ml", "decreset", 0},
{CSI "%ml", "reset-mode"},
{CSI "?%ml", "decreset"},
{CSI "%mm", "character-attributes", 0},
{CSI "%mm", "character-attributes"},
{CSI "%dn", "device-status-report", 0},
{CSI "?%dn", "dec-device-status-report", 0},
{CSI "!p", "soft-reset", 0},
{CSI "%d;%d\"p", "set-conformance-level", 0},
{CSI "%d\"q", "select-character-protection", 0},
{CSI "%dn", "device-status-report"},
{CSI "?%dn", "dec-device-status-report"},
{CSI "!p", "soft-reset"},
{CSI "%d;%d\"p", "set-conformance-level"},
{CSI "%d\"q", "select-character-protection"},
{CSI "r", "set-scrolling-region", 0},
{CSI ";r", "set-scrolling-region", 0},
{CSI ";%dr", "set-scrolling-region-from-start", 0},
{CSI "%dr", "set-scrolling-region-to-end", 0},
{CSI "%d;r", "set-scrolling-region-to-end", 0},
{CSI "%d;%dr", "set-scrolling-region", 0},
{CSI "r", "set-scrolling-region"},
{CSI ";r", "set-scrolling-region"},
{CSI ";%dr", "set-scrolling-region-from-start"},
{CSI "%dr", "set-scrolling-region-to-end"},
{CSI "%d;r", "set-scrolling-region-to-end"},
{CSI "%d;%dr", "set-scrolling-region"},
{CSI "?%mr", "restore-mode", 0},
{CSI "s", "save-cursor", 0},
{CSI "?%ms", "save-mode", 0},
{CSI "u", "restore-cursor", 0},
{CSI "?%mr", "restore-mode"},
{CSI "s", "save-cursor"},
{CSI "?%ms", "save-mode"},
{CSI "u", "restore-cursor"},
{CSI "%mt", "window-manipulation", 0},
{CSI "%mt", "window-manipulation"},
{CSI "%d;%d;%d;%dw", "enable-filter-rectangle", 0},
{CSI "%dx", "request-terminal-parameters", 0},
{CSI "%d;%d'z", "enable-locator-reporting", 0},
{CSI "%m'{", "select-locator-events", 0},
{CSI "%d'|", "request-locator-position", 0},
{CSI "%d;%d;%d;%dw", "enable-filter-rectangle"},
{CSI "%dx", "request-terminal-parameters"},
{CSI "%d;%d'z", "enable-locator-reporting"},
{CSI "%m'{", "select-locator-events"},
{CSI "%d'|", "request-locator-position"},
/* Set text parameters, BEL-terminated versions. */
{OSC ";%s" BEL, "set-icon-and-window-title", 0}, /* undocumented default */
{OSC "0;%s" BEL, "set-icon-and-window-title", 0},
{OSC "1;%s" BEL, "set-icon-title", 0},
{OSC "2;%s" BEL, "set-window-title", 0},
{OSC "3;%s" BEL, "set-xproperty", 0},
{OSC "4;%s" BEL, "change-color-bel", 0},
{OSC "6;%s" BEL, "set-current-file-uri", 0},
{OSC "7;%s" BEL, "set-current-directory-uri", 0},
{OSC "10;%s" BEL, "change-foreground-color-bel", 0},
{OSC "11;%s" BEL, "change-background-color-bel", 0},
{OSC "12;%s" BEL, "change-cursor-color-bel", 0},
{OSC "13;%s" BEL, "change-mouse-cursor-foreground-color-bel", 0},
{OSC "14;%s" BEL, "change-mouse-cursor-background-color-bel", 0},
{OSC "15;%s" BEL, "change-tek-foreground-color-bel", 0},
{OSC "16;%s" BEL, "change-tek-background-color-bel", 0},
{OSC "17;%s" BEL, "change-highlight-background-color-bel", 0},
{OSC "18;%s" BEL, "change-tek-cursor-color-bel", 0},
{OSC "19;%s" BEL, "change-highlight-foreground-color-bel", 0},
{OSC "46;%s" BEL, "change-logfile", 0},
{OSC "50;#%d" BEL, "change-font-number", 0},
{OSC "50;%s" BEL, "change-font-name", 0},
{OSC "104" BEL, "reset-color", 0},
{OSC "104;%m" BEL, "reset-color", 0},
{OSC "110" BEL, "reset-foreground-color", 0},
{OSC "111" BEL, "reset-background-color", 0},
{OSC "112" BEL, "reset-cursor-color", 0},
{OSC "113" BEL, "reset-mouse-cursor-foreground-color", 0},
{OSC "114" BEL, "reset-mouse-cursor-background-color", 0},
{OSC "115" BEL, "reset-tek-foreground-color", 0},
{OSC "116" BEL, "reset-tek-background-color", 0},
{OSC "117" BEL, "reset-highlight-background-color", 0},
{OSC "118" BEL, "reset-tek-cursor-color", 0},
{OSC "119" BEL, "reset-highlight-foreground-color", 0},
{OSC ";%s" BEL, "set-icon-and-window-title"}, /* undocumented default */
{OSC "0;%s" BEL, "set-icon-and-window-title"},
{OSC "1;%s" BEL, "set-icon-title"},
{OSC "2;%s" BEL, "set-window-title"},
{OSC "3;%s" BEL, "set-xproperty"},
{OSC "4;%s" BEL, "change-color-bel"},
{OSC "6;%s" BEL, "set-current-file-uri"},
{OSC "7;%s" BEL, "set-current-directory-uri"},
{OSC "10;%s" BEL, "change-foreground-color-bel"},
{OSC "11;%s" BEL, "change-background-color-bel"},
{OSC "12;%s" BEL, "change-cursor-color-bel"},
{OSC "13;%s" BEL, "change-mouse-cursor-foreground-color-bel"},
{OSC "14;%s" BEL, "change-mouse-cursor-background-color-bel"},
{OSC "15;%s" BEL, "change-tek-foreground-color-bel"},
{OSC "16;%s" BEL, "change-tek-background-color-bel"},
{OSC "17;%s" BEL, "change-highlight-background-color-bel"},
{OSC "18;%s" BEL, "change-tek-cursor-color-bel"},
{OSC "19;%s" BEL, "change-highlight-foreground-color-bel"},
{OSC "46;%s" BEL, "change-logfile"},
{OSC "50;#%d" BEL, "change-font-number"},
{OSC "50;%s" BEL, "change-font-name"},
{OSC "104" BEL, "reset-color"},
{OSC "104;%m" BEL, "reset-color"},
{OSC "110" BEL, "reset-foreground-color"},
{OSC "111" BEL, "reset-background-color"},
{OSC "112" BEL, "reset-cursor-color"},
{OSC "113" BEL, "reset-mouse-cursor-foreground-color"},
{OSC "114" BEL, "reset-mouse-cursor-background-color"},
{OSC "115" BEL, "reset-tek-foreground-color"},
{OSC "116" BEL, "reset-tek-background-color"},
{OSC "117" BEL, "reset-highlight-background-color"},
{OSC "118" BEL, "reset-tek-cursor-color"},
{OSC "119" BEL, "reset-highlight-foreground-color"},
/* Set text parameters, ST-terminated versions. */
{OSC ";%s" ST, "set-icon-and-window-title", 0}, /* undocumented default */
{OSC "0;%s" ST, "set-icon-and-window-title", 0},
{OSC "1;%s" ST, "set-icon-title", 0},
{OSC "2;%s" ST, "set-window-title", 0},
{OSC "3;%s" ST, "set-xproperty", 0},
{OSC "4;%s" ST, "change-color-st", 0},
{OSC "6;%s" ST, "set-current-file-uri", 0},
{OSC "7;%s" ST, "set-current-directory-uri", 0},
{OSC "10;%s" ST, "change-foreground-color-st", 0},
{OSC "11;%s" ST, "change-background-color-st", 0},
{OSC "12;%s" ST, "change-cursor-color-st", 0},
{OSC "13;%s" ST, "change-mouse-cursor-foreground-color-st", 0},
{OSC "14;%s" ST, "change-mouse-cursor-background-color-st", 0},
{OSC "15;%s" ST, "change-tek-foreground-color-st", 0},
{OSC "16;%s" ST, "change-tek-background-color-st", 0},
{OSC "17;%s" ST, "change-highlight-background-color-st", 0},
{OSC "18;%s" ST, "change-tek-cursor-color-st", 0},
{OSC "19;%s" ST, "change-highlight-foreground-color-st", 0},
{OSC "46;%s" ST, "change-logfile", 0},
{OSC "50;#%d" ST, "change-font-number", 0},
{OSC "50;%s" ST, "change-font-name", 0},
{OSC "104" ST, "reset-color", 0},
{OSC "104;%m" ST, "reset-color", 0},
{OSC "110" ST, "reset-foreground-color", 0},
{OSC "111" ST, "reset-background-color", 0},
{OSC "112" ST, "reset-cursor-color", 0},
{OSC "113" ST, "reset-mouse-cursor-foreground-color", 0},
{OSC "114" ST, "reset-mouse-cursor-background-color", 0},
{OSC "115" ST, "reset-tek-foreground-color", 0},
{OSC "116" ST, "reset-tek-background-color", 0},
{OSC "117" ST, "reset-highlight-background-color", 0},
{OSC "118" ST, "reset-tek-cursor-color", 0},
{OSC "119" ST, "reset-highlight-foreground-color", 0},
{OSC ";%s" ST, "set-icon-and-window-title"}, /* undocumented default */
{OSC "0;%s" ST, "set-icon-and-window-title"},
{OSC "1;%s" ST, "set-icon-title"},
{OSC "2;%s" ST, "set-window-title"},
{OSC "3;%s" ST, "set-xproperty"},
{OSC "4;%s" ST, "change-color-st"},
{OSC "6;%s" ST, "set-current-file-uri"},
{OSC "7;%s" ST, "set-current-directory-uri"},
{OSC "10;%s" ST, "change-foreground-color-st"},
{OSC "11;%s" ST, "change-background-color-st"},
{OSC "12;%s" ST, "change-cursor-color-st"},
{OSC "13;%s" ST, "change-mouse-cursor-foreground-color-st"},
{OSC "14;%s" ST, "change-mouse-cursor-background-color-st"},
{OSC "15;%s" ST, "change-tek-foreground-color-st"},
{OSC "16;%s" ST, "change-tek-background-color-st"},
{OSC "17;%s" ST, "change-highlight-background-color-st"},
{OSC "18;%s" ST, "change-tek-cursor-color-st"},
{OSC "19;%s" ST, "change-highlight-foreground-color-st"},
{OSC "46;%s" ST, "change-logfile"},
{OSC "50;#%d" ST, "change-font-number"},
{OSC "50;%s" ST, "change-font-name"},
{OSC "104" ST, "reset-color"},
{OSC "104;%m" ST, "reset-color"},
{OSC "110" ST, "reset-foreground-color"},
{OSC "111" ST, "reset-background-color"},
{OSC "112" ST, "reset-cursor-color"},
{OSC "113" ST, "reset-mouse-cursor-foreground-color"},
{OSC "114" ST, "reset-mouse-cursor-background-color"},
{OSC "115" ST, "reset-tek-foreground-color"},
{OSC "116" ST, "reset-tek-background-color"},
{OSC "117" ST, "reset-highlight-background-color"},
{OSC "118" ST, "reset-tek-cursor-color"},
{OSC "119" ST, "reset-highlight-foreground-color"},
/* These may be bogus, I can't find docs for them anywhere (#104154). */
{OSC "21;%s" BEL, "set-text-property-21", 0},
{OSC "2L;%s" BEL, "set-text-property-2L", 0},
{OSC "21;%s" ST, "set-text-property-21", 0},
{OSC "2L;%s" ST, "set-text-property-2L", 0},
{OSC "21;%s" BEL, "set-text-property-21"},
{OSC "2L;%s" BEL, "set-text-property-2L"},
{OSC "21;%s" ST, "set-text-property-21"},
{OSC "2L;%s" ST, "set-text-property-2L"},
{NULL, NULL, 0},
{NULL, NULL},
};
......@@ -38,7 +38,6 @@ G_BEGIN_DECLS
struct _vte_capability_string {
const char *code;
const char *value;
GQuark quark;
};
/* The xterm-specific terminal control strings, terminated by NULLs. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment