diff options
| author | Miguel <m.i@gmx.at> | 2018-10-14 22:36:16 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-14 22:36:16 +0200 |
| commit | 2a6690e9fd53a02613796764248006e06ac482d6 (patch) | |
| tree | ea3063ef3ecd0808e9291faf6c56949d91b1b09e /packages/ncurses-6.1/foolterm.ti | |
| parent | 5aeab1c853e487aa0042d5c32200d623efe908d3 (diff) | |
ported vim et al
Diffstat (limited to 'packages/ncurses-6.1/foolterm.ti')
| -rw-r--r-- | packages/ncurses-6.1/foolterm.ti | 44 |
1 files changed, 29 insertions, 15 deletions
diff --git a/packages/ncurses-6.1/foolterm.ti b/packages/ncurses-6.1/foolterm.ti index acef9ad..0b316fa 100644 --- a/packages/ncurses-6.1/foolterm.ti +++ b/packages/ncurses-6.1/foolterm.ti @@ -1,19 +1,23 @@ # https://en.wikipedia.org/wiki/ANSI_escape_code # FoolOS built-in terminal emulator # check "man 5 terminfo" to understand this file +# https://invisible-island.net/xterm/terminfo.html +# we want to be a vt52? fool-term|FoolOS built-in terminal emulator, -# automargins +# automargins. (line feed and carriage return when end of line is reached) am, -# erased with background color + +# erased with CURRENT background color when using dch1 ('\Ex') bce, + # can erase overstrikes with blanks - eo, +# eo, # safe to move in insert mode - mir, +## mir, # safe to move in standout mode - msgr, +## msgr, # xenl, xon, @@ -30,12 +34,17 @@ fool-term|FoolOS built-in terminal emulator, # this could hold an alterntive table paiting method # acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, - clear=\Ec, cr=\015, +# clear + clear=\Ec, + +# carraige return (to x=0) (\r) + cr=\015, # movement -# +# Home home=\EH, +# back/down/forward/up cub1=\Eb, cud1=\Ed, cuf1=\Ef, @@ -49,27 +58,31 @@ fool-term|FoolOS built-in terminal emulator, # cup=\EY%p1%' '%+%c%p2%' '%+%c, -# clear to end of screen / line +# clear to end of screen ed=\EJ, + +# clear to end of line el=\EK, -# delchar +# del char under cursor dch1=\Ex, -# backspace +# backspace (not echoed anyway?) kbs=\010, # tab ht=\011, -# newline +# newline (\n) nel=\012, -# scrolling (down,reverse) +# scrolling text up ind=\ED, + +# scrolling text down ri=\EM, -# keys +# arrow keys kcub1=\E<, kcud1=\Ev, kcuf1=\E>, kcuu1=\Ea, @@ -95,8 +108,9 @@ fool-term|FoolOS built-in terminal emulator, ## kf8=\E[19~, ## kf9=\E[20~, -#colors +#colors background/foreground setab=\E[4%p1%dm, setaf=\E[3%p1%dm, - oc=\E[37;40m, +#set original color pair (simply white on black) + op=\E[37;40m, |
