Issue #2397 has been updated by John Marino.
These links give hints what needs to be changed: https://blogs.oracle.com/samf/entry/smcup_rmcup_hate from: http://chenyufei.info/blog/2011-12-15/prevent-vim-less-clear-screen-on-exit/ ---------------------------------------- Bug #2397: xterm window content cleared after man(1) exit http://bugs.dragonflybsd.org/issues/2397 Author: Francois Tigeot Status: New Priority: Normal Assignee: Category: Target version: Starting with commit 3ac91e86fba7d34199699a87e1ff109aacc8eec4 "ncurses: move USE_GETCAP, update README files", xterm now clears its window when the end of a man page is reached and the man(1) program exits. The behavior makes it impossible to read a complete man page without piping the output to less(1), which is very annoying. setting TERM=cons25 in xterm can be used as a workaround but breaks curse-based applications. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account