(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.
This commit is contained in:
parent
71a0ece0aa
commit
dc9ce448db
1 changed files with 4 additions and 2 deletions
|
@ -14,7 +14,7 @@ empire \- Empire client
|
||||||
.BI \-k
|
.BI \-k
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
.BI \-2\ outfile
|
.BI \-2 outfile
|
||||||
]
|
]
|
||||||
.br
|
.br
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
@ -38,7 +38,7 @@ the password for your country in the game
|
||||||
.BI \-k
|
.BI \-k
|
||||||
if someone else is connected to your country, kill their connection
|
if someone else is connected to your country, kill their connection
|
||||||
.TP
|
.TP
|
||||||
.BI \-2\ outfile
|
.BI \-2 outfile
|
||||||
redirect output to
|
redirect output to
|
||||||
.I outfile
|
.I outfile
|
||||||
.SH ENVIRONMENT VARIABLES
|
.SH ENVIRONMENT VARIABLES
|
||||||
|
@ -51,6 +51,8 @@ you should have the right default already.)
|
||||||
setenv COUNTRY country-name (optional)
|
setenv COUNTRY country-name (optional)
|
||||||
.PP
|
.PP
|
||||||
setenv PLAYER representative-name (optional)
|
setenv PLAYER representative-name (optional)
|
||||||
|
.PP
|
||||||
|
setenv LOGNAME username (optional)
|
||||||
.SH AUTHORS
|
.SH AUTHORS
|
||||||
.nf
|
.nf
|
||||||
Primary Author is Dave Pare (mr-frog@scam.berkeley.edu)
|
Primary Author is Dave Pare (mr-frog@scam.berkeley.edu)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue