You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2019. It is now read-only.
Pash terribly works with TERM set to anything but xterm: sometimes arrow keys aren't work, sometimes delete key on my keyboard will not delete characters.
TERM can be reset not only by some Linux distros and terminal emulators such as Konsole, but also by Linux utilities screen and tmux (these two set TERM=screen AFAIK). We definitely need to do something about that.
For example, currently I have problems with tmux on nixos 15.0.9. Running TERM=xterm pash doesn't help completely, and I am not sure whether it could broke anything else (terminal formatting, scrolling, coloring etc.).
We need someone to investigate these issues and get a resolution (maybe we could simply set TERM to xterm inside of Pash code or somehow operate with Mono console subsystem to fix the issues).
The text was updated successfully, but these errors were encountered:
Here's a case that cannot be fixed by TERM=xterm in my environment:
bash$ echo $TERM
screen
bash$ TERM=xterm pash
pash> # Currently arrow keys and Delete key works correctly
pash> less /var/log/kdm.log # or other program that works in interactive mode, for example sh -c 'man man'
pash> # And now the arrow keys prints letters D and C to the command line, sometimes ~D and ~C
Also, Home and End keys does not work with Pash in any of my Linux environments (with tmux or without it). They does work in bash and I haven't customized anything.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Pash terribly works with
TERM
set to anything butxterm
: sometimes arrow keys aren't work, sometimesdelete
key on my keyboard will not delete characters.TERM
can be reset not only by some Linux distros and terminal emulators such asKonsole
, but also by Linux utilitiesscreen
andtmux
(these two setTERM=screen
AFAIK). We definitely need to do something about that.For example, currently I have problems with
tmux
on nixos 15.0.9. RunningTERM=xterm pash
doesn't help completely, and I am not sure whether it could broke anything else (terminal formatting, scrolling, coloring etc.).We need someone to investigate these issues and get a resolution (maybe we could simply set
TERM
toxterm
inside of Pash code or somehow operate with Mono console subsystem to fix the issues).The text was updated successfully, but these errors were encountered: