You are not logged in.

#1 2010-07-18 08:01:15

xangelux
Member
Registered: 2010-05-29
Posts: 73

Change the font of Eterm so can use ñ and á chars

I've been in a lot of sites on the web trying to find a way to make Eterm use fonts that accept spanish chars like ñ or á and have found nothing. Can anyone point me in the right direction?. I have use the xlsfonts command so it showed me the fonts that can be on Eterm and they work perfect, the thing is, dejavu (for example) should accept those characters and when I go Eterm -F "dejavu . . ." etc it opens a Eterm window with the font loaded but still shows funny symbols instead of ñ or the á (é, í, ó or ú). My locals are good, I have them generated with es_MX and they work in everything else but in Eterm. Should I do something else or anyone knows something that can help me

Last edited by xangelux (2010-07-21 01:30:32)

Offline

#2 2010-07-18 08:10:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Change the font of Eterm so can use ñ and á chars

You say dejavu has the glyphs for the characters you need, am I getting this right?
Can you paste the needed characters to eterm?
Maybe it's a problem w/ how you input those chars - keyboard configs keymap in console and setxkbmap in X.
Can you input those characters in the console?

Offline

#3 2010-07-18 09:17:51

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Change the font of Eterm so can use ñ and á chars

I installed Eterm, copied and pasted the text from your post and it came out all right. (Strangely, the unicode characters from my prompt did not.)

I changed the font to dejavu Eterm -F '-*-dejavu sans mono-*-*-*-*-*-*-*-*-*-*-*-*' and pasted in the text and found the characters didn't appear. I suspect the font does not have glyphs for those characters.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#4 2010-07-18 09:20:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Change the font of Eterm so can use ñ and á chars

echo "ñ and á chars"

works OK w/ Terminus.

Offline

#5 2010-07-19 19:30:57

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: Change the font of Eterm so can use ñ and á chars

I tried first the Eterm -F '-*-dejavu sans mono-*-*-*-*-*-*-*-*-*-*-*-*' and when I type ñ or á it shows strange things, then I tried the echo "ñ and á chars" and it did show the chars correctly, I think karol is right

karol wrote:

Maybe it's a problem w/ how you input those chars - keyboard configs keymap in console and setxkbmap in X.

The thing is I have setxkbmap -layout latam so it has support over those chars, xterm, sakura or terminator are ok, just Eterm doesn't do it. Should I specify something else to Eterm when I run it??

I forgot to mention that the output of pacman and yaourt has the same problem, the auto-completion (TAB key) does too, let me give you a screenshot so you can see for yourselves.

eterm.png
http://s827.photobucket.com/albums/zz20 … =eterm.png

Last edited by xangelux (2010-07-20 00:16:24)

Offline

#6 2010-07-20 06:06:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Change the font of Eterm so can use ñ and á chars

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448184 ?
Yeah, it's for debian, but just to be sure you can check it, as this bug shows up only in eterm.

Last edited by karol (2010-07-20 06:07:48)

Offline

#7 2010-07-20 19:16:36

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: Change the font of Eterm so can use ñ and á chars

Ok, so this is a bug, according to your link it can be fixed by compiling with the --enable-multi-charset flag on the ./configure step. Where can I submit this so we can get the package updated?, there are others interested in the same issue. Other option is that someone tells me how to do a PKGBUILD to submit it on the AUR. Does someone have a clue? I'll mark this as SOLVED for now.

Offline

#8 2010-07-20 19:20:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Change the font of Eterm so can use ñ and á chars

Maybe you should compile it first with the stock PKGBUILD but with --enable-multi-charset flag added
http://repos.archlinux.org/wsvn/communi … k/PKGBUILD

See if it works, does it break anything? If it does run fine, open a bug report.

Last edited by karol (2010-07-20 19:21:14)

Offline

#9 2010-07-21 01:30:09

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: Change the font of Eterm so can use ñ and á chars

Well, it doesn't break a thing but doesn't work neither, downloaded the PKGBUILD and run makepkg -s and installed it and nothing, the same thing, then tried downloading the package and build it with the clasic ./configure, make, make install with the flag --enable-multi-charset and when running is the same thing, no ñ or á chars :S sad so I guess that wasn't it.

I have send an e-mail to enlightenment people on sourceforge, I'll wait for a response (I hope they read it), I'll keep looking for a solution, if someone is interested in the solution please post your experiences here.

Last edited by xangelux (2010-07-21 02:36:33)

Offline

#10 2010-07-21 01:38:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Change the font of Eterm so can use ñ and á chars

Did you add it to the PKGBUILD

        ./configure --prefix=/usr --mandir=/usr/share/man \
            --enable-trans --enable-utmp --enable-multi-charset \

Offline

#11 2010-07-21 02:40:05

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: Change the font of Eterm so can use ñ and á chars

yes, I just did it again in case I missed something but no, still the same problem sad. Here is what might be an issue:

Configure step:
.
.
.
checking for preferred autoheader... autoheader
checking for preferred automake... automake
grep: ./src/netdisp.c: No such file or directory
.
.
.

checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking regexp.h usability... no
checking regexp.h presence... yes
configure: WARNING: regexp.h: present but cannot be compiled
configure: WARNING: regexp.h:     check for missing prerequisite headers?
configure: WARNING: regexp.h: see the Autoconf documentation
configure: WARNING: regexp.h:     section "Present But Cannot Be Compiled"
configure: WARNING: regexp.h: proceeding with the preprocessor's result
configure: WARNING: regexp.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
.
.
.
Make step:
.
.
.
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/include   -g -O2 -MT libscream.lo -MD -MP -MF
".deps/libscream.Tpo" -c -o libscream.lo libscream.c; \
       then mv -f ".deps/libscream.Tpo" ".deps/libscream.Plo"; else
rm -f ".deps/libscream.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -g -O2 -MT
libscream.lo -MD -MP -MF .deps/libscream.Tpo -c libscream.c  -fPIC
-DPIC -o .libs/libscream.o
libscream.c: In function 'ns_attach_by_URL':
libscream.c:1489:2: warning: #warning compiling in libscream
libscream.c:1494:2: warning: #warning compiling in support for GNU screen
.
.
.

Last edited by xangelux (2010-07-21 02:41:43)

Offline

#12 2010-07-21 02:45:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Change the font of Eterm so can use ñ and á chars

1. Talk to the maintainer.
2. Talk to upstream.

Offline

#13 2010-07-21 02:49:00

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: Change the font of Eterm so can use ñ and á chars

Yes, I think this is their work too, I'll wait for a response of my e-mail. I hope is soon, I'm starting to be more comfortable with xterm but still want to know more about this. Thanks karol for the time smile and the answers.

Offline

#14 2010-07-21 03:06:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Change the font of Eterm so can use ñ and á chars

The question is: why ca you paste in or

echo "ñ and á chars"

but typing it in is impossible.

Offline

#15 2010-07-31 19:35:34

xangelux
Member
Registered: 2010-05-29
Posts: 73

Re: Change the font of Eterm so can use ñ and á chars

karol wrote:

The question is: why ca you paste in or

echo "ñ and á chars"

but typing it in is impossible.

thats what I don't understand the problem

Offline

Board footer

Powered by FluxBB