-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TM Terminal: no shell prompt with bash or zsh #831
Comments
Ping @jonahgraham |
Update : it is related to shell customisation; i.e. all the stuff that fedora puts into Root cause is Fedora's
|
Thanks @space88man you have provided enough information for me to figure out what is going wrong. The problem is the string terminator implementation in the terminal. Escape strings (like OSC 133 commands) can end with BEL or ESC \. In the terminal only the BEL terminator was implemented: Lines 430 to 435 in ba16b70
Although ESC \ has been part of the spec for a long time, I guess most places didn't use it until recently. gnome started using it very recently with this commit which basically supports https://iterm2.com/documentation-escape-codes.html for allowing terminals to navigate the terminal output better. For now I can properly ignore the unsupported sequences and I will provide a PR for that in a moment. |
In addition, the terminal didn't properly handle badly formed clients, quoted from here:
had the terminal handled it properly we would have been ok too. |
This fixes support to properly identify the end of OSC control sequences which can be terminated with a BEL or ESC \. Fixes eclipse-cdt#831
@jonahgraham - can this go into a p2 update before 2024-09? |
Yes it can and will - I will publish an update soon. It would be helpful if you can test it before it is published. In a couple of hours the main branch should be built here https://ci.eclipse.org/cdt/job/cdt/job/main/415/artifact/releng/org.eclipse.cdt.repo/target/repository/ and then I'll backport the fix to the current release branch. (reopening until fixed on the release branch) |
Tested on 2024-06 by munging the All work - bash, zsh, tmux, screen as shell commands. Thank you! |
This fixes support to properly identify the end of OSC control sequences which can be terminated with a BEL or ESC \. Fixes #831 (cherry picked from commit 229c55c) Co-authored-by: Jonah Graham <[email protected]>
Fixed on 11.6 branch which should be released soon as 11.6.1 |
Describe the bug
When I run a local terminal with bash / zsh in TM Terminal, no shell prompt appears.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Shell prompt
Screenshots
/bin/bash or /bin/zsh:
/bin/fish:
Version Information (please complete the following information):
Additional context
/bin/bash
/bin/zsh
show this no-output issueps
emacs
blindly the child program is really runls
) don't show outputvim
: surprisingly appears on screen; running a program under vim:! ls
works/bin/fish
- it shows prompt: running/bin/bash
under/bin/fish
shows the same issue; there is no bash promptOther OSes
zsh
If I remove
~/.zshrc
I will get the zsh customisation process; after~/.zshrc
is written it then goes into the no-output stateThe text was updated successfully, but these errors were encountered: