![]() |
|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
1. Explain a little bit more.
Does linux use same $PAGER as FreeBSD? 2. Read ":h xterm-save-screen" in vim |
|
||||
![]() Quote:
![]() Add this line to editor startup file (.vimrc for vim or .exrc for vi) Code:
set t_ti= t_te=
__________________
The power of plain text? It can control an entire OS |
|
|||
![]()
alias man='env PAGER=lookat man $1'
................ I've set that in .zshrc. Don't know how to do it in other shells really, but /lookat/ is super for man pages : s-- search q-- exit t -- top of page b -- bottom [number] -- go to line and its default color is more readable, here at least. ................
__________________
FreeBSD 13-STABLE |
|
||||
![]()
Im happy with black and white color man page. The problem properly because man page format in FreeBSD differs from Linux? This is how the raw man file looks like with vim, in FreeBSD:
vim /usr/share/man/cat8/ifconfig.8.gz ![]()
__________________
The power of plain text? It can control an entire OS |
|
|||
![]()
Linux does things differently. It use width of terminal when creating manual page output via troff to be viewed in PAGER.
It may be something different in man itself or in groff macro package (man on freebsd use mdoc). What happens when you resize terminal on linux when viewing man pages? |
|
||||
![]()
Oh, it is auto resized in Linux. Also, I realise the same behavior when viewing man page in Linux. If I finish viewing man page, the content is gone, just like how it happenned with vi. Do you know how to config it?
![]()
__________________
The power of plain text? It can control an entire OS |
|
|||
![]()
No, but look in PAGER how it handles it ... eg. Does less clear screen when displaying every file. Maybe termcap/terminfo on linux is different than on FreeBSD.
Similar experience I have with elinks on xterm on FreeBSD, as fast hack I kill it with Ctrl+\ ![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
HOWTO: Encoding // Pure Terminal // Virtual Terminal | vermaden | Guides | 1 | 25th June 2010 08:02 AM |
netbsd terminal error | jaideep_jdof | NetBSD General | 1 | 22nd November 2008 12:50 AM |
Odd font display | TerryP | Feedback and Suggestions | 4 | 2nd November 2008 11:22 AM |
terminal | darken | FreeBSD General | 8 | 18th July 2008 07:12 PM |
Strange network behavior | Weaseal | Off-Topic | 4 | 27th May 2008 05:34 PM |