3735943886 Posted January 5, 2021 Posted January 5, 2021 armbian-config looks fine when I run it. However, its layout was broken under screen. Any idea how to fix it? Thank you in advance.
3735943886 Posted January 5, 2021 Author Posted January 5, 2021 (edited) 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 January 5, 2021 by 3735943886
djurny Posted January 5, 2021 Posted January 5, 2021 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,
Werner Posted January 5, 2021 Posted January 5, 2021 Not sure if this is related to armbian-config itself or the dialog method which obviously is upstream. Anyway you can have a look for yourself: https://github.com/armbian/config
Solution 3735943886 Posted February 15, 2022 Author Solution Posted February 15, 2022 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.
Recommended Posts