You are not logged in.
All man pages are displayed incorrectly. Extra characters like '4m' or '1m' have been added to each instruction. It is impossible to use such instructions.
What could be the reason?
Last edited by alexanderyanin (2023-10-30 06:29:55)
Offline
Offline
Your terminal program is not interpreting escape codes correctly
Offline
How fix it?
I use alacrity
Last edited by alexanderyanin (2023-10-27 09:15:54)
Offline
Pager?
Does this happen in an xterm?
Can you
print '\e[1mfoo\e[0m'Post the output of
printenvcross-ref: https://bbs.archlinux.org/viewtopic.php?id=287185
Offline
First comand
print '\e[1mfoo\e[0m'
bash: print: command not foundSecond command
printenv
SHELL=/bin/bash
WINDOWID=12582914
COLORTERM=truecolor
HISTCONTROL=ignoreboth
HISTSIZE=10000
READER=zathura
CREDENTIALS_DIRECTORY=/run/credentials/getty@tty1.service
HISTTIMEFORMAT=%Y-%m-%d %T
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
EDITOR=vim
XDG_SEAT=seat0
PWD=/home/avr
LOGNAME=avr
XDG_SESSION_TYPE=tty
SYSTEMD_EXEC_PID=778
XAUTHORITY=/home/avr/.Xauthority
WINDOWPATH=1
MOTD_SHOWN=pam
HOME=/home/avr
LANG=ru_RU.UTF-8
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/system-getty.slice/getty@tty1.service/memory.pressure
CLICOLOR=1
INVOCATION_ID=725669c3465b45728a494f0e20e02daa
ALACRITTY_SOCKET=/run/user/1000/Alacritty-:0-1296.sock
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=avr
VISUAL=vim
DISPLAY=:0
SHLVL=3
XDG_VTNR=1
XDG_SESSION_ID=2
XDG_RUNTIME_DIR=/run/user/1000
PS1=\[\e[31m\][\[\e[m\]\[\e[33m\]\u\[\e[m\]\[\e[32m\]@\[\e[m\]\[\e[34m\]\h\[\e[m\] \[\e[35m\]\w\[\e[m\]\[\e[31m\]]\[\e[m\]\$
DEBUGINFOD_URLS=https://debuginfod.archlinux.org
LC_ALL=ru_RU.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/avr/.bin/:/home/avr/.local/share/gem/ruby/3.0.0/bin/:/home/avr/.local/bin:/home/avr/.bin/:/home/avr/.local/share/gem/ruby/3.0.0/bin/:/home/avr/.local/bin
ALACRITTY_LOG=/tmp/Alacritty-1296.log
HISTFILESIZE=10000
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
RANGER_LOAD_DEFAULT_RC=false
MAIL=/var/spool/mail/avr
ALACRITTY_WINDOW_ID=12582914
_=/usr/bin/printenvOffline
zshism, try "printf" instead
Offline
If you use printf you get this
[avr@ibm ~]$ printf '\e[1mfoo\e[0m'
foo[avr@ibm ~]$Offline
Isn't this just the groff issue?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I don't know how, but everything displays correctly now. I have not changed any settings. Maybe a fix has arrived with the next update.
Offline