diff options
| author | Miguel <m.i@gmx.at> | 2018-10-13 00:57:28 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-10-13 00:57:28 +0200 |
| commit | 279f3336a8f6b31ca38bdd272c73aebd68fa88fe (patch) | |
| tree | b4bb4a21a4acf38eb810768ac6c1b099e2f18a58 /packages/ncurses-6.1/foolterm.ti | |
| parent | b461c3558b2fe765a4bac512638b0acf5185b4bb (diff) | |
ncurses arrow keys working etc
Diffstat (limited to 'packages/ncurses-6.1/foolterm.ti')
| -rw-r--r-- | packages/ncurses-6.1/foolterm.ti | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/packages/ncurses-6.1/foolterm.ti b/packages/ncurses-6.1/foolterm.ti new file mode 100644 index 0000000..acef9ad --- /dev/null +++ b/packages/ncurses-6.1/foolterm.ti @@ -0,0 +1,102 @@ +# https://en.wikipedia.org/wiki/ANSI_escape_code +# FoolOS built-in terminal emulator +# check "man 5 terminfo" to understand this file + +fool-term|FoolOS built-in terminal emulator, + +# automargins + am, +# erased with background color + bce, +# can erase overstrikes with blanks + eo, +# safe to move in insert mode + mir, +# safe to move in standout mode + msgr, + +# xenl, xon, + +# size + cols#80, lines#24, + +# max colors and colorpairs + colors#8, + pairs#64, + +# tabwidth + it#8, + +# 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, + +# movement +# + home=\EH, + + cub1=\Eb, + cud1=\Ed, + cuf1=\Ef, + cuu1=\Eu, + + +# cursor position %i increases so it is 1 based +# %p1%d pushes row and prints as int +# %p2%d pushes col and prints as int + cup=\E[%i%p1%d;%p2%dH, + +# cup=\EY%p1%' '%+%c%p2%' '%+%c, + +# clear to end of screen / line + ed=\EJ, + el=\EK, + +# delchar + dch1=\Ex, + +# backspace + kbs=\010, + +# tab + ht=\011, + +# newline + nel=\012, + +# scrolling (down,reverse) + ind=\ED, + ri=\EM, + +# keys + kcub1=\E<, kcud1=\Ev, + kcuf1=\E>, kcuu1=\Ea, + +# function keys (todo: kb driver..) +## kf1=\E[[A, +## kf10=\E[21~, +## kf11=\E[23~, +## kf12=\E[24~, +### kf13=\E[25~, +### kf14=\E[26~, +### kf15=\E[28~, +### kf16=\E[29~, +### kf17=\E[31~, +### kf18=\E[32~, +### kf19=\E[33~, +## kf2=\E[[B, +### kf20=\E[34~, +## kf3=\E[[C, +## kf4=\E[[D, +## kf5=\E[[E, +## kf6=\E[17~, +## kf7=\E[18~, +## kf8=\E[19~, +## kf9=\E[20~, + +#colors + setab=\E[4%p1%dm, + setaf=\E[3%p1%dm, + oc=\E[37;40m, + |
