From dc9ce448db542483d63ea0d503c32bf1adda5ad9 Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Sun, 19 Dec 2004 18:17:56 +0000 Subject: [PATCH] (main, termio): Add the ability to set the username. Get it from environment variable LOGNAME if set, else get the user name from the system. (main) [_DWIN32]: Add stdin redirection ability to the Win32 port. The client reads until stdin redirection empty and then terminates. --- man/emp_client.6 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/man/emp_client.6 b/man/emp_client.6 index c9bc2f02..7ed06564 100644 --- a/man/emp_client.6 +++ b/man/emp_client.6 @@ -14,7 +14,7 @@ empire \- Empire client .BI \-k ] [ -.BI \-2\ outfile +.BI \-2 outfile ] .br .SH DESCRIPTION @@ -38,7 +38,7 @@ the password for your country in the game .BI \-k if someone else is connected to your country, kill their connection .TP -.BI \-2\ outfile +.BI \-2 outfile redirect output to .I outfile .SH ENVIRONMENT VARIABLES @@ -51,6 +51,8 @@ you should have the right default already.) setenv COUNTRY country-name (optional) .PP setenv PLAYER representative-name (optional) +.PP +setenv LOGNAME username (optional) .SH AUTHORS .nf Primary Author is Dave Pare (mr-frog@scam.berkeley.edu)