Skip to content
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

Exiting tsu shell causes the normal shell to mess up #1119

Closed
AbdullahM0hamed opened this issue Apr 27, 2019 · 5 comments
Closed

Exiting tsu shell causes the normal shell to mess up #1119

AbdullahM0hamed opened this issue Apr 27, 2019 · 5 comments

Comments

@AbdullahM0hamed
Copy link

AbdullahM0hamed commented Apr 27, 2019

Problems are:

  1. Characters that are typed will not be displayed (although the command will run)

  2. Pressing enter will cause the prompt character to print on the same line instead of a different one.

  3. Command output is displayed with bad formatting

Any help would be appreciated.

@Grimler91
Copy link
Member

Running reset or starting a new shell will restore to the normal behaviour.

This can happen when some applications crash/are exited forcefully, it probably isn't related to tsu.

@AbdullahM0hamed
Copy link
Author

Reset works temporarily, as it fixes the shell when I run it after exiting tsu. However, this phenomenon still continues to occur everytime tsu is used.

@Grimler91
Copy link
Member

I can't reproduce it. Make sure your packages are up to date. If it still doesn't work then please post output of termux-info

@AbdullahM0hamed
Copy link
Author

Here is the output of termux-info:

All packages up to date
Subscribed repositories:
https://dl.bintray.com/grimler/science-packages-24 science/stable
https://dl.bintray.com/grimler/game-packages-24 games/stable
https://dl.bintray.com/termux/termux-packages-24 stable/main
System information:
Linux localhost 3.18.61-SuperStock_SM-G930F_V2.7.1 #1 SMP PREEMPT Wed Jul 19 10:55:32 CEST 2017 aarch64 Android
Termux-packages arch:
aarch64
Android version:
7.0
Device manufacturer:
samsung
Device model:
SM-G930F

@Moufunliux
Copy link

I have the same problem as my termux-info below:

Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.org/packages/ stable main
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
# root-repo (sources.list.d/root.list)
deb https://dl.bintray.com/grimler/termux-root-packages-24 root stable
Updatable packages:
Running as root. Cannot check package updates.
Android version:
7.1.2
Kernel build information:
Linux localhost 3.18.31-perf-g0c1247c3554 #1 SMP PREEMPT Mon Apr 9 08:38:20 CST 2018 armv8l Android
Device manufacturer:
smartisan
Device model:
OC105

I can sure this problem comes from tsu, as without tsu, the command 'su' works correctly. With zsh the problem "Characters that are typed will not be displayed (although the command will run)" get fixed. this shows maybe the real problem is which the tsu returns that bash could not work with correctly.

Screenshot_2019-11-30-18-02-37-871_Termux

@ghost ghost locked and limited conversation to collaborators Oct 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants