Re: [Materm-devel] A newcomer on the list + utf 8 support

2007-12-07 Thread Gautam Iyer
On Sat, Dec 08, 2007 at 12:02:23AM +0100, Jehan wrote: But my question of point 1/ still remain about the meaning of 'L' after an integer. As far as I understand, 1L is the same as (long) 1. This shouldn't make a difference on most modern systems (long == int), but treat the 1UL suffix with

Re: [Materm-devel] utf-8 support

2007-12-09 Thread Gautam Iyer
On Sun, Dec 09, 2007 at 07:14:52PM -0800, Terminator wrote: This is why I will expose my understanding and the propositions to modify this and bring utf-8 on this list (or on private with Gautam and Jimmy maybe? Tell what is the best) before touching the code. This way we will discuss

Re: [Materm-devel] First issue: guessing the locale encoding

2007-12-11 Thread Gautam Iyer
On Tue, Dec 11, 2007 at 11:03:48PM +0100, Jehan wrote: personally I would agree. All my searches let me think that there is few chance that we won't find this on most systems. But as I am not an expert and knows only the GNU systems (for them I think we will always find langinfo.h) and that I

Re: [Materm-devel] Annoying bugs

2008-01-20 Thread Gautam Iyer
You might want to check with TERM=xterm, or TERM=rxvt. Better still install the mrxvt.terminfo file, and run with TERM=rxvt. The first problem you describe (with Vim) is related to the terminal response variable in Vim (t_Rv I think). It might be manifesting itself on your system because of 64bit

Re: [Materm-devel] Annoying bugs

2008-01-21 Thread Gautam Iyer
On Sun, Jan 20, 2008 at 11:56:52PM -0700, David Morris wrote: You might want to check with TERM=xterm, or TERM=rxvt. Better still install the mrxvt.terminfo file, and run with TERM=rxvt. Well, that does solve the problemsort of. I downloaded the latest mrxvt.terminfo from the CVS

Re: [Materm-devel] mrxvt patch, selecting paste buffers

2008-04-08 Thread Gautam Iyer
Hi Marc this little patch adds the possibility of mrxvt to paste a certain x selection buffer to the terminal. (documentation included) Thanks for the patch and documentation. This is also pretty useful for users which use the clipboard buffer in kde and gnome. (i.e. Perform a copy in

Re: [Materm-devel] [PATCH] reworked patch for pasting a certain selection buffer

2008-04-20 Thread Gautam Iyer
On Tue, Apr 15, 2008 at 03:34:23PM -0700, Gautam Iyer wrote: this little patch adds the possibility of mrxvt to paste a certain x selection buffer to the terminal. (documentation included) Thanks, I'll add it. I made a few changes: Namely I removed the Ctrl+Shift+x default binding, since

Re: [Materm-devel] [PATCH] pasting filecontent to active tab

2008-04-30 Thread Gautam Iyer
On Wed, Apr 30, 2008 at 09:28:20PM +0200, Marc Schoechlin wrote: this little patch adds the possibility to mrxvt to paste the contents of a file to the currently active tab (documentation included). Thanks, I'll include the patch. (Though I'm reluctant to add your default menu entries to paste

Re: [Materm-devel] [PATCH] pasting filecontent to active tab

2008-05-01 Thread Gautam Iyer
On Thu, May 01, 2008 at 07:23:56AM +0200, [EMAIL PROTECTED] wrote: (Though I'm reluctant to add your default menu entries to paste the solaris / linux profies). Perhaps it would be worth mentioning in the docs that because of % interpolation, PasteFile %s should get the file name

Re: [Materm-devel] Bug: paste removes space character

2008-05-12 Thread Gautam Iyer
On Mon, May 12, 2008 at 03:54:34PM +1000, Eduard Westra wrote: When I select a text and the last character is a (i.e. a space) it is not copied to the clipboard. When a printable character is behind it, then it's copied to the clipboard, but if a newline follows, the space is not copied,

Re: [Materm-devel] Mrxvt 0.5.2: Syntax error on ?: (Solaris)

2008-06-10 Thread Gautam Iyer
On Tue, Jun 10, 2008 at 05:43:58PM -0700, Terminator wrote: static function means that this function can only be called within the same source code file. Ah. Then static inline definitely makes sense... :) GI -- Marathon runners with bad footwear suffer the agony of defeat.

Re: [Materm-devel] Mrxvt 0.5.2: Syntax error on ?: (Solaris)

2008-06-10 Thread Gautam Iyer
On Tue, Jun 10, 2008 at 06:04:18PM -0400, Ethan Mallove wrote: The attached patch gets it passed the ?: issues. (I didn't have a real SVN checkout, so I don't know if my makeshift diff will work.) It was reversed, but applied fine. In SVN, Attached is another (possibly Sun Studio specific)

Re: [Materm-devel] Mrxvt-rev290 hangs on Cygwin

2008-06-12 Thread Gautam Iyer
On Thu, Jun 12, 2008 at 11:25:21PM +0200, Angelo Graziosi wrote: I want to flag that 0.5.b-rev-290 of MRXVT hangs on Cygwin. This happens after a few minutes one uses it. Some time it stack dumps. Instead rev-288 works just fine! This can't be! The code changes from 288 to 290 are cosmetic

[Materm-devel] Brain malfunction with rev290, please upgrade!

2008-06-13 Thread Gautam Iyer
Hi Guys, For some reason I made a rather stupid mistake in rev 289. The Solaris gcc had problems with a ?: b, and we replaced it with a ? NULL : b. Oops. We should have replaced it with a ? a : b. Users of revisions 289, 290, 291 should upgrade to 292 ASAP, otherwise you will get random

Re: [Materm-devel] [mrxvt-commit] SF.net SVN: materm: [295] mrxvt05b/share/mrxvtrc

2008-06-26 Thread Gautam Iyer
PS: Thanks for being an active dev Marc! We're looking for other able bodies to help us out... GI -- 100 THINGS I'D DO IF I EVER BECAME AN EVIL OVERLORD 64. I will see a competent psychiatrist and get cured of all extremely unusual phobias and bizarre compulsive habits which could prove to be a

Re: [Materm-devel] Building 0.5.2 on IRIX

2008-08-04 Thread Gautam Iyer
On Mon, Aug 04, 2008 at 08:28:07PM +0200, Jehan wrote: So I suggest to make a test on NoSymbol instead of 0L. Would you agree? Yep! And I notice you've already done this :) Thanks, GI -- TEN REASONS WHY HELL IS BETTER THAN GRAD SCHOOL: 2. There are hot men and women in Hell.

Re: [Materm-devel] Building 0.5.2 on IRIX

2008-08-04 Thread Gautam Iyer
On Mon, Aug 04, 2008 at 08:32:12PM +0200, Jehan wrote: Ok, I am a little stupid. Here is how NoSymbol is defined: /usr/include/X11/X.h 1: 146 #define NoSymbol 0L /* special KeySym */ So this is simply a Nul and our code is OK. Yet even though it will probably work on most (if

Re: [Materm-devel] Invalid sequences!

2008-08-10 Thread Gautam Iyer
On Sat, Aug 09, 2008 at 04:23:05PM +0200, Jehan wrote: I have a simple question. How should we treat invalid/forbidden byte sequences in mrxvt? This means some sequence of byte which is badly formed, not to be mistaken with unsupported byte sequence (for instance unsupported in your font:

Re: [Materm-devel] Dynamic buffer instead of fixed size static buffers

2008-08-14 Thread Gautam Iyer
On Thu, Aug 14, 2008 at 12:04:30PM +0200, jehan wrote: But I have one last (related) point: this is about naming. Would you care if I try to rename some of the variables (when it is not too difficult, or really worth it)? Yes PLEASE. Some of the functions, and variables are named in a rather

Re: [Materm-devel] prefix naming

2008-08-20 Thread Gautam Iyer
On Tue, Aug 19, 2008 at 09:52:55PM +0200, Jehan wrote: It's historical, and in my opinion a waste of space. Better to call the function 'scr_refresh' than 'mrxvt_scr_refresh'. (The prefixing is only needed when we write a library that might be used by other applications). I think it has at

Re: [Materm-devel] [Materm-usage] highlighting problem

2008-08-20 Thread Gautam Iyer
On Wed, Aug 20, 2008 at 11:29:55AM +0200, Eleanor wrote: Installed versions: 0.5.3-r2 - the start of my mrxct position is (0,0) and it's stetching over the whole width and height/2. - problem is when I run dmesg (just an example of output that' longer than one page, so you have to

Re: [Materm-devel] Dynamic buffer instead of fixed size static buffers (fwd)

2008-08-20 Thread Gautam Iyer
On Wed, Aug 20, 2008 at 03:22:11PM +0200, jehan wrote: By the way how do you add these flags in the compilation? I am not a C preprocessor expert and I could not find the way to add the '#define DEBUG_X' information in the configure script. I added directly #define lines in the source code

Re: [Materm-devel] Slow scrolling with large, wide files

2008-08-20 Thread Gautam Iyer
On Wed, Aug 20, 2008 at 10:40:05AM -0400, Seung Jun wrote: % wc xxx.log 11914 285936 7632811 s1.director.outlier % time cat xxx.log ... (mrxvt) cat xxx.log 0.00s user 0.04s system 0% cpu 3:54.50 total (xterm) cat xxx.log 0.00s user 0.05s system 0% cpu 1:03.51 total

Re: [Materm-devel] Dynamic buffer instead of fixed size static buffers

2008-08-20 Thread Gautam Iyer
On Wed, Aug 20, 2008 at 11:46:02PM +0200, Jehan wrote: And now I think I fixed the issue after changing the appropriate things. Indeed! I can happily report that there is no segfault with r331. Though I haven't tested much yet. Anyway... with this revision 331, it seems we have an improved

Re: [Materm-devel] Dynamic buffer instead of fixed size static buffers

2008-08-22 Thread Gautam Iyer
On Thu, Aug 21, 2008 at 10:33:42AM +0200, jehan wrote: Indeed! I can happily report that there is no segfault with r331. Though I haven't tested much yet. Anyway as there is a deep change of tabs gestions, report me if there is any tab-related issue. I don't think there will be memory

Re: [Materm-devel] Slow scrolling with large, wide files

2008-08-22 Thread Gautam Iyer
On Fri, Aug 22, 2008 at 04:55:20AM +0200, Jehan wrote: By the way, for the query of generating a random text file from Gautam, It seems that you have a file that mrxvt takes forever to cat. Can you compress and send it to me (or upload it somewhere). Feel free to %s/\w/a/g. I'll probably have

[Materm-devel] fed up with sourceforge

2008-09-22 Thread Gautam Iyer
Hey Guys, Sourceforge seems have to changed their policy *again*. As a result the Wiki for mrxvt seems down, and I don't have any shell access (i.e. no way of fixing it). I'm thinking of migrating everything over to Google. Any thoughts, GI PS: If anyone knows how to 'quickly fix' the broken

Re: [Materm-devel] UTF-8 branch -- alpha time?

2008-10-14 Thread Gautam Iyer
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

Re: [Materm-devel] UTF-8 branch -- alpha time?

2008-10-15 Thread Gautam Iyer
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

Re: [Materm-devel] UTF-8 branch -- alpha time? (fwd)

2008-10-15 Thread Gautam Iyer
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

Re: [Materm-devel] Small question about segfaults

2008-10-20 Thread Gautam Iyer
On Mon, Oct 20, 2008 at 04:35:06PM +0200, jehan wrote: From the program's point of view, all memory space is his, some addresses are allocated, some not. But all the memory (eg. from 0 to 0x on a 32bits arch) is potentially his. Ok, so what I understand here is that you confirm that

Re: [Materm-devel] Advancement state of the any-encoding-aware mrxvt

2008-10-27 Thread Gautam Iyer
On Mon, Oct 27, 2008 at 12:50:02AM +0100, Jehan wrote: The problem is this one: vim (or any other program running on terminal) does not know a character size, but it still need to guess it. Ok, so I tried running Vim on Konsole. The Tamil fonts cause lots of problems, presumably for the

Re: [Materm-devel] UTF-8 branch -- alpha time?

2008-11-01 Thread Gautam Iyer
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

Re: [Materm-devel] UTF-8 branch -- alpha time?

2008-11-02 Thread Gautam Iyer
: 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

Re: [Materm-devel] UTF-8 branch -- alpha time?

2008-11-02 Thread Gautam Iyer
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

[Materm-devel] [UTF8] Bug when inserting text

2008-11-02 Thread Gautam Iyer
Ok, I found another bug: When inserting text, sometimes the character under the cursor disappears. I can't seem to reproduce this under Vim. But I can with tcsh vi-keys. Do the following: 1. Run tcsh under mrxvt-utf8 2. Set your kebindings to vi-keys by running 'bindkey -v' 3. Type

Re: [Materm-devel] [Fwd: Re: I tested mrxvt05utf8]

2008-11-02 Thread Gautam Iyer
On Sun, Nov 02, 2008 at 11:46:08AM +0100, Jehan wrote: Tested. Looks good with 'AR PL Zenkai Uni', and terrible with 'Dejavu Sans Mono;AR PL Zenkai Uni' Yes, I still want to figure if this kind of behaviour can be fixable... Not that ASCII art is the most important feature of a terminal,

Re: [Materm-devel] [UTF8] Bug when inserting text

2008-11-02 Thread Gautam Iyer
On Sun, Nov 02, 2008 at 01:42:11AM -0700, Gautam Iyer wrote: Ok, I found another bug: When inserting text, sometimes the character under the cursor disappears. I can't seem to reproduce this under Vim. But I can with tcsh vi-keys. Do the following: 1. Run tcsh under mrxvt-utf8

[Materm-devel] [UTF8] Segfault when exiting (without Xft)

2008-11-02 Thread Gautam Iyer
I just tried running the utf8 version without Xft. The following causes a segfault: mrxvt -nsc -cf /dev/null bash$ cat some utf8 file bash$ exit GI -- 100 THINGS I'D DO IF I EVER BECAME AN EVIL OVERLORD 8. After I kidnap the beautiful princess, we will be married immediately in a

[Materm-devel] New wiki thanks to Bob Hepple

2008-12-30 Thread Gautam Iyer
Hi All, Bob Hepple kindly moved the wiki over from Suxforge. You can see it at http://code.google.com/p/mrxvt/wiki/Main Feel free to contribute, fix errors, or add anything that you wanted to add to the old Wiki but could not because of the RO status. Thanks again Bob, GI PS: Jehan -- we

[Materm-devel] Wiki accounts

2008-12-31 Thread Gautam Iyer
Anyone who wants to be a member of the mrxvt project on Google code please send me your Google ID. This includes people who want to contribute bits to the Wiki. (Note you don't have to be a gmail user to have a google account. I use my university email address as my Google account ID.) As of now

Re: [Materm-devel] [patch] mrxvt05b/src/screen.c (fix type of iconv(3) arguments)

2009-01-10 Thread Gautam Iyer
On Sun, Jan 11, 2009 at 02:15:27AM +0900, Tetsuya KOBAYASHI wrote: When I launched mrxvt with xft option and Japanese proportional font as xftmFont on my GNU/Linux amd64 machine, Japanese strings were displayed quite strangely (the n-th character with n-fold vision), and I tracked down that,

Re: [Materm-devel] highlight/parse scrollback buffer natively

2009-01-22 Thread Gautam Iyer
On Thu, Jan 22, 2009 at 01:46:06PM +, Charles Acknin wrote: I often run extremely verbose programs or large compilations in parallel (read make -j) and it's hard to catch the errors or other interesting information in such a large volume of characters. I'm looking for an mrxvt feature

Re: [Materm-devel] highlight/parse scrollback buffer natively

2009-01-23 Thread Gautam Iyer
On Fri, Jan 23, 2009 at 04:27:30PM +0100, jehan wrote: it is maybe not as easy to do as I thought it would be. It is similar to adding some kind of character control (for adding color, etc.) into the output but as the mrxvt structure use a lot the same character pointer which it will

Re: [Materm-devel] highlight/parse scrollback buffer natively

2009-01-23 Thread Gautam Iyer
On Fri, Jan 23, 2009 at 01:18:05PM +, Charles Acknin wrote: Alright. Any pointers as to where to start and whether mrxvt already has a regexp engine or dependency on a third-party lib to do the pattern matching? Mrxvt has no regexp code as of now. Feel free to link to the standard regexp

Re: [Materm-devel] Encoding bug in mrxvt-0.5.4

2009-02-19 Thread Gautam Iyer
On Thu, Feb 19, 2009 at 11:19:45AM +0100, Jehan wrote: Plus, I have something to announce to the whole mailing list. I am leaving for a world tour on my motorcycle in 3 weeks. Wow! Sounds exciting! Do you have a special attachment to go over oceans :). Be safe, have fun and post pictures, GI

Re: [Materm-devel] Mrxvt 0.5.4

2009-03-28 Thread Gautam Iyer
On Tue, Jan 13, 2009 at 12:51:19AM +, Krzysiek Pawlik wrote: I've found a small problem with mrxvt 0.5.4: it does not display correctly ISO-8859-2 (eg. Polish) characters, where 0.5.3 didn't had that problem, I have both emerged with exactly the same CFLAGS and so on. I'm attaching

Re: [Materm-devel] Encoding bug in mrxvt-0.5.4

2009-03-29 Thread Gautam Iyer
On Tue, Jan 13, 2009 at 05:59:48PM -0800, Gautam Iyer wrote: I've found a small problem with mrxvt 0.5.4: it does not display correctly ISO-8859-2 (eg. Polish) characters, where 0.5.3 didn't had that problem, I have both emerged with exactly the same CFLAGS and so on. I'm attaching