mc.ini and syntax files with white background

2002-03-27 Thread Christian Gennerat

The standard colour schema in mc matches with a blue background.

Do some users prefer a White (or sand, papayawhip) background
and have a complete set of mc.ini and syntax files for this background ?
___
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel



mc.ini and syntax files with white background

2002-03-26 Thread Christian Gennerat

The standard colour schema in mc matches with a blue background.

Do some users prefer a White (or sand, papayawhip) background
and have a complete set of mc.ini and syntax files for this background ?


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



Re: vfs.c Could not parse

2001-09-28 Thread Christian Gennerat

Andrew V. Samoilov a écrit :

  The table in
  static int
  is_month (char *str, struct tm *tim)
  {
  static char *month = JanFebMarAprMayJunJulAugSepOctNovDec;
 
  is obviously an English table, and is good for most servers.

 Some time ago we discussed this.  Then extended ftpfs URL with
 locale specifiacation was proposed.  But it does not cure if you
 have not required locale installed on your system.

 Another way is to add possibility learn ftpfs about such locales.
 But it seems noone in the team has wish and time (in such order)
 to implement this feature.

Is there something about this in the FTP spec ?
I have solved the problem by commenting the line
#LC_TIME=fr.ISO8859-15
in the solaris machine (general environment).

I looked in my linux box:
When I do ls -la in a console, I have the french date
When ProFTP does ls -la, it prints the international date.
So I think that Solaris FTP has to do:
setenv LC_ALL=C; ls -la $dir

It is easier to do than a code like this in vfs.c
/* Month name */
if(is_month(p, tim)
#IFDEF ACCEPT_TIME_FR
 ||is_month_fr(p, tim)
#ENDIF
#IFDEF ACCEPT_TIME_RU
 ||is_month_ru(p, tim)
#ENDIF
){

and it can be very long...
and is_month_fr will accept jan fév mars avr mai juin juil
on some locales (Solaris), or jan fév mar avr mai jun jul
on others.





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



vfs.c Could not parse

2001-09-27 Thread Christian Gennerat

220 xxx FTP server (SunOS 5.7) ready.

This FTP server outputs the file dates with Frech format:

150 ASCII data connection for /bin/ls (139.54.66.187,1071) (0 bytes).
total 15740
drwxr-xr-x   6 root other512 sep  26 16:52 .
drwxr-xr-x   3 root other512 sep  25 14:43 ..
drwxr-xr-x  13 root other512 sep  26 15:23 apache
drwxrwsr-x  28 root bin 1024 fév   8  2001 ghost
drwxr-xr-x   5 999  999  512 nov  27  2000 perl560
drwxr-xr-x   9 999  999  512 nov   3  2000 tomcat
-rw-r--r--   1 root other8042496 sep  26 16:51 TOMCAT.03.01.sol.tar
226 ASCII Transfer complete.

The table in
static int
is_month (char *str, struct tm *tim)
{
static char *month = JanFebMarAprMayJunJulAugSepOctNovDec;

is obviously an English table, and is good for most servers.
what can we do ?


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



vfs/ftpfs New feature on Solaris 2.7

2001-09-27 Thread Christian Gennerat

# ls -la /etc | grep '^D'
Dr--r--r--   1 root root   0 Sep 25 12:49 .name_service_door
Drw-r--r--   1 root root   0 Sep 25 12:49 .syslog_door
#

This causes a parse error.

man ls

The mode printed under the -l option consists of ten charac-
 ters. The first character may be one of the following:

 d the entry is a directory;

 D the entry is a door;

 l the entry is a symbolic link;

 -FMark directories with a trailing slash (/),  doors
   with  a trailing greater-than sign (), executable
   files with a trailing asterisk (*), FIFOs  with  a
   trailing  vertical  bar (|), symbolic links with a
   trailing at-sign (@), and AF_UNIX  address  family
   sockets with a trailing equals sign (=).


man door_info
Miscellaneous Library Functions door_info(3X)

NAME
 door_info  -  return  information  associated  with  a  door
 descriptor

SYNOPSIS
 cc  [ flag ... ] file ... -ldoor [ library ... ]
 #include door.h

 int door_info(int d, struct door_info *info);

DESCRIPTION
 The  door_info()  function  returns  information  associated
 with  a  door  descriptor.  It obtains information about the
 door  descriptor  d  and  places  the  information  that  is
 relevant to the door in the structure pointed to by the info
 argument.

 The structure pointed to by the info argument  contains  the
 following members:

 pid_t   di_target;  /* door server pid */
 door_ptr_t  di_proc;/* server function */
 door_ptr_t  di_data;/* data cookie for invocation */
 door_attr_t di_attributes;  /* door attributes */
 door_id_t   di_uniquifier;  /* unique id among all doors */

 The di_target member is the process ID of the  door  server,
 or -1 if the door server process has exited.

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



Re: vfs/ftpfs New feature on Solaris 2.7

2001-09-27 Thread Christian Gennerat

Andrew V. Samoilov@gnome.org, [EMAIL PROTECTED] a écrit :

 Index: vfs.c
 ===
 RCS file: /home/sav/.cvsroot/mc/vfs/vfs.c,v
 retrieving revision 1.60
 diff -u -p -r1.60 vfs.c
 --- vfs.c   25 May 2000 18:00:34 -  1.60
 +++ vfs.c   27 Sep 2001 12:18:48 -
 @@ -1439,9 +1442,10 @@ vfs_parse_filetype (char c)
   return S_IFSOCK;
  #endif
  case 'p': return S_IFIFO;
 +   case 'D': /* Solaris door */
  case 'm': case 'n':/* Don't know what these are :-) */
  case '-': case '?': return S_IFREG;
  default: return -1;
  }
  }


 ___

Good.
with C-x c permissions displayed are 100444


With, http://www.linux.zp.ua:8101/mc/vfs.c.patch
I got an error 500, because port 8101 is filtered by my corporate's firewall
as it has been for a long time for gnome.org/mc



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