DansDeals.com

WordPress › Support » Tag: 125 x 125 - Recent Posts

Tuesday, January 24, 2012

blogwaffe » Prevent man, nano from Clearing Screen on Exit in Terminal.app

blogwaffe » Prevent man, nano from Clearing Screen on Exit in Terminal.app: "Prevent man, nano from Clearing Screen on Exit in Terminal.app
Filed under: note to self @ 12:42
$ mkdir ~/.terminfo
$ infocmp > ~/.terminfo/xterm-color-noclear.terminfo
$ nano ~/.terminfo/xterm-color-noclear.terminfo
# 1. Change 'xterm-color' on second line to 'xterm-color-noclear'
# 2. Remove 'smcup' and 'rmcup'
$ tic ~/.terminfo/xterm-color-noclear.terminfo
$ export TERM=xterm-color-noclear
# Add export line to .profile"

'via Blog this'

No comments:

Post a Comment

The Collective

cPanel Documentation