penelope icon indicating copy to clipboard operation
penelope copied to clipboard

TERM=xterm-256color for all connection is a slight issue with old Linux versions

Open robertstrom opened this issue 1 year ago • 1 comments

Hello,

I'm working on a very old version of Red Hat (Linux tophat.acme.com 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 athlon i386 GNU/Linux) and I noticed this when using penelope and trying to clear the screen it would not work and you would get an error about unknown terminal xterm-256color

image

Trying to clear the terminal

image

Environment

image

Setting the TERM variable to TERM=xterm image

The clear command works now

image

Not a huge deal by any means, not sure if you were aware or had experienced this or not and not sure if you can check for something like this and set the TERM variable to a standard xterm if xterm-256color is not possible.

Thanks for the great tool! I'm loving using it and cannot wait to, hopefully, see some updates in the not too distant future (Windows multiple sessions , etc. ;-) )

robertstrom avatar Aug 20 '22 19:08 robertstrom

Hello @robertstrom and thanks again for your kind words :D

Yes I noticed this issue while I was trying to fix the #11 bug you reported on "CentOS release 5.6 (Final)". This is fixed now in version 0.9.0 which is currently in the testing branch and contains several improvements for Linux shells. I will merge it to the main branch later once I fix the Windows shells which are currently a bit broken.

Until then, it would be very helpful if you could use the testing branch (git switch testing) and confirm that this issue is fixed, as well as report any other bugs that you may find.

Again, thank you so much for reporting those bugs!

brightio avatar Sep 13 '22 13:09 brightio