From c87595c99452f26d1c8e626d50e2f56f5cf84b0a Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Thu, 2 Jan 2003 17:47:40 +0000 Subject: [PATCH] Default to $P$G prompt. Make width of date 10 characters to align date column with DATE_SHORTDATE format. --- programs/wcmd/directory.c | 4 ++-- programs/wcmd/wcmdmain.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/wcmd/directory.c b/programs/wcmd/directory.c index b25dbe15123..061ccaada6d 100644 --- a/programs/wcmd/directory.c +++ b/programs/wcmd/directory.c @@ -254,7 +254,7 @@ ULARGE_INTEGER byte_count, file_size; dir_count++; if (!bare) { - WCMD_output ("%8s %8s %s\n", + WCMD_output ("%10s %8s %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++; diff --git a/programs/wcmd/wcmdmain.c b/programs/wcmd/wcmdmain.c index 7f41c2d07fe..7cb495bb7a2 100644 --- a/programs/wcmd/wcmdmain.c +++ b/programs/wcmd/wcmdmain.c @@ -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;