81
TCE Talk / Re: tmux and locales on rpi
« Last post by vext01 on June 06, 2026, 03:50:35 PM »The problem is the trailing slashes in the file being fed into dialog. This diff (with setting TERM) makes the script run:
But alas, something is segging:
I think this extension needs some love.
Code: [Select]
--- /usr/local/bin/getlocale.sh 2014-01-15 11:26:39.000000000 +0000
+++ getlocale.sh 2026-06-06 19:19:01.000000000 +0000
@@ -10,7 +10,7 @@
echo "--separate-output --checklist \"Choose which locales to support:\" 0 42 10 " > $temp2
for i in `cat $SFILE`; do
- echo "$i \" \" off \\" >> $temp2
+ echo "$i \" \" off" >> $temp2
done
dialog --file $temp2 2> $tempfile
But alas, something is segging:
Code: [Select]
ow processing... Segmentation fault
Locales installed. Creating extension... /
Done. The extension is at /mnt/mmcblk0p2/tce/optional/mylocale.tcz and in onboot.lst
Reboot with lang=xyz (for example lang=en_US.UTF-8) to start using this.
Press enter to quit.
I think this extension needs some love.
Recent Posts