ghantoos / lshell

lshell is a shell coded in Python, that lets you restrict a user's environment to limited sets of commands, choose to enable/disable any command over SSH (e.g. SCP, SFTP, rsync, etc.), log user's commands, implement timing restriction, and more.
GNU General Public License v3.0
435 stars 112 forks source link

ctrl + c in htop #140

Closed lmarkov closed 8 years ago

lmarkov commented 8 years ago

Hello,

When I open htop in lshell and then close it with keyboard combination - ctrl + c, the lines of the console become misplaced and everything seems blocked. I can't write in the console and have to reopen the window.

The same issue is with iotop.

ghantoos commented 8 years ago

Hi @lmarkov,

I can't seem to reproduce this (debian testing/unstable). What OS are you using? Version of lshell? Terminal?

lmarkov commented 8 years ago

I use MacOS with iTerm. The lshell is installed on different versions of CentOS. For example 6.8. Version of python is 2.6.6. I also see that when I use command python -V the console get blocked again.

screen

lshell version: 0.9.18

ghantoos commented 8 years ago

I was able to reproduce this:

[vagrant@omv1 lshell]$ cat /etc/redhat-release 
CentOS Linux release 7.1.1503 (Core) 
ghantoos commented 8 years ago

@lmarkov can you confirm that this bug is corrected using the latest code?

git clone https://github.com/ghantoos/lshell.git
cd lshell
export PYTHONPATH=$PWD
./bin/lshell

Thanks!

lmarkov commented 8 years ago

Yes, It seems fine now! Thank you for information.

ghantoos commented 8 years ago

:+1: