Jump to content

armbian-config text layout’s broken when launched under screen


3735943886
Go to solution Solved by 3735943886,

Recommended Posts

49 minutes ago, Werner said:

Cannot reproduce

Thank you for reply.

I'd better some more information.

 

I run armbian-config from remote, using ssh client.

I tested with window, linux, and mac client.

everytime I run armbian-config with screen(screen means GNU screen) on any client, the layout was broken as screenshots above.

 

I definitely suspicious armbian-config does not properly handling terminal mode with screen.

Edited by 3735943886
Link to comment
Share on other sites

Hi @3735943886,

When logging in on any of "my" Armbian devices, it will also (start and) attach to GNU screen session. I sometimes observe this behavior as well (mostly in aptitude and not armbian-config), but have not been able to pinpoint when this starts or what causes this. 

 

Have you tried to detach from GNU screen and retry? If it shows and behaves correctly outside of GNU screen, you can start digging in the environment settings first by 'env'. Perhaps also show the current active LOCALEs and write down the terminal encoding configured for your ssh client/terminal, as for me sometimes the arrow keys refuse service in aptitude (seems linked to either wrong terminal enconding on connecting client or wrong terminal type set on the Armbian side).

 

I'll try to reproduce at home and share results, perhaps you can do the same, so we can compare output.

 

Groetjes,

Link to comment
Share on other sites

  • Solution

I solved this problem recently.

Broken layout under GNU screen was caused by non-english locale setting.

I changed locale from ko_KR.UTF-8 to en_US.UTF-8 and all works fine. (locales was set via Personal setting of armbian-config)

I hope you developers could reproduce its layout problem by changing locale to ko_KR.UTF-8. (or I think there may be similar problems with some other locales except english)

 

How to reproduce the prolems.

(Ver 10 burster armbian/NanoPi R2S)

 

1. Set system locale to non-english. (i.e. ko_KR.UTF-8)

2. Make sure that all of LANGUAGE, LC_MESSAGES, LANG was changed to ko_KR.UTF-8 in /etc/default/locale

3. Reboot or Reconnect ssh

4. Launch GNU screen

5. Launch armbian-config

6. Layout will be broken

 

Thank you.

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines