Both sides previous revision
Previous revision
Next revision
|
Previous revision
Last revision
Both sides next revision
|
tips:solaris:screen_terminfo [2010/01/09 00:58] mattieu |
tips:solaris:screen_terminfo [2010/01/10 23:35] mattieu |
We need to convert this to a terminfo file and compile it. All tools used below come standard with Solaris. | We need to convert this to a terminfo file and compile it. All tools used below come standard with Solaris. |
| |
''$ captoinfo screencap > screen.ti\\ | <code bash>$ captoinfo screencap > screen.ti |
"screencap", line 2, col 24, terminal 'screen': unknown capability 'G0'\\ | "screencap", line 2, col 24, terminal 'screen': unknown capability 'G0' |
"screencap", line 18, col 58, terminal 'screen': unknown capability 'AX'\\ | "screencap", line 18, col 58, terminal 'screen': unknown capability 'AX' |
# tic screen.ti\\ | $ sudo tic screen.ti |
$ ls -d /usr/share/lib/terminfo/s/screen*\\ | $ ls -d /usr/share/lib/terminfo/s/screen* |
/usr/share/lib/terminfo/s/screen /usr/share/lib/terminfo/s/screen-w'' | /usr/share/lib/terminfo/s/screen /usr/share/lib/terminfo/s/screen-w</code> |
| |
//Note: Make sure you're running ''/usr/bin/tic'', not ''/usr/local/bin/tic'' (comes with some sunfreeware package). The ''/usr/local/bin/tic'' will write it's terminfo file to ''/usr/local/share/terminfo'' which isn't used by any shell I've tried, not by default anyway. Something to keep in mind.// | //Note: Make sure you're running ''/usr/bin/tic'', not ''/usr/local/bin/tic'' (comes with some sunfreeware package). The ''/usr/local/bin/tic'' will write it's terminfo file to ''/usr/local/share/terminfo'' which isn't used by any shell I've tried, not by default anyway. Something to keep in mind.// |
| |
Now you've got a screen terminfo entry. Setting your TERM to 'screen' should work now, which is the default inside new screen sessions. | Now you've got a screen terminfo entry. Setting your TERM to 'screen' should work now, which is the default inside new screen sessions. |
| ~~NOTOC~~ |