WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: korean font in terminal/deadbeef..  (Read 1197 times)

Offline puppybyte!

  • Jr. Member
  • **
  • Posts: 91
korean font in terminal/deadbeef..
« on: September 14, 2023, 05:31:05 PM »
Using coreplus 14 and I have noticed korean characters in aterm is not right, can't figure which if any extension is needed?


aus9

  • Guest
Re: korean font in terminal/deadbeef..
« Reply #1 on: September 14, 2023, 07:13:03 PM »
aterm has no support for UTF-8 fonts
http://forum.tinycorelinux.net/index.php/topic,7231.msg38311.html#msg38311

Use Apps search pulldown tags and search for terminal, should give you hits like rxvt and lxterminal and so on

If a terminal has fontconfig in its Total TAB is most likely supports UTF-8 and aterm does not have that dependency
« Last Edit: September 14, 2023, 07:15:44 PM by aus9 »

Offline PeterSuh

  • Newbie
  • *
  • Posts: 9
Re: korean font in terminal/deadbeef..
« Reply #2 on: October 10, 2023, 07:15:27 AM »
Please use this script.
If you need to type in Korean, please contact us further.

After running this script, reboot and come back
Run urxvt.

---------------------------------------------------------------------

tce-load -wi glibc_apps
tce-load -wi glibc_i18n_locale
tce-load -wi unifont
tce-load -wi rxvt

if [ $? -eq 0 ]; then

   tcrppart="$(mount | grep -i optional | grep cde | awk -F / '{print $3}' | uniq | cut -c 1-3)3"

   echo "Download glibc_apps.tcz and glibc_i18n_locale.tcz OK, Permanent installation progress !!!"
   sudo cp -f /tmp/tce/optional/* /mnt/${tcrppart}/cde/optional
   sudo echo "" >> /mnt/${tcrppart}/cde/onboot.lst      
   sudo echo "glibc_apps.tcz" >> /mnt/${tcrppart}/cde/onboot.lst
   sudo echo "glibc_i18n_locale.tcz" >> /mnt/${tcrppart}/cde/onboot.lst
   sudo echo "unifont.tcz" >> /mnt/${tcrppart}/cde/onboot.lst
   sudo echo "rxvt.tcz" >> /mnt/${tcrppart}/cde/onboot.lst

   ucode="ko_KR"
   export LANG=${ucode}.UTF-8
   export LC_ALL=${ucode}.UTF-8
   sudo localedef -c -i ${ucode} -f UTF-8 ${ucode}.UTF-8
   sudo localedef -f UTF-8 -i ${ucode} ${ucode}.UTF-8

   echo "URxvt*encoding: UTF-8"  >> ~/.Xdefaults
   echo "URxvt*inputMethod: ibus"  >> ~/.Xdefaults
   echo "URxvt*locale: ${ucode}.UTF-8"  >> ~/.Xdefaults

   echo "You have finished installing TC Unicode package and urxvt. Reboot is required"
else
   echo "Download glibc_apps.tcz, glibc_i18n_locale.tcz FAIL !!!"
fi