UTF-8 fix for Shift+Enter

2006-08-03 Thread Koblinger Egmont
Hi, With the UTF-8 patches, line editing (both the command line as well as other widgets: create dir, rename file...) go crazy if a literal newline (Shift+Enter, or Ctrl+Q followed by an Enter) is pressed. This special character can no longer be removed from the buffer, the cursor walks to the

highlight not on first line after a cd

2005-10-10 Thread Koblinger Egmont
Hi, Tried with 4.6.0 and 4.6.1: Log in as root, whose home directory is /root (as usual under Linux). Create an entry (regular file or directory, doesn't matter) under one of the topmost directories, e.g. touch /tmp/root. Start mc, having your home (/root) in one of the panels. Type cd /tmp

Re: utf8 patch for mc, slang 2 version

2005-09-26 Thread Koblinger Egmont
Hi, config.h @ 3 +#ifdef __APPLE__ +#define unix 1 +#endif I guess developers prefer patches created with diff -u rather than just some pseudo-code. Exctact the original source code to a directory called mc-4.6.1.orig (or actually you can call it whatever you want), copy it to mc-4.6.1 (or

Re: utf8 patch for mc, slang 2 version

2005-09-26 Thread Koblinger Egmont
Hi, I have patches for the NFC / NFD issue and two other patches for the Darwin/Mac Platform for the current UTF-8 version, with all patches applied (I don't know where to post it, so I post here, sorry): config.h @ 3 +#ifdef __APPLE__ +#define unix 1 +#endif I guess developers prefer

Re: utf8 patch for mc, slang 2 version

2005-09-21 Thread Koblinger Egmont
On Tue, Sep 20, 2005 at 10:11:28PM +0200, Bálint Kardos wrote: But even with all patches and stuff, I see the following Unicode glitches: - the utf-8 chars are not diplayed in the dir list (on Ubuntu, everything is OK) for ÉÁŰŐÚÖÜÓ I see EAUOUOUO (upper, lowercase all wrong) - the

Re: Multi byte charset support vs. single byte

2005-07-31 Thread Koblinger Egmont
On Sun, Jul 24, 2005 at 04:20:45PM +0200, Leonard den Ottolander wrote: Hi, I was wondering if when we will implement multi byte charset support we should still keep a compile option to build for (low memory) single byte systems, or even a runtime option to choose between the two modes, as

Re: glibc and getgrouplist

2005-07-22 Thread Koblinger Egmont
(strcmp(gnu_get_libc_version(), 2.3.3) 0) Why not? Note the comparison. Since 2.3.3, this should be definitely fixed. Please use strverscmp() or something similar. According to strcmp, 2.3.10 is smaller than 2.3.3. -- Egmont ___

Re: glibc and getgrouplist

2005-07-22 Thread Koblinger Egmont
On Fri, Jul 22, 2005 at 09:30:11AM +0200, Roland Illig wrote: Hmmm, you're right. As we are sure to have a glibc, there's also a function strverscmp, which we can use. I had known this issue, but as glibc-2.2 only got upto 2.2.6, I thought it would suffice. Also AFAIK current 2.3.5 is the

Re: cons.saver not suid root

2005-06-08 Thread Koblinger Egmont
On Wed, Jun 08, 2005 at 04:49:11PM +0200, Oswald Buddenhagen wrote: we have no portable (even across linuxes) way to create a vcsa user, so there is no other option than root. How about not creating a user or group, but observing the installed system? IMHO if all the vcsa devices are owned

Re: cons.saver not suid root

2005-06-08 Thread Koblinger Egmont
On Wed, Jun 08, 2005 at 06:06:03PM +0200, Tomasz Koczko wrote: BTW: in case Linux now I don' see cons.saver usage. $ strace -o out mc; grep cons.saver out with few times ctrl-o during strace show nothing (?). Q: is in case Linux cons.saver is still neccessary ? Yes. In case mc's

byte vs. character approach [was: Terminology concerning strings]

2005-04-06 Thread Koblinger Egmont
Hi all, According to http://www.gnu.org/software/libc/manual/html_node/Extended-Char-Intro.html wchar_t on GNU systems is 4 bytes by default. Internal representation of multibyte strings always uses fixed widths or something like x[3] wouldn't work (without scanning the string). So in case x

Re: Terminology concerning strings

2005-04-04 Thread Koblinger Egmont
Hi, On Mon, Apr 04, 2005 at 11:35:44AM +0200, Roland Illig wrote: * the _size_ of a string (as well as for other objects) is the number of bytes that is allocated for it. For arrays, it is the number of entries of the array. For strings it is at least _length_ + 1. * the _length_ of a

Re: MC translation

2005-01-24 Thread Koblinger Egmont
On Mon, Jan 24, 2005 at 06:34:45PM +0100, Leonard den Ottolander wrote: On Sun, 2005-01-23 at 23:02, Arpad Biro wrote: New Hungarian MC translation attached, someone please commit it. Maybe somebody could proof read this translation? Egmont? rpd does a good job when translating, and he has

^X^P sometimes doesn't put trailing slash

2003-08-23 Thread Koblinger Egmont
Hi, ^X^P doesn't put a trailing slash under certain circumstances, e.g. if you're in /tmp/asdf/x while the other panel is /tmp/foo/x. The bug is in main.c copy_other_pathname(): command_insert (cmdline, opanel-cwd, 0); if (cpanel-cwd[strlen (opanel-cwd) - 1] != PATH_SEP) ^^

sort order

2003-07-23 Thread Koblinger Egmont
Hi, mc sorts the files in standard ascii order (strcmp() instead of strcoll()). IMHO it would be better if it sorted them according to the current locale. This way those who don't like this still can set LC_COLLATE=C to revert the current behavior. (Tested with 4.6.0) bye, Egmont

AltGr doesn't work...

2002-12-29 Thread Koblinger Egmont
Hi! It's me again ;) In the official Hungarian keyboard layout many common symbols are reached using the AltGr modifier, e.g. '@' is AltGr + V. These work on Linux console after you issue the command loadkeys hu. They had no problem with mc-4.5.55. However, they don't insert the symbols with

glibc error messages

2002-12-27 Thread Koblinger Egmont
Hi! When compiled with glib2, error messages received from glibc are not displayed with the correct character set. E.g. launch 'LC_ALL=fr_FR mc' and try to remove /bin/bash as normal user. The accented letter is incorrect in the error box. If compiled with glib1, it is okay. mc-4.6.0-pre2.

Re: Issues with /tmp/mc-$USER directory

2002-12-25 Thread Koblinger Egmont
Hi! I don't want to delete the directory on exit because there are many reasons why mc can exit (including crash and killing it when rebooting the system). Considering that the temporary directory may have huge files in it, I would prefer to have a fixed name for it, so that it could be