{ "module": "xterm", "version": "1", "moved": true, "capabilities": [ "package-manager" ], "requires": [ "x11-display" ], "claims": [ { "name": "node-terminal-emulator", "scope": "node", "serves": [ "open" ] } ], "tools": [ "xterm_font", "xterm_colours" ], "config": { "face": { "type": "string", "description": "The font family xterm draws with, as fc-list names it: JetBrainsMono Nerd Font, because research 026/04 chose it for its glyphs the prompt uses. A family the machine does not have falls back to the nearest installed face (xterm_font says which).", "pattern": "[A-Za-z0-9 ._-]{1,64}", "default": "JetBrainsMono Nerd Font" }, "size": { "type": "number", "description": "The size of xterm's text, in points: 12 reads well on a screen of about 100 DPI, and a denser screen needs a larger size.", "minimum": 6, "maximum": 72, "predefined": "font-size", "default": 12 }, "save-lines": { "type": "number", "description": "How many lines of scrollback xterm keeps per terminal: 10000 holds a long build log, and each line costs memory in every open terminal.", "minimum": 0, "maximum": 1000000, "default": 10000 }, "term-name": { "type": "string", "description": "The TERM value xterm sets for the programs it runs: xterm-256color, because the palette has 256 colours and every program knows the name.", "pattern": "[A-Za-z0-9._-]{1,64}", "default": "xterm-256color" }, "render-font": { "type": "boolean", "description": "Whether xterm draws with fontconfig faces (true) or the old X core fonts (false): true, because the face is a fontconfig family and core fonts cannot show it.", "default": true }, "bold-mode": { "type": "boolean", "description": "Whether xterm draws bold text by overstriking the normal face (true): false, because the face has a real bold style and overstriking blurs it.", "default": false }, "always-bold-mode": { "type": "boolean", "description": "Whether xterm overstrikes bold even where the face has a bold style (true): false, for the same reason as bold-mode.", "default": false }, "allow-bold-fonts": { "type": "boolean", "description": "Whether xterm may use the face's bold style for bold text (true): true, so bold text is drawn with the real bold weight.", "default": true }, "background": { "type": "string", "description": "The terminal's background colour, as #rrggbb: black, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#000000" }, "foreground": { "type": "string", "description": "The terminal's text colour, as #rrggbb: a light grey, easier on the eyes than white on black.", "pattern": "#[0-9a-fA-F]{6}", "default": "#a8a8a8" }, "color0": { "type": "string", "description": "Palette entry 0, the normal black, as #rrggbb: #000000, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#000000" }, "color1": { "type": "string", "description": "Palette entry 1, the normal red, as #rrggbb: #9e1828, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#9e1828" }, "color2": { "type": "string", "description": "Palette entry 2, the normal green, as #rrggbb: #008800, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#008800" }, "color3": { "type": "string", "description": "Palette entry 3, the normal yellow, as #rrggbb: #d2bb4b, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#d2bb4b" }, "color4": { "type": "string", "description": "Palette entry 4, the normal blue, as #rrggbb: #414171, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#414171" }, "color5": { "type": "string", "description": "Palette entry 5, the normal magenta, as #rrggbb: #963c59, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#963c59" }, "color6": { "type": "string", "description": "Palette entry 6, the normal cyan, as #rrggbb: #418179, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#418179" }, "color7": { "type": "string", "description": "Palette entry 7, the normal white, as #rrggbb: #bebebe, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#bebebe" }, "color8": { "type": "string", "description": "Palette entry 8, the bright black, as #rrggbb: #666666, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#666666" }, "color9": { "type": "string", "description": "Palette entry 9, the bright red, as #rrggbb: #bc5766, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#bc5766" }, "color10": { "type": "string", "description": "Palette entry 10, the bright green, as #rrggbb: #61a171, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#61a171" }, "color11": { "type": "string", "description": "Palette entry 11, the bright yellow, as #rrggbb: #e7db52, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#e7db52" }, "color12": { "type": "string", "description": "Palette entry 12, the bright blue, as #rrggbb: #5085af, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#5085af" }, "color13": { "type": "string", "description": "Palette entry 13, the bright magenta, as #rrggbb: #a97a99, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#a97a99" }, "color14": { "type": "string", "description": "Palette entry 14, the bright cyan, as #rrggbb: #6ba4a4, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#6ba4a4" }, "color15": { "type": "string", "description": "Palette entry 15, the bright white, as #rrggbb: #ffffff, as both workstations ran it.", "pattern": "#[0-9a-fA-F]{6}", "default": "#ffffff" }, "copy-binding": { "type": "string", "description": "The key combination that copies the selection to the clipboard, in X translation syntax: Ctrl Shift ~Alt C, so a plain Ctrl+C still interrupts the program. It holds no colon, backslash or line break, which would end the resource.", "pattern": "[^:\\\\\\n]+", "default": "Ctrl Shift ~Alt C" }, "paste-binding": { "type": "string", "description": "The key combination that pastes the clipboard, in X translation syntax: Ctrl Shift ~Alt V, the pair of copy-binding. It holds no colon, backslash or line break, which would end the resource.", "pattern": "[^:\\\\\\n]+", "default": "Ctrl Shift ~Alt V" } }, "items": [ { "collection": "environment", "name": "terminal", "attributes": { "kind": "variable", "name": "TERMINAL" }, "template": "files/env-terminal" }, { "collection": "shell:xresources:normal", "name": "xresources-normal", "template": "files/xresources-normal" } ], "resources": [ { "id": "package", "type": "package", "package": "xterm" } ], "build": { "artifacts": [ { "name": "tools", "kind": "bundle", "language": "go", "system": "arch", "from": "cmd/xterm-tools", "binary": "xterm-tools", "loads": [ "xterm-tools" ] }, { "name": "files", "kind": "archive", "from": "files" } ] } }