Feature: Whiptail dialogue and internalization support #137

Closed
opened 2021-11-09 05:45:31 +01:00 by dingyifei · 5 comments
dingyifei commented 2021-11-09 05:45:31 +01:00 (Migrated from github.com)

I'm attempting to rebuild the current kiauh interface with whiptail(supplied by Debian by default) and Gettext on my fork. Whiptail dialogue should be way easier to manage and update. Any thoughts on it? I'm not good at bash so it might be a bad idea...

I'm attempting to rebuild the current kiauh interface with whiptail(supplied by Debian by default) and Gettext on my fork. Whiptail dialogue should be way easier to manage and update. Any thoughts on it? I'm not good at bash so it might be a bad idea...
dingyifei commented 2021-11-09 05:47:06 +01:00 (Migrated from github.com)

The main reason behind using whiptail is ditching the 57 char width because it's impossible to get this exact width with gettext localization.

The main reason behind using whiptail is ditching the 57 char width because it's impossible to get this exact width with gettext localization.
dw-0 commented 2021-11-10 00:03:19 +01:00 (Migrated from github.com)

Hi,

generally i think it is a great idea if whiptail comes pre-installed on basically every debian based distro. I think that is very important. In the past i already thought about re-building the UI with something like whiptail or ncurses (i think ncurses is what klippers make menuconfig uses). It looks way more professional and clean. I just haven't had the time to dive into that topic and also was a bit intimidated because it seemed rather complex compared to simple regular shell scripting.

Any thoughts on it? I'm not good at bash so it might be a bad idea...

I really like that you want to start to go down that route. 👍
I'm not good at bash either, so there are two of us already 😄😛

Hi, generally i think it is a great idea if whiptail comes pre-installed on basically every debian based distro. I think that is very important. In the past i already thought about re-building the UI with something like whiptail or ncurses (i think ncurses is what klippers `make menuconfig` uses). It looks way more professional and clean. I just haven't had the time to dive into that topic and also was a bit intimidated because it seemed rather complex compared to simple regular shell scripting. > Any thoughts on it? I'm not good at bash so it might be a bad idea... I really like that you want to start to go down that route. 👍 I'm not good at bash either, so there are two of us already 😄😛
dingyifei commented 2021-11-10 00:23:56 +01:00 (Migrated from github.com)

I'm able to get a functional main and error page. Whiptail's formatting options are ... not great... On the other hand, raspi-config use whiptail so it is definitely doable

image

I'm able to get a functional main and error page. Whiptail's formatting options are ... not great... On the other hand, raspi-config use whiptail so it is definitely doable ![image](https://user-images.githubusercontent.com/15083013/141020998-5e849e52-7ced-4f74-9675-056f2bbe9f2f.png)
dingyifei commented 2021-11-13 00:04:11 +01:00 (Migrated from github.com)

#138 WIP

#138 WIP
dw-0 commented 2022-06-04 21:50:20 +02:00 (Migrated from github.com)

Closed due to inactivity. I suspect work on this will not be resumed.

Closed due to inactivity. I suspect work on this will not be resumed.
Sign in to join this conversation.