You are not logged in.
Pages: 1
I am using archlinux 5.4.69-1-lts and kde . Here is the output of "man man" command from the konsole.
MAN(1) Manual pager utils MAN(1)
[1;36mNAME[0m
man - an interface to the system reference manuals
[1;36mSYNOPSIS[0m
[1;36mman[0m [[1;32mman[0m [1;32moptions[0m] [[[1;32msection[0m] [1;32mpage[0m ...] ...
[1;36mman[0m [1;36m-k[0m [[1;32mapropos[0m [1;32moptions[0m] [1;32mregexp[0m ...
[1;36mman[0m [1;36m-K[0m [[1;32mman[0m [1;32moptions[0m] [[1;32msection[0m] [1;32mterm[0m ...
[1;36mman[0m [1;36m-f[0m [[1;32mwhatis[0m [1;32moptions[0m] [1;32mpage[0m ...
[1;36mman[0m [1;36m-l[0m [[1;32mman[0m [1;32moptions[0m] [1;32mfile[0m ...
[1;36mman[0m [1;36m-w[0m|[1;36m-W[0m [[1;32mman[0m [1;32moptions[0m] [1;32mpage[0m ...
[1;36mDESCRIPTION[0m
[1;36mman[0m is the system's manual pager. Each [1;32mpage[0m argument given to [1;36mman[0m is normally the name of a program, utility or function. The [1;32mmanual[0m [1;32mpage[0m associated with each of these arguments1;32msection[0m, if provided, will direct [1;36mman[0m to look only in that [1;32msection[0m of the manual. The default action is to search in all of the available [1;32msections[0morder (see [1;36mDEFAULTS[0m), and to show only the first [1;32mpage[0m found, even if [1;32mpage[0m exists in several [1;32msections[0m.
The table below shows the [1;32msection[0m numbers of the manual followed by the types of pages they contain.
1 Executable programs or shell commands
2 System calls (functions provided by the kernel)
3 Library calls (functions within program libraries)
4 Special files (usually found in [1;32m/dev[0m)
5 File formats and conventions, e.g. [1;32m/etc/passwd[0m
6 Games
7 Miscellaneous (including macro packages and conventions), e.g. [1;36mman[0m(7), [1;36mgroff[0m(7)
8 System administration commands (usually only for root)
9 Kernel routines [Non standard]
A manual [1;32mpage[0m consists of several sections.
Conventional section names include [1;36mNAME[0m, [1;36mSYNOPSIS[0m, [1;36mCONFIGURATION[0m, [1;36mDESCRIPTION[0m, [1;36mOPTIONS[0m, [1;36mEXIT[0m [1;36mSTATUS[0m, [1;36mRETURN[0m [1;36mVALUE[0m, [1;36mERRORS[0m, [1;36mENVIRONMENT[0m, [1;36mFILES[0m, [1;36mVERSIONS[0m, [1;36mCONFORMING[0m [1;36mTO[0m, [1;36mNOTES[0m,
The following conventions apply to the [1;36mSYNOPSIS[0m section and can be used as a guide in other sections.
[1;36mbold[0m [1;36mtext[0m type exactly as shown.
[1;32mitalic[0m [1;32mtext[0m replace with appropriate argument.
[[1;36m-abc[0m] any or all arguments within [ ] are optional.
[1;36m-a[0m|[1;36m-b[0m options delimited by | cannot be used together.
[1;32margument[0m ... [1;32margument[0m is repeatable.
[[1;32mexpression[0m] ... entire [1;32mexpression[0m within [ ] is repeatable.
Exact rendering may vary depending on the output device. For instance, man will usually not be able to render italics when running in a terminal, and will typically use under‐
lined or coloured text instead.As you can see that the output is not normal. I looking for help in this issue.
Last edited by kawsar (2020-10-05 11:27:48)
Offline
That has to do with how you configured your command prompt or fonts. The man output is normal.
https://wiki.archlinux.org/index.php/Ba … tomization
Last edited by zpg443 (2020-10-04 18:32:09)
Offline
That means i have remove all my prompt customiztion?
Offline
https://wiki.archlinux.org/index.php/Ba … tomization
ANSI escape sequences
Unfortunately, valid ANSI escape sequences may be missing from your terminal's terminfo database. This is especially common with escape sequences for newer features such as 256 color support. In that case you cannot use tput, you must input the escape sequence manually.
See Wikipedia:ANSI escape code for examples of escape sequences. Every escape sequence starts with a literal escape character, which you can input using the Bash escape sequence \e. So for example,\e[48;5;209m sets the background to a peachy color (if you have 256 color support) and \e[2;2H moves the cursor near the top-left corner of the screen.
In cases where Bash escape sequences are not supported (such as PS3) you can get a literal escape character using Bash's printf builtin:
ESC=$(printf "\e")
PEACH="$ESC[48;5;209m"
Last edited by zpg443 (2020-10-04 18:55:11)
Offline
what is your (MAN)PAGER and TERM set to?
Last edited by Mr.Elendig (2020-10-04 19:08:18)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Post your ~/.bashrc or ~/.zshrc, and output of
printenvAlso, did you customize /etc/man_db.conf?
Last edited by zpg443 (2020-10-04 21:14:32)
Offline
what is your (MAN)PAGER and TERM set to?
~ echo $TERM
xterm-256color
~ echo $PAGER
lessPost your ~/.bashrc or ~/.zshrc, and output of
printenv
Also, did you customize /etc/man_db.conf?
Here is some output that was asked. BTW , i am using oh-my-zsh. And .zshenv is in home directory and .zshrc is in config directory.
cat .zshrc
#git If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/ka/.config/oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
HIST_STAMPS="dd/mm/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(vi-mode zsh_reload)
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='nvim'
fi
# Compilation flags
export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
alias la="ls -a"
alias ll="ls -al"
alias pacin="sudo pacman -S"
alias pacrem="sudo pacman -Rns"
alias pacui="sudo pacman -Rs"
alias yain="yay -S"
alias yarem="yay -Rns"
alias yaui="yay -Rs"
alias w="/home/ka/.config/feh/.fehbg"
alias v="nvim"
alias _="sudo "COLORFGBG=15;0
COLORTERM=truecolor
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=plasma
DISPLAY=:0
GDMSESSION=plasma
GDM_LANG=en_US.utf8
GTK2_RC_FILES=/home/ka/.config/gtk-2.0/gtkrc-2.0
GTK_IM_MODULE=ibus
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:/home/ka/.gtkrc:/home/ka/.config/gtkrc
HOME=/home/ka
KDE_APPLICATIONS_AS_SCOPE=1
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
KONSOLE_DBUS_SERVICE=:1.47
KONSOLE_DBUS_SESSION=/Sessions/1
KONSOLE_DBUS_WINDOW=/Windows/1
KONSOLE_VERSION=200801
LANG=en_US.utf8
LANGUAGE=
LOGNAME=ka
MAIL=/var/spool/mail/ka
MOTD_SHOWN=pam
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/home/ka/.local/bin
PROFILEHOME=
PWD=/home/ka/.config/zsh
QT4_IM_MODULE=xim
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_IM_MODULE=xim
SESSION_MANAGER=local/archlinux:@/tmp/.ICE-unix/561,unix/archlinux:/tmp/.ICE-unix/561
SHELL=/usr/bin/zsh
SHELL_SESSION_ID=8ad8f584fca5462b885894842eaaa24c
SHLVL=1
TERM=xterm-256color
USER=ka
WINDOWID=65011719
XAUTHORITY=/run/user/1000/Xauthority
XCURSOR_SIZE=24
XCURSOR_THEME=Breeze_Snow
XDG_CURRENT_DESKTOP=KDE
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ka
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=plasma
XDG_SESSION_ID=2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XMODIFIERS=@im=ibus
OLDPWD=/home/ka
EDITOR=nvim
TERMINAL=alacritty
BROWSER=firefox
READER=zathura
XDG_CONFIG_HOME=/home/ka/.config
XDG_DATA_HOME=/home/ka/.local/share
XDG_CACHE_HOME=/home/ka/.cache
NOTMUCH_CONFIG=/home/ka/.config/notmuch-config
LESSHISTFILE=-
WGETRC=/home/ka/.config/wget/wgetrc
INPUTRC=/home/ka/.config/inputrc
ZDOTDIR=/home/ka/.config/zsh
GNUPGHOME=/home/ka/.local/share/gnupg
WINEPREFIX=/home/ka/.local/share/wineprefixes/default
KODI_DATA=/home/ka/.local/share/kodi
PASSWORD_STORE_DIR=/home/ka/.local/share/password-store
TMUX_TMPDIR=/run/user/1000
ANDROID_SDK_HOME=/home/ka/.config/android
CARGO_HOME=/home/ka/.local/share/cargo
GOPATH=/home/ka/.local/share/go
ANSIBLE_CONFIG=/home/ka/.config/ansible/ansible.cfg
UNISON=/home/ka/.local/share/unison
HISTFILE=/home/ka/.local/share/history
DICS=/usr/share/stardict/dic/
SUDO_ASKPASS=/home/ka/.local/bin/dmenupass
FZF_DEFAULT_OPTS=--layout=reverse --height 40%
LESS=-R
LESS_TERMCAP_mb=[1;31m
LESS_TERMCAP_md=[1;36m
LESS_TERMCAP_me=[0m
LESS_TERMCAP_so=[01;44;33m
LESS_TERMCAP_se=[0m
LESS_TERMCAP_us=[1;32m
LESS_TERMCAP_ue=[0m
LESSOPEN=| /usr/bin/highlight -O ansi %s 2>/dev/null
QT_QPA_PLATFORMTHEME=gtk2
MOZ_USE_XINPUT2=1
AWT_TOOLKIT=MToolkit wmname LG3D
_JAVA_AWT_WM_NONREPARENTING=1
ZSH=/home/ka/.config/oh-my-zsh
PAGER=less
LSCOLORS=Gxfxcxdxbxegedabagacad
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
ARCHFLAGS=-arch x86_64
_=/usr/bin/printenvI didn't edited /etc/man_db.conf file.
Last edited by kawsar (2020-10-05 08:49:49)
Offline
Thanks guys. I have changed the theme mannually and now it works fine.
Offline
Pages: 1