#DHEXCOLORSCHEME #VERSION 0 # # A COMPLETE dhex config, shipped so the pty leg never meets the keyboard setup. # readconfigfile() counts the KEY* lines it recognised and returns 2 unless ALL 23 # (NUM_SPECIALKEYS = 0x17) are configured; main() turns that 2 into # keyboardsetupreq=1, which opens a full-screen key-capture wizard before the # editor. The config dhex writes for itself carries colours and no KEY* lines at # all, so a first run is ALWAYS the wizard -- this file is what skips it. # # It is also why selftest_dhex.exp passes -f: with a config named on the command # line main() never reads $HOME, so the pty leg needs neither a writable home nor # a home at all. This file is only ever read, which is what makes it safe on the # read-only rootfs it ships into. # # The sequences are the ANSI ones an xterm sends, chosen so expect can type them # literally. Values are hex byte pairs; the parser upcases the line and strips # spaces, so the spacing here is for reading only. BRACKETS: FG=BLACK,BG=BLACK,BOLD HEXFIELD: FG=WHITE,BG=BLACK INPUT: FG=BLACK,BG=WHITE CURSOR: FG=WHITE,BG=BLACK TEXT: FG=WHITE,BG=BLACK,BOLD MENU_NORMAL: FG=CYAN,BG=BLACK MENU_HIGHLIGHT: FG=BLACK,BG=CYAN MENU_HOTKEY: FG=YELLOW,BG=BLACK,BOLD MENU_HOTKEY_HI: FG=YELLOW,BG=CYAN,BOLD FRAME: FG=BLUE,BG=BLACK,BOLD NORMAL_DIFF: FG=YELLOW,BG=BLACK CURSOR_DIFF: FG=YELLOW,BG=WHITE,BOLD HEADLINE: FG=BLUE,BG=BLACK,BOLD HEADER: FG=BLACK,BG=CYAN KEYESC:1B KEYF1:1B 5B 31 31 7E KEYF2:1B 5B 31 32 7E KEYF3:1B 5B 31 33 7E KEYF4:1B 5B 31 34 7E KEYF5:1B 5B 31 35 7E KEYF6:1B 5B 31 37 7E KEYF7:1B 5B 31 38 7E KEYF8:1B 5B 31 39 7E KEYF9:1B 5B 32 30 7E KEYF10:1B 5B 32 31 7E KEYBACKSPACE:08 KEYDEL:7F KEYENTER:0A KEYTAB:09 KEYUP:1B 5B 41 KEYDOWN:1B 5B 42 KEYRIGHT:1B 5B 43 KEYLEFT:1B 5B 44 KEYPGUP:1B 5B 35 7E KEYPGDOWN:1B 5B 36 7E KEYHOME:1B 5B 48 KEYEND:1B 5B 46