Re: Problem in compiling in OS X `0.4

2006-01-28 Thread Pavel Tsekov
Try here:

 http://lists.apple.com/archives/unix-porting

My impression is that there arent really many people on this list with
access ot OSX . Maybe you could provide a shell on your machine so that
someone can take a look 


> > if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DDATADIR=\""/Users/russ/Desktop/
> > mc-4.6.1/share/mc/"\" -DLOCALEDIR=\""/Users/russ/Desktop/mc-4.6.1/
> > share/locale"\" -I../intl -I../intl  -I/usr/local/include/glib-1.2 -I/
> > usr/local/lib/glib/include -g -O2-MT mountlist.o -MD -MP -MF ".deps/
> > mountlist.Tpo" -c -o mountlist.o mountlist.c; \
> > then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f
> > ".deps/mountlist.Tpo"; exit 1; fi
> > mountlist.c: In function `get_fs_usage':
> > mountlist.c:772: error: storage size of `fsd' isn't known
> > make[2]: *** [mountlist.o] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Problem in compiling in OS X `0.4

2006-01-28 Thread Russ Urquhart
Yes, Leonard is correct, I sent the wrong problem, the correct  
problem, as pointed out by Leonard is below.


Sorry for the confusion.

Russ
On Jan 28, 2006, at 10:02 AM, Leonard den Ottolander wrote:


Hi Russ,

What I guess you do want to discuss is this (see my forwarded mail):

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DDATADIR=\""/Users/russ/Desktop/
mc-4.6.1/share/mc/"\" -DLOCALEDIR=\""/Users/russ/Desktop/mc-4.6.1/
share/locale"\" -I../intl -I../intl  -I/usr/local/include/glib-1.2 -I/
usr/local/lib/glib/include -g -O2-MT mountlist.o -MD -MP -MF ".deps/
mountlist.Tpo" -c -o mountlist.o mountlist.c; \
then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f
".deps/mountlist.Tpo"; exit 1; fi
mountlist.c: In function `get_fs_usage':
mountlist.c:772: error: storage size of `fsd' isn't known
make[2]: *** [mountlist.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[Fwd: Re: Compiling under OS X 10.4 got an error]

2006-01-28 Thread Leonard den Ottolander
 Forwarded Message 
From: Leonard den Ottolander <[EMAIL PROTECTED]>
To: MC 
Subject: Re: Compiling under OS X 10.4 got an error
Date: Thu, 26 Jan 2006 23:21:18 +0100

Hi Russ,

On Wed, 2006-01-25 at 21:35 -0600, Russ Urquhart wrote:
> mountlist.c: In function `get_fs_usage':
> mountlist.c:772: error: storage size of `fsd' isn't known
> make[2]: *** [mountlist.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

I've no idea about the actual fix but I assume the
AC_CHECK_FUNCS(statvfs) around line 500 in acinclude.m4 is involved in
the problem. Others might be able help you out with the details.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Problem in compiling in OS X `0.4

2006-01-28 Thread Leonard den Ottolander
Hi Russ,

On Sat, 2006-01-28 at 09:53 -0600, Russ Urquhart wrote:
> Making all in slang
> if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I./include -I../intl -I../intl   
> -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include - 
> D_INTL_REDIRECT_MACROS -MT slsmg.o -MD -MP -MF ".deps/slsmg.Tpo" -c - 
> o slsmg.o slsmg.c; \
> then mv -f ".deps/slsmg.Tpo" ".deps/slsmg.Po"; else rm -f ".deps/ 
> slsmg.Tpo"; exit 1; fi
> slsmg.c:76: error: `SLtt_Has_Alt_Charset' undeclared here (not in a  
> function)
> slsmg.c:78: error: `SLtt_Use_Blink_For_ACS' undeclared here (not in a  
> function)
> make[2]: *** [slsmg.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

Huh? You are now reporting the issue that was fixed by the patch I
pointed you to
(http://cvs.savannah.gnu.org/viewcvs/mc/slang/include/slang.h?root=mc&r1=1.9&r2=1.10).

What I guess you do want to discuss is this (see my forwarded mail):

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -DDATADIR=\""/Users/russ/Desktop/ 
mc-4.6.1/share/mc/"\" -DLOCALEDIR=\""/Users/russ/Desktop/mc-4.6.1/ 
share/locale"\" -I../intl -I../intl  -I/usr/local/include/glib-1.2 -I/ 
usr/local/lib/glib/include -g -O2-MT mountlist.o -MD -MP -MF ".deps/ 
mountlist.Tpo" -c -o mountlist.o mountlist.c; \
then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f  
".deps/mountlist.Tpo"; exit 1; fi
mountlist.c: In function `get_fs_usage':
mountlist.c:772: error: storage size of `fsd' isn't known
make[2]: *** [mountlist.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

> Can anyone help or shed some light on this?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Problem in compiling in OS X `0.4

2006-01-28 Thread Russ Urquhart


Hi,

Leonard den Ottolander suggested that i submit this to the  
development list, and that they maybe able to help.


I had previously compiled 4.6.0 under an earlier version of OS X  
without any probs.


I got the following when i tried to compile 4.6.1 under Tiger:

Making all in slang
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I./include -I../intl -I../intl   
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include - 
D_INTL_REDIRECT_MACROS -MT slsmg.o -MD -MP -MF ".deps/slsmg.Tpo" -c - 
o slsmg.o slsmg.c; \
then mv -f ".deps/slsmg.Tpo" ".deps/slsmg.Po"; else rm -f ".deps/ 
slsmg.Tpo"; exit 1; fi
slsmg.c:76: error: `SLtt_Has_Alt_Charset' undeclared here (not in a  
function)
slsmg.c:78: error: `SLtt_Use_Blink_For_ACS' undeclared here (not in a  
function)

make[2]: *** [slsmg.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Can anyone help or shed some light on this?

Thanks

Russ
___
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [patch] allow seeking in linear files

2006-01-28 Thread Pavel Tsekov
On Sat, 28 Jan 2006, Jindrich Makovicka wrote:

> Pavel Tsekov wrote:
> > On Fri, 20 Jan 2006, Jindrich Makovicka wrote:
> >
> >
> >>this patch adds an ability to seek in linear files before the first read
> >>operation. It is achieved by postponing the actual opening to
> >>linear_read() call. The main reason of this is to make ftpfs' reget
> >>function work again.
> >>
> >>Modification for fish to work with this change, and a minor fix of the
> >>ftpfs copy status display is included.
> >
> >
> > I've commited your patch with minor changes. Next time, please, provide
> > a changelog.
> >
> > Thanks!
>
> Sorry, but I just found that one of your changes breaks linear open on
> random access files. Now, eg. the content of tar files is unaccessible.
> The attached patch should fix it.

I've restored the old behaviour.

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [PATCH] Add a command line switch to disable X11 connection

2006-01-28 Thread Pavel Tsekov
On Sat, 28 Jan 2006, Leonard den Ottolander wrote:

> On Sat, 2006-01-28 at 16:21 +0200, Pavel Tsekov wrote:
> > Well, that's obvious - because it is not in the patch. When I submit a
> > patch am I supposed to post diff containg all my changes ?
>
> If they are related to the patch that would be convenient IMO. It avoids
> questions whether you intended to fix that part (documentation) as well.

So the first question which comes to mind when you see the patch is - "Is
it documented" ? I'll resubmit once I resolve the issue which Jindrich
Makovicka reported.
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [PATCH] Add a command line switch to disable X11 connection

2006-01-28 Thread Leonard den Ottolander
Hi Pavel,

On Sat, 2006-01-28 at 16:21 +0200, Pavel Tsekov wrote:
> Well, that's obvious - because it is not in the patch. When I submit a
> patch am I supposed to post diff containg all my changes ?

If they are related to the patch that would be convenient IMO. It avoids
questions whether you intended to fix that part (documentation) as well.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [bug #15524] 2GB file size limit in fish

2006-01-28 Thread Leonard den Ottolander
Hi Pavel,

On Sat, 2006-01-28 at 16:25 +0200, Pavel Tsekov wrote:
> > > http://mail.gnome.org/archives/mc-devel/2005-August/msg00106.html
> 
> The patch that you commited assumes that off_t is big enough to hold file
> sizes bigger than 2GB. Whatever...

Isn't it always? The patch you refer to seems to make the same
assumption.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [bug #15524] 2GB file size limit in fish

2006-01-28 Thread Pavel Tsekov
On Sat, 28 Jan 2006, Leonard den Ottolander wrote:

> On Sat, 2006-01-28 at 10:47 +0200, Pavel Tsekov wrote:
> > On Sat, 28 Jan 2006, Pavel Tsekov wrote:
> >
> > > On Fri, 27 Jan 2006, anonymous wrote:
> > >
> > > > Follow-up Comment #1, bug #15524 (project mc):
> > > >
> > > > A patch has just been submitted to the debian BTS.
> > >
> > > Leonard, please, do not commit patches blindly. This might be instructive:
> > >
> > > http://cvs.savannah.gnu.org/viewcvs/mc/src/filegui.c?root=mc&sortby=date&r2=1.56&r1=1.55&diff_format=u
> > >
> > > The whole vfs thing is broken in regard off_t so it should be fixed - not
> > > any single manifest of the bug. If you search this archive you'll see
> > > similiar problem with tar archives.
> >
> >
> > Here:
> >
> > http://mail.gnome.org/archives/mc-devel/2005-August/msg00106.html
>
> Please go ahead and fix this more globally. The patch in the message
> above certainly has lingered. But the fish fix seemed rather localized
> and if I compare with the patch in the message above it looks as if both
> patches are supplemental.

The patch that you commited assumes that off_t is big enough to hold file
sizes bigger than 2GB. Whatever...

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [PATCH] Add a command line switch to disable X11 connection

2006-01-28 Thread Pavel Tsekov
On Sat, 28 Jan 2006, Leonard den Ottolander wrote:

> On Sat, 2006-01-28 at 12:06 +0200, Pavel Tsekov wrote:
> > On Sat, 28 Jan 2006, Roland Illig wrote:
> > > You forgot to change the documentation in doc/mc.1.in. Besides that, it
> > > looks fine.
> >
> > Are you sure that I didn't change it ?
>
> ? There's nothing in the patch that I can see...

Well, that's obvious - because it is not in the patch. When I submit a
patch am I supposed to post diff containg all my changes ? I wanted to
hear opinions on the patch...

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [patch] allow seeking in linear files

2006-01-28 Thread Pavel Tsekov
On Sat, 28 Jan 2006, Jindrich Makovicka wrote:

> Pavel Tsekov wrote:
> > On Fri, 20 Jan 2006, Jindrich Makovicka wrote:
> >
> >
> >>this patch adds an ability to seek in linear files before the first read
> >>operation. It is achieved by postponing the actual opening to
> >>linear_read() call. The main reason of this is to make ftpfs' reget
> >>function work again.
> >>
> >>Modification for fish to work with this change, and a minor fix of the
> >>ftpfs copy status display is included.
> >
> >
> > I've commited your patch with minor changes. Next time, please, provide
> > a changelog.
> >
> > Thanks!
>
> Sorry, but I just found that one of your changes breaks linear open on
> random access files. Now, eg. the content of tar files is unaccessible.
> The attached patch should fix it.

Breaks what ? Even the old code returned error if there is no linear
start and linear transfer is requested... Can you give an example of the
breakage you see ?

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [bug #4327] ftpfs confused by certain directory names

2006-01-28 Thread Leonard den Ottolander
Hi Roland,

On Sat, 2006-01-28 at 14:58 +0100, Roland Illig wrote:
> Just another idea: We could use the NLST command to only list the names 
> of the files and later check for them in the LIST command. This would 
> make it possible to deal with all but filenames containing "\r\n".
> 
> This task is non-trivial to get optimal, but we could at least try ...

I'm not sure if it is worth the effort at this time. With the assumption
that the date field contains 3 elements we can already establish where
the file name starts.

Afaict there are no practical cases where vfs_parse_filedate() needs to
parse dates with 4 elements. If there were we either have to add an
option to vfs_parse_filedate() to distinguish between 3 or 4 element
dates or we should write an extra function vfs_parse_filedate4().

No need to add the extra overhead of an extra command. Also isn't NLST
an FTP specific command? The function is called vfs_parse_filedate() not
ftp_parse_filedate() as it is supposed to be usable by other vfses as
well.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [bug #4327] ftpfs confused by certain directory names

2006-01-28 Thread Leonard den Ottolander
Hi Pavel,

On Sat, 2006-01-28 at 10:34 +0200, Pavel Tsekov wrote:
> To avoid this in the future, please, give a patch some time and discuss it
> first on the devel list.

Yes, that would have been best, but this issue and it's ins and outs
have been discussed months ago and only Roland joined the discussion.
>From that discussion it became clear to me that limiting accepted input
is the only solution to fix this issue (as distinguishing between spaces
in names and as field separators is impossible). I'd been using the
patch for over a month now with no apparent problems, it's rather
straight forward (don't attempt to parse a fourth date element) so I
didn't think this needed any more discussion. I finally had time to
commit it but Roland beat me to it literally a couple of minutes. But
it's probably better to see some development and an occasional trod on a
toe than no development at all don't you agree?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [patch] allow seeking in linear files

2006-01-28 Thread Jindrich Makovicka
Pavel Tsekov wrote:
> On Fri, 20 Jan 2006, Jindrich Makovicka wrote:
> 
> 
>>this patch adds an ability to seek in linear files before the first read
>>operation. It is achieved by postponing the actual opening to
>>linear_read() call. The main reason of this is to make ftpfs' reget
>>function work again.
>>
>>Modification for fish to work with this change, and a minor fix of the
>>ftpfs copy status display is included.
> 
> 
> I've commited your patch with minor changes. Next time, please, provide
> a changelog.
> 
> Thanks!

Sorry, but I just found that one of your changes breaks linear open on
random access files. Now, eg. the content of tar files is unaccessible.
The attached patch should fix it.

Regards,
-- 
Jindrich Makovicka

Index: direntry.c
===
RCS file: /sources/mc/mc/vfs/direntry.c,v
retrieving revision 1.120
diff -u -r1.120 direntry.c
--- direntry.c  25 Jan 2006 14:04:27 -  1.120
+++ direntry.c  28 Jan 2006 14:04:03 -
@@ -780,7 +780,8 @@
if (MEDATA->linear_start) {
print_vfs_message (_("Starting linear transfer..."));
fh->linear = LS_LINEAR_PREOPEN;
-   } else {
+   } else if ((MEDATA->fh_open)
+  && (MEDATA->fh_open (me, fh, flags, mode))) {
g_free (fh);
ERRNOR (ENOSYS, NULL);
}

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [PATCH] Add a command line switch to disable X11 connection

2006-01-28 Thread Leonard den Ottolander
Hi Pavel,

On Sat, 2006-01-28 at 12:06 +0200, Pavel Tsekov wrote:
> On Sat, 28 Jan 2006, Roland Illig wrote:
> > You forgot to change the documentation in doc/mc.1.in. Besides that, it
> > looks fine.
> 
> Are you sure that I didn't change it ?

? There's nothing in the patch that I can see...

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [bug #4327] ftpfs confused by certain directory names

2006-01-28 Thread Roland Illig

Leonard den Ottolander wrote:

Follow-up Comment #5, bug #4327 (project mc):

The third paragraph in comment #4 is a incorrect combination of 2 thoughts.
What I meant to say is:

1) We can't determinate whether the date string is 3 or 4 fields long if the
file name contains spaces so we need to fix our input vfs_parse_filedate(). A
different function is needed if we know the date field has 4 elements.

2) If we want to be able to parse uids and gids with spaces in them we need
to use a non-sequential parsing algorithm (look for date field first and work
forward and backward from there). Currently uids and gids are supposed to be
numerical so we don't have such a problem.


Just another idea: We could use the NLST command to only list the names 
of the files and later check for them in the LIST command. This would 
make it possible to deal with all but filenames containing "\r\n".


This task is non-trivial to get optimal, but we could at least try ...

Roland
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [bug #15524] 2GB file size limit in fish

2006-01-28 Thread Leonard den Ottolander
Hi Pavel,

On Sat, 2006-01-28 at 10:47 +0200, Pavel Tsekov wrote:
> On Sat, 28 Jan 2006, Pavel Tsekov wrote:
> 
> > On Fri, 27 Jan 2006, anonymous wrote:
> >
> > > Follow-up Comment #1, bug #15524 (project mc):
> > >
> > > A patch has just been submitted to the debian BTS.
> >
> > Leonard, please, do not commit patches blindly. This might be instructive:
> >
> > http://cvs.savannah.gnu.org/viewcvs/mc/src/filegui.c?root=mc&sortby=date&r2=1.56&r1=1.55&diff_format=u
> >
> > The whole vfs thing is broken in regard off_t so it should be fixed - not
> > any single manifest of the bug. If you search this archive you'll see
> > similiar problem with tar archives.
> 
> 
> Here:
> 
> http://mail.gnome.org/archives/mc-devel/2005-August/msg00106.html

Please go ahead and fix this more globally. The patch in the message
above certainly has lingered. But the fish fix seemed rather localized
and if I compare with the patch in the message above it looks as if both
patches are supplemental.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[bug #4327] ftpfs confused by certain directory names

2006-01-28 Thread Leonard den Ottolander

Follow-up Comment #5, bug #4327 (project mc):

The third paragraph in comment #4 is a incorrect combination of 2 thoughts.
What I meant to say is:

1) We can't determinate whether the date string is 3 or 4 fields long if the
file name contains spaces so we need to fix our input vfs_parse_filedate(). A
different function is needed if we know the date field has 4 elements.

2) If we want to be able to parse uids and gids with spaces in them we need
to use a non-sequential parsing algorithm (look for date field first and work
forward and backward from there). Currently uids and gids are supposed to be
numerical so we don't have such a problem.


___

Reply to this item at:

  

___
  Message sent via/by Savannah
  http://savannah.gnu.org/

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: Pascal Syntax

2006-01-28 Thread Leonard den Ottolander
Hi Pavel,

On Sat, 2006-01-28 at 10:24 +0200, Pavel Tsekov wrote:
> > I'm not sure of the official capitalization of pascal (all lower case I
> > would say). Also I was wondering if entries like
> > [Ee][Ll][Ss][Ee]
> > wouldn't be more appropriate instead of
> > else
> > Else
> > ELSE
> 
> If you feel like changing it you are free to do so...

No, no, no! All I was contemplating was to ask the original submitter
(Barend) to do so ;) .

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research


___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: accels busted

2006-01-28 Thread Oswald Buddenhagen
On Sat, Jan 28, 2006 at 02:24:25AM +0100, Roland Illig wrote:
> To fix this issue, I suggest the appended patch to be applied.
> 
the patch works halfways: the menu item is activated, but it does not
drop down ...

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [PATCH] Add a command line switch to disable X11 connection

2006-01-28 Thread Roland Illig

Pavel Tsekov wrote:

On Sat, 28 Jan 2006, Roland Illig wrote:



Pavel Tsekov wrote:


The patch is pretty simple. Comments, etc are much appreciated.


You forgot to change the documentation in doc/mc.1.in. Besides that, it
looks fine.



Are you sure that I didn't change it ?


From what I can read in your patch, yes. If you changed it locally, 
please include it in the patch next time.


Roland
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [PATCH] Add a command line switch to disable X11 connection

2006-01-28 Thread Pavel Tsekov
On Sat, 28 Jan 2006, Roland Illig wrote:

> Pavel Tsekov wrote:
> > The patch is pretty simple. Comments, etc are much appreciated.
>
> You forgot to change the documentation in doc/mc.1.in. Besides that, it
> looks fine.

Are you sure that I didn't change it ?
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [PATCH] Add a command line switch to disable X11 connection

2006-01-28 Thread Roland Illig

Pavel Tsekov wrote:

The patch is pretty simple. Comments, etc are much appreciated.


You forgot to change the documentation in doc/mc.1.in. Besides that, it 
looks fine.


Roland
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[patch #4741] Syntax Support for config files (conf,ini,cfg,...)

2006-01-28 Thread Roland Illig

Update of patch #4741 (project mc):

  Status:None => Need Info  
 Assigned to:None => rillig 

___

Follow-up Comment #1:

This patch doesn't use the coloring theme that has been established by the
other syntax files, in which green is used for string literals, and brown for
comments.

Can you please add some comments to the conf.syntax file, explaining which
types of configuration files need the ;; highlighted in red? Currently it
looks like if you have made the assumption that all config files look like
shell scripts. That's far too specialized.

Roland


___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[PATCH] Add a command line switch to disable X11 connection

2006-01-28 Thread Pavel Tsekov
The patch is pretty simple. Comments, etc are much appreciated.
Index: src/main.c
===
RCS file: /cvsroot/mc/mc/src/main.c,v
retrieving revision 1.363
diff -u -p -r1.363 main.c
--- src/main.c  2 Nov 2005 11:50:52 -   1.363
+++ src/main.c  28 Jan 2006 09:39:49 -
@@ -274,6 +277,10 @@ char *mc_home = NULL;
 
 char cmd_buf[512];
 
+#ifdef HAVE_TEXTMODE_X11_SUPPORT
+int ignore_window_system = 0;
+#endif
+
 static void
 reload_panelized (WPanel *panel)
 {
@@ -1956,6 +1964,10 @@ static const struct poptOption argument_
  N_("Displays this help message"), NULL},
 {"version", 'V', POPT_ARG_NONE, NULL, 'V',
  N_("Displays the current version"), NULL},
+#ifdef HAVE_TEXTMODE_X11_SUPPORT
+{"no-x", '\0', POPT_ARG_NONE, &ignore_window_system, 0,
+ N_("Do not use the X Window System"), NULL},
+#endif
 
 /* terminal options */
 {"xterm", 'x', POPT_ARG_NONE, &force_xterm, 0,
Index: src/main.h
===
RCS file: /cvsroot/mc/mc/src/main.h,v
retrieving revision 1.62
diff -u -p -r1.62 main.h
--- src/main.h  5 Sep 2005 02:10:48 -   1.62
+++ src/main.h  28 Jan 2006 09:39:49 -
@@ -69,6 +70,9 @@ extern int output_starts_shell;
 extern int midnight_shutdown;
 extern char cmd_buf [512];
 extern const char *shell;
+#ifdef HAVE_TEXTMODE_X11_SUPPORT
+extern int ignore_window_system;
+#endif
 
 /* Ugly hack in order to distinguish between left and right panel in menubar */
 extern int is_right;   /* If the selected menu was the right */
Index: src/key.c
===
RCS file: /cvsroot/mc/mc/src/key.c,v
retrieving revision 1.86
diff -u -p -r1.86 key.c
--- src/key.c   7 Jan 2006 12:49:08 -   1.86
+++ src/key.c   28 Jan 2006 09:39:49 -
@@ -408,6 +408,9 @@ static Window x11_window;
 static void
 init_key_x11 (void)
 {
+if (ignore_window_system)
+   return;
+
 if (!getenv ("DISPLAY"))
return;
 
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[bug #15057] Feature request, please add support for dar archives

2006-01-28 Thread Roland Illig

Update of bug #15057 (project mc):

Category:None => VFS


___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[bug #15461] vfs/extf for rpm/trpm query obsolete rpm tags

2006-01-28 Thread Roland Illig

Update of bug #15461 (project mc):

Category:None => VFS


___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[bug #10557] [PATCH] makes brief listing mode selectable with ALT+T

2006-01-28 Thread Roland Illig

Update of bug #10557 (project mc):

  Status:None => Fixed  
 Assigned to:None => rillig 
 Open/Closed:Open => Closed 

___

Follow-up Comment #1:

Fixed in the current development version. Thanks for the patch.


___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


[bug #11951] [RFE] Show size of all files in directory

2006-01-28 Thread Roland Illig

Update of bug #11951 (project mc):

Category:  Editor => Core   
  Status:None => Fixed  
 Assigned to:None => rillig 
 Open/Closed:Open => Closed 

___

Follow-up Comment #5:

This feature exists in the current development version. Press C-space.


___

Reply to this item at:

  

___
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [bug #15524] 2GB file size limit in fish

2006-01-28 Thread Pavel Tsekov
On Sat, 28 Jan 2006, Pavel Tsekov wrote:

> On Fri, 27 Jan 2006, anonymous wrote:
>
> > Follow-up Comment #1, bug #15524 (project mc):
> >
> > A patch has just been submitted to the debian BTS.
>
> Leonard, please, do not commit patches blindly. This might be instructive:
>
> http://cvs.savannah.gnu.org/viewcvs/mc/src/filegui.c?root=mc&sortby=date&r2=1.56&r1=1.55&diff_format=u
>
> The whole vfs thing is broken in regard off_t so it should be fixed - not
> any single manifest of the bug. If you search this archive you'll see
> similiar problem with tar archives.


Here:

http://mail.gnome.org/archives/mc-devel/2005-August/msg00106.html
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [bug #15524] 2GB file size limit in fish

2006-01-28 Thread Pavel Tsekov
On Fri, 27 Jan 2006, anonymous wrote:

> Follow-up Comment #1, bug #15524 (project mc):
>
> A patch has just been submitted to the debian BTS.

Leonard, please, do not commit patches blindly. This might be instructive:

http://cvs.savannah.gnu.org/viewcvs/mc/src/filegui.c?root=mc&sortby=date&r2=1.56&r1=1.55&diff_format=u

The whole vfs thing is broken in regard off_t so it should be fixed - not
any single manifest of the bug. If you search this archive you'll see
similiar problem with tar archives.

I plan to fix this if noone beats me.

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: [bug #4327] ftpfs confused by certain directory names

2006-01-28 Thread Pavel Tsekov

On Fri, 27 Jan 2006, Leonard den Ottolander wrote:

> Roland, I'll revert your patch if you don't mind.

To avoid this in the future, please, give a patch some time and discuss it
first on the devel list.

___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel


Re: accels busted

2006-01-28 Thread Pavel Tsekov
On Sat, 28 Jan 2006, Roland Illig wrote:

> Pavel Tsekov wrote:
> > It would be nice if Roland joined the discussion...
>
> Yes, he really should. After all, it's him who broke mc all the time.
> Who's going to ask him?

Are you complaining now ? Ask you what ? You had plenty of time to comment
on this issue (~5 months).
___
Mc-devel mailing list
http://mail.gnome.org/mailman/listinfo/mc-devel