Default to $P$G prompt. Make width of date 10 characters to align

date column with DATE_SHORTDATE format.
This commit is contained in:
Chris Morgan 2003-01-02 17:47:40 +00:00 committed by Alexandre Julliard
parent 761dc0d626
commit c87595c994
2 changed files with 3 additions and 3 deletions

View File

@ -254,7 +254,7 @@ ULARGE_INTEGER byte_count, file_size;
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 @@ ULARGE_INTEGER byte_count, file_size;
#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++;

View File

@ -432,7 +432,7 @@ char *p, *q;
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;