hbang / NewTerm

NewTerm is a terminal emulator app with first-class iPhone, iPad, and Mac support.
https://newterm.app
Other
451 stars 68 forks source link

Can't use with Bash #103

Closed LIJI32 closed 6 months ago

LIJI32 commented 6 months ago

Upon setting the default shell from zsh to bash (chsh -s bash), NewTerm3 gets a "Session Ended" line upon start up.

iAdam1n commented 6 months ago

You could try installing gettext-localizations and if that does not work reinstall system-cmds.

LIJI32 commented 6 months ago

Neither seemed to do it, but upon doing the first I got an error about /var/jb/bin/bash missing (it exists, it symlinks to /var/jb/usr/bin/bash which also exists), and upon doing the second I got an error about /var/jb/bin/bash-bash missing. Thanks for the quick reply!

LIJI32 commented 6 months ago

Not sure why it only affected NewTerm but not SSH, but _rl_init_locale from readline makes bash crash when launched from NewTerm. I "fixed" it by patching _rl_init_locale in readline to be a nop.