Skip to content

TM Terminal: no shell prompt with bash or zsh #831

@space88man

Description

@space88man

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:

  1. Window -> Preferences -> TM Terminal -> Local Terminal
  2. Shell Command: use /bin/bash or /bin/zsh
  3. Open a new Local Terminal
  4. No shell prompt appears; no messages in Error log

Expected behavior
Shell prompt

Screenshots
/bin/bash or /bin/zsh:

Screenshot from 2024-06-19 06-55-02

/bin/fish:

Screenshot from 2024-06-19 07-01-25

Version Information (please complete the following information):

  • Linux (x86_64, Fedora 40)
  • Eclipse Version from Help -> 2024-06
  • CDT Version from Help -> About -> Installation Details -> 11.6.0

Additional context

  • both /bin/bash /bin/zsh show this no-output issue
  • shell can be closed with Ctrl+D; shell is shown running using ps
  • the shell is semi-functional: if I type emacs blindly the child program is really run
  • programs with text output (e.g. ls) don't show output
  • vim: surprisingly appears on screen; running a program under vim :! ls works
  • if the shell is /bin/fish - it shows prompt: running /bin/bash under /bin/fish shows the same issue; there is no bash prompt
  • with blind bash/zsh: non-working curses programs - top, nano, htop
  • with blind bash/zsh: working curses programs - ipython, vim , neovim
  • with blind bash/zsh: it is possible to run fish and the prompt appears
  • if bash is the shell at the other end of a SSH Terminal it works

Other OSes

  • works on Pop!_OS 22.04, i.e. does not reproduce
  • works on Ubuntu 24.04., i.e. does not reproduce

zsh

If I remove ~/.zshrc I will get the zsh customisation process; after ~/.zshrc is written it then goes into the no-output state

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions