wcmd patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* programs/wcmd/wcmdmain.c, directory.c:
Chris Morgan <cmorgan@alum.wpi.edu>
Default to $P$G prompt.  Make width of date 10 characters to align date
column with DATE_SHORTDATE format.

Index: programs/wcmd/directory.c
===================================================================
RCS file: /home/wine/wine/programs/wcmd/directory.c,v
retrieving revision 1.13
diff -u -r1.13 directory.c
--- programs/wcmd/directory.c	28 Oct 2002 23:54:08 -0000	1.13
+++ programs/wcmd/directory.c	24 Dec 2002 05:38:51 -0000
@@ -254,7 +254,7 @@
       dir_count++;
 
       if (!bare) {
-         WCMD_output ("%8s  %8s   <DIR>        %s\n",
+         WCMD_output ("%10s  %8s  <DIR>         %s\n",
       	     datestring, timestring, (fd+i)->cFileName);
          linesout++;
       } else {
@@ -276,7 +276,7 @@
 #endif
       byte_count.QuadPart += file_size.QuadPart;
 	  if (!bare) {
-         WCMD_output ("%8s  %8s    %10s  %s\n",
+         WCMD_output ("%10s  %8s    %10s  %s\n",
      	     datestring, timestring,
 	         WCMD_filesize64(file_size.QuadPart), (fd+i)->cFileName);
          linesout++;
Index: programs/wcmd/wcmdmain.c
===================================================================
RCS file: /home/wine/wine/programs/wcmd/wcmdmain.c,v
retrieving revision 1.19
diff -u -r1.19 wcmdmain.c
--- programs/wcmd/wcmdmain.c	11 Dec 2002 00:15:20 -0000	1.19
+++ programs/wcmd/wcmdmain.c	24 Dec 2002 05:38:51 -0000
@@ -432,7 +432,7 @@
 
   status = GetEnvironmentVariable ("PROMPT", prompt_string, sizeof(prompt_string));
   if ((status == 0) || (status > sizeof(prompt_string))) {
-    lstrcpy (prompt_string, "$N$G");
+    lstrcpy (prompt_string, "$P$G");
   }
   p = prompt_string;
   q = out_string;

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux