Bug #3350
open
tmux: Terminfo file usr/share/terminfo/t/tmux-256color does not work correctly, when logging in from a remote tmux terminal session
Added by adrian about 1 year ago.
Updated 2 months ago.
Description
Dear Maintainer,
the terminfo file /usr/share/terminfo/t/tmux-256color does not work correctly, when logging into DragonFlyBSD from a remote tmux session.
Running:
export TERM=xterm-256color
after logging in, fixes the broken terminal.
I am using:
root@dragonflybsd /home/adrian
# uname -a
DragonFly dragonflybsd.v-zone.lan.dac 6.4-RELEASE DragonFly v6.4.0.26.g43e53c-RELEASE #5: Mon Mar 13 12:12:53 CET 2023 adrian@dragonflybsd.v-zone.lan.dac:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64
Thanks a lot in advance.
Sincerely,
Adrian Kieß
Additional info: I am using the ZSH shell from pkg manager, with the 'sh' shell, the terminfo file works. Thanks!
Dear DragonFly maintainers,
the broken ZSH shell issue, when logging in from a remote TMUX on ZSH shell through SSH into DragonFly ZSH shell, is fixed:
By installing 'terminfo-db' package from dports pkg manager.
The IRC user servik kindly helped me on the issue, the fix is above!
The problem seems to be, ZSH not using terminfo!
Servik told me, he fixed the bug in dports pkg manager ready for the next quarterly release.
Thank you all for your kind attention!
Adrian Kieß
Dear maintainer,
another bug in conjunction with above bug:
Logging into DragonFly ZSH console shell right now, is bug aflicted in that the ZSH shell is broken when running directly on the console displaying 2004h at the end of the command prompt.
The IRC user 'aly' suggested the following fix:
- cat /usr/local/etc/zshrc| grep zle_bracket
unset zle_bracketed_paste;
07:16 <@aly> re the 2004h on the zsh prompt: https://cirw.in/blog/bracketed-paste
07:17 <@aly> the dfly console is quite preliminary and doesn't support such escape sequences. so either turn it off on the console or use a terminal in X
07:18 <@aly> for zsh: unset zle_bracketed_paste
Above insertion in-to ZSHRC fixes the bogus ZSH prompt on DragonFly console.
Thank you for your attention!
Adrian Kieß
Also available in: Atom
PDF