Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Greek
  • Search

typing greek in aterm bash shell ?

Καλώs ήρθατε στο ελληνικό φόρουμ του Gentoo!
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
Author
Message
gnychis
Veteran
Veteran
User avatar
Posts: 1004
Joined: Wed Mar 23, 2005 5:03 am
Location: Pittsburgh, PA
Contact:
Contact gnychis
Website

typing greek in aterm bash shell ?

  • Quote

Post by gnychis » Sat Jul 29, 2006 6:13 pm

Hi,

I have successfully setup the greek keyboard in X, so that if i do alt+shift, i can type greek in firefox and gaim for example: σδφιθσηδφ

However, whenever I have my keyboard setup as greek, I cannot type greek letters into my aterm terminals... i changed my locale:

Code: Select all

export LC_ALL="el_GR.UTF-8"
However when i type locale again, it seems as though it can't find it:

Code: Select all

gnychis@monster ~ $ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=
LC_CTYPE="el_GR.UTF-8"
LC_NUMERIC="el_GR.UTF-8"
LC_TIME="el_GR.UTF-8"
LC_COLLATE="el_GR.UTF-8"
LC_MONETARY="el_GR.UTF-8"
LC_MESSAGES="el_GR.UTF-8"
LC_PAPER="el_GR.UTF-8"
LC_NAME="el_GR.UTF-8"
LC_ADDRESS="el_GR.UTF-8"
LC_TELEPHONE="el_GR.UTF-8"
LC_MEASUREMENT="el_GR.UTF-8"
LC_IDENTIFICATION="el_GR.UTF-8"
LC_ALL=el_GR.UTF-8
there may be a post about this, but I do not understand greek well enough

thanks!
George
<---- me and Richard Stallman :)
Top
Deathwing00
Bodhisattva
Bodhisattva
User avatar
Posts: 4087
Joined: Fri Jun 13, 2003 9:07 pm
Location: Berlin, Germany
Contact:
Contact Deathwing00
Website

  • Quote

Post by Deathwing00 » Sat Jul 29, 2006 11:10 pm

Did you generate those locales before using them? Have a look: http://www.gentoo.org/doc/en/guide-loca ... #doc_chap3
Top
gnychis
Veteran
Veteran
User avatar
Posts: 1004
Joined: Wed Mar 23, 2005 5:03 am
Location: Pittsburgh, PA
Contact:
Contact gnychis
Website

  • Quote

Post by gnychis » Sun Jul 30, 2006 3:17 pm

ok now i've seem to have generated them:

Code: Select all

gnychis@monster ~ $ export LC_ALL="el_GR.UTF-8" 
gnychis@monster ~ $ locale
LANG=
LC_CTYPE="el_GR.UTF-8"
LC_NUMERIC="el_GR.UTF-8"
LC_TIME="el_GR.UTF-8"
LC_COLLATE="el_GR.UTF-8"
LC_MONETARY="el_GR.UTF-8"
LC_MESSAGES="el_GR.UTF-8"
LC_PAPER="el_GR.UTF-8"
LC_NAME="el_GR.UTF-8"
LC_ADDRESS="el_GR.UTF-8"
LC_TELEPHONE="el_GR.UTF-8"
LC_MEASUREMENT="el_GR.UTF-8"
LC_IDENTIFICATION="el_GR.UTF-8"
LC_ALL=el_GR.UTF-8
I think my next problem is a font... the greek font seems to be iso8859-7 ... so i try this:

Code: Select all

gnychis@monster ~ $ xterm -T "xterm el_GR (ISO 8859-7)" -fn -etl-fixed-medium-r-normal--16-160-72-72-c-80-iso8859-7
xterm:  unable to open font "-etl-fixed-medium-r-normal--16-160-72-72-c-80-iso8859-7", trying "fixed"....
any more ideas?
<---- me and Richard Stallman :)
Top
Deathwing00
Bodhisattva
Bodhisattva
User avatar
Posts: 4087
Joined: Fri Jun 13, 2003 9:07 pm
Location: Berlin, Germany
Contact:
Contact Deathwing00
Website

  • Quote

Post by Deathwing00 » Sun Jul 30, 2006 3:33 pm

gnychis wrote:ok now i've seem to have generated them:

Code: Select all

gnychis@monster ~ $ export LC_ALL="el_GR.UTF-8" 
gnychis@monster ~ $ locale
Please read the document:
Generating locales for glibc

You will probably only use one or maybe two locales on your system. You can specify locales you will need in /etc/locale.gen.

Code Listing 3.9: Adding locales to /etc/locale.gen

en_GB ISO-8859-1
en_GB.UTF-8 UTF-8
de_DE ISO-8859-1
de_DE@euro ISO-8859-15


The next step is to run locale-gen. It will generate all the locales you have specified in the /etc/locale.gen file.

Note: locale-gen is available in glibc-2.3.6-r4 and newer. If you have an older version of glibc, you should update it now.
Top
gnychis
Veteran
Veteran
User avatar
Posts: 1004
Joined: Wed Mar 23, 2005 5:03 am
Location: Pittsburgh, PA
Contact:
Contact gnychis
Website

  • Quote

Post by gnychis » Sun Jul 30, 2006 3:41 pm

i did read the document, and thats exactly what i did, here is my locales.gen:

Code: Select all

en_US ISO-8859-1
en_US.UTF-8 UTF-8
el_GR.UTF-8 UTF-8
then i ran locale-gen

however it does not fix the font problem, nor can i type in greek still at the command prompt
<---- me and Richard Stallman :)
Top
Deathwing00
Bodhisattva
Bodhisattva
User avatar
Posts: 4087
Joined: Fri Jun 13, 2003 9:07 pm
Location: Berlin, Germany
Contact:
Contact Deathwing00
Website

  • Quote

Post by Deathwing00 » Sun Jul 30, 2006 6:28 pm

I have my system fully in UTF-8 so I do not really know what could be causing that behaviour. Still, I do not use aterm either, but xterm. In case you want to give a shot to utf-8: http://www.gentoo.org/doc/en/utf-8.xml
Top
gnychis
Veteran
Veteran
User avatar
Posts: 1004
Joined: Wed Mar 23, 2005 5:03 am
Location: Pittsburgh, PA
Contact:
Contact gnychis
Website

  • Quote

Post by gnychis » Thu Aug 03, 2006 5:28 pm

ahhhh, got it with that last guide you gave me

however it only works in xterm, when i type in aterm is shows up as unreadable characters, i don't know if its a font problem or what, however it does work in xterm which is a major step

anyone have any ideas about aterm?

Thanks!
George
<---- me and Richard Stallman :)
Top
gnychis
Veteran
Veteran
User avatar
Posts: 1004
Joined: Wed Mar 23, 2005 5:03 am
Location: Pittsburgh, PA
Contact:
Contact gnychis
Website

  • Quote

Post by gnychis » Thu Aug 03, 2006 5:45 pm

putting this in my .Xdefaults seemed to give me a working font at the size i'd like it in xterm:
XTerm*font: -misc-fixed-medium-r-normal-*-15-*-iso10646-1

however, if aterm uses that same font it doesn't work... maybe aterm does not support utf-8?
<---- me and Richard Stallman :)
Top
Deathwing00
Bodhisattva
Bodhisattva
User avatar
Posts: 4087
Joined: Fri Jun 13, 2003 9:07 pm
Location: Berlin, Germany
Contact:
Contact Deathwing00
Website

  • Quote

Post by Deathwing00 » Thu Aug 03, 2006 7:45 pm

Apparently aterm does not support UTF-8: xterm and urxvt are your safe choices.
Top
Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “Greek”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic