PTerm icon indicating copy to clipboard operation
PTerm copied to clipboard

several issues while test-driving PTerm

Open eMBee opened this issue 7 years ago • 7 comments

it's exciting to see a working terminal in pharo. it seems to work well enough for daily use.

i did notice a few issues however. for simplicity i am going to list them all here, and break them out into individual bug reports later depending on what makes sense.

  • [x] unicode doesn't seem to work.
  • [x] ~~a few terminal escape sequences are not recognized.~~ (this issue went away after unicode was fixed)
  • [x] colors are to bright. (eg. yellow on white is unreadable)
  • [x] some keys don't work (most likely because pharo treats them differently. like pgup,pgdown, backspace also has issues in some applications.)
  • [ ] copy-paste seems to work, but could maybe be described in a help screen, or in the first view of the terminal.

from these, unicode is the most pressing because it messes up the display and makes some things unreadable. escape sequences are needed for the fish shell.

i don't know how much i can help, but i can at least provide more details where needed and test.

if unicode can be fixed then i can use this terminal permanently without having a backup terminal around.

i use tmux, so i can switch between terminals easily. helps a lot for testing while doing my actual work

eMBee avatar Oct 24 '18 10:10 eMBee

I will try to deal with the unicode problem first, can you provide with more detail on how to reproduce the problem? , probably a specific use case example that uses unicode. Thanks

lxsang avatar Oct 24 '18 14:10 lxsang

Hello again,

Unicode should work by now ~~(except Thai, Chinese, Japanese... which are not correctly display, this is something related to Pharo)~~.

Note that, to display unicode, PTerm uses ~~"DejaVu Sans mono"~~ "GNU Unifont" font for better unicode support (it dont look really nice though), ~~you should have this font installed on your system~~, PTerm automatically download them if needed. Please give feedback if you still have problems with unicode

lxsang avatar Oct 31 '18 14:10 lxsang

Dark mode is now enabled by default in PTerm

Cheers

lxsang avatar Oct 31 '18 15:10 lxsang

For the others problems, I need more detail on how to reproduce them.

Thx

lxsang avatar Oct 31 '18 15:10 lxsang

hey, thank you. i don't have much time to focus on this, so my responses will always be sporadic with a delay. i do hope to get back into more smalltalk coding again, so i'll see what i can do in the future.

i'll open separate issues for anything specific, so for now, just some comments:

  • unicode support does look better, but apparently i can't get the right font loaded. (#4)
  • the color issue is not solved by changing to dark. that's tangential. the problem is that the colors are not balanced. yellow on white is unreadable and white and bright white are indistinguishable. in dark mode both are the same dark green. i'll create an issue with screenshots later.

eMBee avatar Nov 02 '18 08:11 eMBee

Color problem is fixed with the new added themes

lxsang avatar Nov 09 '18 21:11 lxsang

nice. at this point, ctrl-w is the only remaining case where i need to switch to a backup terminal. it happens rarely enough to not be any problem though.

eMBee avatar Nov 10 '18 04:11 eMBee