Re: [Materm-devel] UTF-8 branch -- alpha time?
If you like, I can install the same on my Gentoo box, and see if it just works. (Only I don't know what XIM is / etc.) If you tell me what to emerge, and what to run / expect, I can check it for you on Gentoo. Hi, sorry I didn't post many messages, nor commit code this week. It is a pretty full week. Hope it will change soon. For the UIM stuff, I didn't really answer, because as I said, I am not sure what is the exact thing I made which worked because there are a lot of packages for all the Input Method stuffs (the one for KDE, for Gnome, the X one, etc.), and many different explanation of the configuration to make on the web... Anyway I managed to have it work using on my Mandriva when loading KDE! On my Gentoo, I make it work without KDE. I don't really know how... I will give more information if I understand more. Jehan - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time?
On Wed, Oct 15, 2008 at 02:37:33AM +0200, Jehan wrote: I am advancing well, and close to release some kind of alpha. For Gentoo users -- I wrote a live ebuild for the utf8 branch. It's attached. It the executable 'mrxvt-utf8', and suffixes all shared files with a 'utf8', so this can co-exist with the regular version of mrxvt. Please test extensively. It will be very nice if this is finally in the main tree. GI -- 'Willpower' -- The ability to eat only one salted peanut. # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Author: Gautam Iyer [EMAIL PROTECTED] # $Header: $ inherit eutils subversion DESCRIPTION=Multi-tabbed rxvt clone with XFT, transparent background and UTF8 support. HOMEPAGE=http://materm.sourceforge.net/; #SRC_URI=mirror://sourceforge/materm/${P}.tar.gz LICENSE=GPL-2 SLOT=0 KEYWORDS=~alpha ~amd64 ~mips ~ppc ~x86 LINGUAS_IUSE=linguas_el linguas_ja linguas_ko linguas_th linguas_zh_CN linguas_zh_TW IUSE=debug png jpeg session truetype menubar utempter xpm ${LINGUAS_IUSE} ESVN_REPO_URI=https://materm.svn.sourceforge.net/svnroot/materm/mrxvt05utf8; RDEPEND=!ppc-macos? ( png? ( media-libs/libpng ) utempter? ( sys-libs/libutempter ) ) jpeg? ( media-libs/jpeg ) truetype? ( virtual/xft media-libs/fontconfig media-libs/freetype ) x11-libs/libX11 x11-libs/libXt xpm? ( x11-libs/libXpm ) x11-libs/libXrender DEPEND=${RDEPEND} x11-proto/xproto src_unpack() { subversion_src_unpack # 2008-05-02: make dies without the ChangeLog file if [[ ! -f ChangeLog ]]; then echo The ChangeLog is no longer maintained. See the subversion \ repository for the current ChangeLog. ChangeLog fi ./bootstrap.sh } src_compile() { local myconf # if you want to pass any other flags, use EXTRA_ECONF. if use linguas_el ; then myconf=${myconf} --enable-greek fi if use linguas_ja ; then # --with-encoding=sjis myconf=${myconf} --enable-kanji --with-encoding=eucj fi if use linguas_ko ; then myconf=${myconf} --enable-kr --with-encoding=kr fi if use linguas_th ; then myconf=${myconf} --enable-thai fi if use linguas_zh_CN ; then # --with-encoding=gbk myconf=${myconf} --enable-gb --with-encoding=gb fi if use linguas_zh_TW ; then myconf=${myconf} --enable-big5 --with-encoding=big5 fi # 2006-03-13 gi1242: mrxvt works best with TERM=rxvt AND correctly set # termcap / terminfo entries. If the rxvt termcap / terminfo entries are # messed up then then it's better to set TERM=xterm. # # Provide support for this by setting the or RXVT_TERM environment variables # before emerging, as done in the rxvt ebuild. if [[ -n ${RXVT_TERM} ]]; then myconf=${myconf} --with-term=${RXVT_TERM} fi econf \ --enable-everything \ --with-atab-extra=25\ --sysconfdir=/etc/mrxvt-utf8\ $(use_enable debug) \ $(use_enable png) \ $(use_enable jpeg) \ $(use_enable xpm) \ $(use_enable session sessionmgr)\ $(use_enable truetype xft) \ $(use_enable menubar) \ ${myconf} || die emake || die } src_install() { make DESTDIR=${D} docdir=/usr/share/doc/${PF} install || die # Rename files to avoid conflicts with a possibly installed mrxvt. mv ${D}/usr/bin/mrxvt ${D}/usr/bin/mrxvt-utf8 || die mv ${D}/usr/share/man/man1/mrxvt.1 ${D}/usr/share/man/man1/mrxvt-utf8.1 \ || die cd ${D}/usr/share/pixmaps/ || die (for i in *; do mv ${i} ${i%.*}-utf8.${i##*.}; done) || die cd - || die # Give mrxvt perms to update utmp fowners root:utmp /usr/bin/mrxvt-utf8 fperms g+s /usr/bin/mrxvt-utf8 dodoc AUTHORS CREDITS ChangeLog ChangeLog.old FAQ NEWS README* TODO } pkg_postinst() { if [[ -z $RXVT_TERM ]]; then einfo einfo If you experience problems with curses programs, then this is einfo most likely because of incorrectly set termcap / terminfo einfo entries. To fix this you can dry and run
Re: [Materm-devel] UTF-8 branch -- alpha time?
On Sun, Nov 02, 2008 at 12:57:42AM -0700, Gautam Iyer wrote: I am advancing well, and close to release some kind of alpha. For Gentoo users -- I wrote a live ebuild for the utf8 branch. It's attached. Ebuild uploaded on Gentoo bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=245238 GI -- 100 THINGS I'D DO IF I EVER BECAME AN EVIL OVERLORD 97. My dungeon cells will not be furnished with objects that contain reflective surfaces or anything that can be unravelled. pgppDqyAhUuuH.pgp Description: PGP signature - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time?
Hi all, I am trying the utf-8 branch on a double boot Mandriva Linux, I have just installed. I managed to install scim/xim as well... But I cannot get it to work directly with mrxvt! On my Gentoo, I can directly type Japanese or whatever one may have configured through scim in mrxvt (so type text in any language in vi for instance!). But here I can activate scim on Firefox, Thunderbird, etc. But not in mrxvt. The problem is that I never really understood how does Scim work, and the difference between scim/xim/skim/other stuff in IM. I just managed to have it installed perfectly somehow on my OS (but after days of trying stuffs randomly, I must admit). So... would anyone here know how this work and what to do? (I know, this look stupid to ask other how I did something :p) Having the possibility to write (and not only read or copy/paste) directly any language in mrxvt was a great satisfaction to me. :-D But I don't manage to reproduce it so I am sad. :-( Thanks. Jehan P.S.: at least I know this is not because of something I broke under mrxvt as it still works with scim configured under my Gentoo... So it is most probably a configuration matter... Gautam Iyer wrote: On Sun, Nov 02, 2008 at 12:57:42AM -0700, Gautam Iyer wrote: I am advancing well, and close to release some kind of alpha. For Gentoo users -- I wrote a live ebuild for the utf8 branch. It's attached. Ebuild uploaded on Gentoo bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=245238 GI - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time?
Ok, I have a few more errors to report: 1. Tab display. Looks like my precious xftpfn is not used anymore? I quite liked that option. That way I can use a small proportionally spaced font for tab titles... 2. Edit the attached file in Vim. The second line is in the wrong pace. (This works correctly in xterm). 3. Transparency broken? Ctrl-Shift-R toggles the transparency correctly. However Ctrl-shift-j / k don't seem to increase or decrease the transparency levels... I look forward to changing to the utf8 branch completely :). [Solely for the 'coolness factor'. I only ever need the latin1 encoding. But if utf-8 is working, I'll sign my name in Hindi just to be cool...] GI -- Modern Computer Viruses: Bill Clinton virus -- Promises to give equal time to all processes: 50% to poor, slow processes; 50% to middle-class processes, and 50% to rich ones. This virus protests your computer's involvement in other computer's affairs, even though it has been having one of its own for 12 years. 114. *Hausa* (/Ajami/) (2) #notes: Ø¥ÙÙا Ø¥ÙÙ٠تÙÙÙÙر غÙÙÙاش٠ÙÙ٠٠إÙ٠غÙÙ Ùا ÙÙاÙÙÙÙا Can you edit this line? It is drawn in the wrong place! pgpZqptPPcyTL.pgp Description: PGP signature - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time?
Gautam Iyer a écrit : On Mon, Oct 27, 2008 at 12:45:05PM +0100, jehan wrote: If we have multiple fonts then I think putting the size directly in the name would be better. It breaks backward compatibility, but oh well... After rereading all the Xft stuff, I thought that the best was to use the full Xft naming scheme. So for instance, a user can select such a font: times-12:bold:slant=italic,oblique which means: 12 point times bold, either italic or oblique. Of course I will have to change the separator for the multi-font. I propose to use ';' instead of ',' because ',' can be found in Xft names (but not ';'). I think this is a great idea. GI Ok this is done in the last revision! Now the full Xft naming scheme is used and ';' is used to separate fonts! - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time?
Hi, Gautam Iyer a écrit : 2. Numerous segfaults :(. Closing a tab sometimes caused an entire segfault. Exiting always causes a core dump. I think to have detected and fixed the case which could make a segfault when closing a tab. So please tell me if this happens again... I am not sure because I don't have the same segfault, but I think this may be the cause also 2. Running with my configuration (attached) causes a segfault on exit. The backtrace wasn't helpful at all: (gdb) backtrace #0 0xb7f9c424 in __kernel_vsyscall () #1 0xb7c16101 in raise () from /lib/libc.so.6 #2 0xb7c178e8 in abort () from /lib/libc.so.6 #3 0xb7c4ccbb in ?? () from /lib/libc.so.6 #4 0x0004 in ?? () #5 0xbfbb74c0 in ?? () #6 0x0400 in ?? () #7 0x in ?? () And I have fixed this as well. I could reproduce it thanks to your config file, then found where was the bug... Jehan - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time?
Gautam Iyer a écrit : A few more issues: 1. Resizing the font causes the 'multi char' fonts to be forgotten if they are not currently being used. 2. Different sized fonts (e.g. 'Dejavu Sans Mono,Lohit Tamil') causes very very ugly display. This is similar to what was writing Gary Zhang. I will fix this later on. Do you think we should keep the option -xftsz, and then for instance if you have several fonts, we can accept several size as well, their order corresponding to the font orders? Or as was suggesting Gary, maybe adding the font size to the font name directly is better? I think this last solution as some sexy way of doing... 3. Resizing when the multi-char font is used causes a segfault. Ok, the multi-char font (-xftfm, is it well what you are speaking about?) does not exist anymore! Everything is now done with the fonts in the -xftfn list. Probably there are still some places where this option is still mentionned, so when you try and use it, it segfaults?.. What made you say 'multi-char font is used' anyway? More later, Cool. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time?
Hi Jehan, On Wed, 2008-10-15 at 02:37 +0200, Jehan wrote: I am advancing well, and close to release some kind of alpha. I want to check very big bugs and mistakes first. Have anyone on the list tried to compile the branch? Could you try maybe (with any option, none, all, etc.) and tell me if you encounter issues, first for compilation, then for running it... And of course if you can compile and run it, tell me if this works nice with your favorite encoding (UTF-8 of course, but also any other... even the less common ones... Note that for very complicated encoding, it is better to have iconv installed, because the X method is not as powerful as iconv... But usually iconv is always installed on most Linux distribution I think, and on Unixes too). On this first try, I am especially interested on big issues (compilation, font initialization problems, etc.), on most different platforms and with different configuration files. This is very good news, as it was the only thing that keeps me on Gnome Terminal on my day to day workstation. I'm eager to test it. Where is the code located? Is it in: https://materm.svn.sourceforge.net/svnroot/materm/mrxvt05utf8/ I'll report success or failure later this week (busy at work right now). Thanks! -- Brice Figureau [EMAIL PROTECTED] Days of Wonder - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time?
On Wed, Oct 15, 2008 at 04:03:28AM +0200, Jehan wrote: If it does not return UTF-8, then you don't use UTF-8. To check if you have a UTF-8 locale installed, you can run locale -a. Oops. $ locale -a C en_US POSIX So I need to figure what Gentoo magic needs to be done before I even have UTF-8. Hopefully this won't take too long. GI -- 100 THINGS I'D DO IF I EVER BECAME AN EVIL OVERLORD 48. I will treat any beast which I control through magic or technology with respect and kindness. Thus if the control is ever broken, it will not immediately come after me for revenge. pgpuhS1SY7Qds.pgp Description: PGP signature - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time? (fwd)
On Wed, Oct 15, 2008 at 02:56:30PM +0200, jehan wrote: P.S.: I sent an email yesterday evening, but it got caught for approval by a moderator, as far as a returned email explained... The moderator usually sleeps at night. (Email should arrive on the list shortly). GI -- Modern Computer Viruses: Arnold Schwarzenegger Virus -- Terminates and stays resident. It'll be back. pgpkHj2ZJ5Jxn.pgp Description: PGP signature - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time?
Gautam Iyer a écrit : Oops. $ locale -a C en_US POSIX So I need to figure what Gentoo magic needs to be done before I even have UTF-8. Hopefully this won't take too long. GI You are lucky, I am also a Gentoo user. I would have known, I would have given directly a link to the Gentoo documentation (because -- as usual -- Gentoo community has documented internationalization, as it does for mostly anything!). http://www.gentoo.org/doc/en/utf-8.xml I have followed the same doc to set UTF-8 on my computer, it should go smoothly. Jehan P.S.: don't worry, I understand perfectly that you TOO (as a normal person) need to sleep. ;-) I was just reminding this info as I don't know if you look at the blocked messages... - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time?
Oh and I have just seen that I apparently also broke the transparent feature. I will look for this tomorrow. But look anyway at the branch please. The more feedback the better. Jehan Jehan a écrit : Oh and by the way... I know there are a lot of warning at compile time. I plan to clean this all... But I thought it would be great to have a feedback already before the finale release. Jehan Jehan a écrit : Hi all, I am advancing well, and close to release some kind of alpha. I want to check very big bugs and mistakes first. Have anyone on the list tried to compile the branch? Could you try maybe (with any option, none, all, etc.) and tell me if you encounter issues, first for compilation, then for running it... And of course if you can compile and run it, tell me if this works nice with your favorite encoding (UTF-8 of course, but also any other... even the less common ones... Note that for very complicated encoding, it is better to have iconv installed, because the X method is not as powerful as iconv... But usually iconv is always installed on most Linux distribution I think, and on Unixes too). On this first try, I am especially interested on big issues (compilation, font initialization problems, etc.), on most different platforms and with different configuration files. Then when it seems really stable and when I am sure I have not really broken some specific use, I will clean the code from everything which I have commented from the old encoding method. And finally I will feel to propose a nice beta in maybe a week or so. By the way, I added the font switching stuff (in xft only for now, later also without Xft with X font system). Just for the main changes: - the option -xftfm does not exist anymore. The concept of Multichar font was not relevant. - the option -xftfn can now have multiple fonts, separated by commas ,. For instance, very typical example: 1/ I want to use the font Fixed for all occidental characters. 2/ I want to use the font Sazanami Gothic for Japanese characters. Then I run: mrxvt -xftfn 'Fixed,Sazanami Gothic' It will display everything in Fixed, and when it does not find it, it will display in Sazanami Gothic. And you can add other fonts (up to 8 different fonts) so that you can support arabic, chinese, japanese, korean, etc. in the same terminal! Of course this implies that the font is well made. For instance, I tried -xftfn Mikachan,Fixed and some letter are displayed as missing glyph though they are available in Fixed but other are well taken in Fixed. Apparently this is because Mikachan does not consider some character as missing, though it does not have them! So I have to reverse order: Fixed,Mikachan and this is better. Attached are 2 screenshot examples of -xftfn Fixed,Sazanami Gothic. 1/ mrxvt_utf8_bash.png : here in bash, I made some echo of many international characters. Notice the cursor on a double column letter: it is also double (and when on a simple column, it is simple). 2/ mrxvt_utf8_vim.png : some Japanese and French (with a French special character: 'Ç'). In both screenshots, all japanese characters are displayed in Sazanami and the rest is displayed in Fixed. Thanks all! Jehan P.S.: there is still a big bug in the tab title... I will take care of this hopefully this week (tomorrow evening if I have some time?). I think after I have fixed this bug and if some people can confirm they don't see big issues, I will release a beta. :-) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net
Re: [Materm-devel] UTF-8 branch -- alpha time?
Great -- Can you send me a sample UTF-8 file, and a list of fonts I need to install to see it. I will then run cat yourfile to see what it looks like. (If I need to set some secret LC_ environment variable, let me know) I've no idea about XIM / UTF-8 stuff, If all goes well, we can get an alpha / beta out soon. GI PS: I won't test till the weekend. -- A tragedy of mathematics is a beautiful conjecture ruined by an ugly fact. pgpvdYCxUDZw1.pgp Description: PGP signature - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Materm-devel mailing list Materm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/materm-devel mrxvt home page: http://materm.sourceforge.net