Hello,
at first I thought I broke my system while installing a tablet driver (still no success with that) so I did a clean install. It was ok, until the update, so I tested the same situation on a VM and the same thing happened.
it looks like this:
4mNVIM24m(1) General Commands Manual 4mNVI
M24m(1)
1mNAME0m
nvim — edit text
1mSYNOPSIS0m
1mnvim 22m[4moptions24m] [4mfile24m 4m...24m]
1mnvim 22m[4moptions24m] 1m-0m
1mnvim 22m[4moptions24m] 1m-t 4m22mtag0m
1mnvim 22m[4moptions24m] 1m-q 22m[4merrorfile24m]
1mDESCRIPTION0m
1mnvim 22mis a text editor based on Vim. Start 1mnvim 22mfollowed by any number of
options
and/or files:
1mnvim [options] [file ...]0m
Commands in 1mnvim 22mbegin with colon (‘:’). Type ":help subject" to get help on a
specific subject. Use <Tab> and CTRL-D to complete subjects (":help cmdline-com‐
pletion").
The "quickref" help section is a condensed reference of editor features:
1m:help quickref0m
If you are new to Vim/Nvim, start with the 30-minute tutorial:
1m:Tutor0m
After installing/updating Nvim, it's a good idea to run the self-check:
1m:checkhealth0m
4mfile24m 4m...24m File(s) to edit. Opens one buffer per file. To switch between
buffers, use the 1m:next 22mand 1m:previous 22mcommands.
1m- 22mReads text from standard input until EOF, then opens a buffer with that
text. User input is read from standard error, which should be a termi‐
nal.
1mOPTIONS0m
1m-t 4m22mtag24m Finds 4mtag24m in the tags file, the associated file becomesthe current
file and the associated command is executed. Cursor is positioned at
the tag location in the file. 1m:help tag-commands0m
1m-q 22m[4merrorfile24m](...)
env | grep TERM
COLORTERM=truecolor
TERM=kitty
TERMINFO=/usr/lib/kitty/terminfo
xfce4-terminal
nv | grep TERM
COLORTERM=truecolor
TERM=kitty
gnome-terminal
env | grep TERM
COLORTERM=truecolor
TERM=kitty
GNOME_TERMINAL_SERVICE=:1.251
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/796c2fab_98a9_451b_a605_d6b8add10802
Looks kind of similar to ansi escape codes used to add colours etc, eg have a look at en.wikipedia.org/wiki/ANSI_escape_code. I suspect shell or terminal misconfiguration. What does env | grep TERM show? Is there a matching terminal somewhere under /usr/share/terminfo or so?
## Set values
# Hide welcome message
set fish_greeting
set VIRTUAL_ENV_DISABLE_PROMPT "1"
set -x MANROFFOPT "c"
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
set -x SHELL /bin/fish
## Export variable need for qt-theme
if type "qtile" >> /dev/null 2>&1
set -x QT_QPA_PLATFORMTHEME "qt5ct"
end
# Set settings for https://github.com/franciscolourenco/done
set -U __done_min_cmd_duration 10000
set -U __done_notification_urgency_level low
## Environment setup
# Apply .profile: use this to put fish compatible .profile stuff in
if test -f ~/.fish_profile
source ~/.fish_profile
end
# Add ~/.local/bin to PATH
if test -d ~/.local/bin
if not contains -- ~/.local/bin $PATH
set -p PATH ~/.local/bin
end
end
# Add depot_tools to PATH
if test -d ~/Applications/depot_tools
if not contains -- ~/Applications/depot_tools $PATH
set -p PATH ~/Applications/depot_tools
end
end
## Starship prompt
if status --is-interactive
source ("/usr/bin/starship" init fish --print-full-init | psub)
end
## Advanced command-not-found hook
source /usr/share/doc/find-the-command/ftc.fish
## Functions
# Functions needed for !! and !$ https://github.com/oh-my-fish/plugin-bang-bang
function __history_previous_command
switch (commandline -t)
case "!"
commandline -t $history[1]; commandline -f repaint
case "*"
commandline -i !
end
end
function __history_previous_command_arguments
switch (commandline -t)
case "!"
commandline -t ""
commandline -f history-token-search-backward
case "*"
commandline -i '$'
end
end
if [ "$fish_key_bindings" = fish_vi_key_bindings ];
bind -Minsert ! __history_previous_command
bind -Minsert '$' __history_previous_command_arguments
else
bind ! __history_previous_command
bind '$' __history_previous_command_arguments
end
# Fish command history
function history
builtin history --show-time='%F %T '
end
function backup --argument filename
cp $filename $filename.bak
end
# Copy DIR1 DIR2
function copy
set count (count $argv | tr -d \n)
if test "$count" = 2; and test -d "$argv[1]"
set from (echo $argv[1] | trim-right /)
set to (echo $argv[2])
command cp -r $from $to
else
command cp $argv
end
end
## Useful aliases
# Replace ls with exa
alias ls='exa -al --color=always --group-directories-first --icons' # preferred listing
alias la='exa -a --color=always --group-directories-first --icons' # all files and dirs
alias ll='exa -l --color=always --group-directories-first --icons' # long format
alias lt='exa -aT --color=always --group-directories-first --icons' # tree listing
alias l.='exa -ald --color=always --group-directories-first --icons .*' # show only dotfiles
alias ip='ip -color'
# Replace some more things with better alternatives
alias cat='bat --style header --style snip --style changes --style header'
[ ! -x /usr/bin/yay ] && [ -x /usr/bin/paru ] && alias yay='paru'
# Common use
alias grubup="sudo update-grub"
alias fixpacman="sudo rm /var/lib/pacman/db.lck"
alias tarnow='tar -acf '
alias untar='tar -xvf '
alias wget='wget -c '
alias rmpkg="sudo pacman -Rdd"
alias psmem='ps auxf | sort -nr -k 4'
alias psmem10='ps auxf | sort -nr -k 4 | head -10'
alias upd='/usr/bin/garuda-update'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ......='cd ../../../../..'
alias dir='dir --color=auto'
alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='grep -F --color=auto'
alias egrep='grep -E --color=auto'
alias hw='hwinfo --short' # Hardware Info
alias big="expac -H M '%m\t%n' | sort -h | nl" # Sort installed packages according to size in MB
alias gitpkg='pacman -Q | grep -i "\-git" | wc -l' # List amount of -git packages
# Get fastest mirrors
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
alias mirrord="sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist"
alias mirrors="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
alias mirrora="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"
# Help people new to Arch
alias apt='man pacman'
alias apt-get='man pacman'
alias please='sudo'
alias tb='nc termbin.com 9999'
# Cleanup orphaned packages
alias cleanup='sudo pacman -Rns (pacman -Qtdq)'
# Get the error messages from journalctl
alias jctl="journalctl -p 3 -xb"
# Recent installed packages
alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl"
## Run fastfetch if session is interactive
if status --is-interactive && type -q fastfetch
fastfetch --load-config dr460nized
end
Some more info I also add the line:
set -x SHELL /bin/fish
It was not present in the config.fish file, removing it does not help so not the cause of the problem at this moment.
Oh, I am sorry about that. Now it is working as intended:
MAN(1) Manual pager utils MAN(1)
NAME
man - an interface to the system reference manuals
SYNOPSIS
man [man options] [[section] page ...] ...
man -k [apropos options] regexp ...
man -K [man options] [section] term ...
man -f [whatis options] page ...
man -l [man options] file ...
man -w|-W [man options] page ...
DESCRIPTION
man is the system's manual pager. Each page argument given to man is normally the name of a pro‐
gram, utility or function. The manual page associated with each of these arguments is then found
and displayed. A section, if provided, will direct man to look only in that section of the manual.
The default action is to search in all of the available sections following a pre-defined order (see
DEFAULTS), and to show only the first page found, even if page exists in several sections.
The table below shows the section numbers of the manual followed by the types of pagesthey 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 /dev)
5 File formats and conventions, e.g. /etc/passwd
6 Games
7 Miscellaneous (including macro packages and conventions), e.g. man(7), groff(7), man-pages(7)