This commit is contained in:
Russ Cox 2005-12-29 23:07:19 +00:00
parent 176f1fa82e
commit 3c84c725ef
2 changed files with 10 additions and 11 deletions

1
README
View File

@ -23,6 +23,7 @@ SOURCE
------
Use CVS: cvs -d :pserver:anoncvs@cvs.pdos.csail.mit.edu:/cvs co drawterm
On the web at http://cvs.pdos.csail.mit.edu/cvs/drawterm
In the Plan 9 distribution: /sys/src/cmd/unix/drawterm
TO DO:
------

20
cpu.c
View File

@ -99,7 +99,7 @@ mountfactotum(void)
void
cpumain(int argc, char **argv)
{
char dat[MaxStr], buf[MaxStr], cmd[MaxStr], *err, *secstoreserver, *s;
char dat[MaxStr], buf[MaxStr], cmd[MaxStr], *err, *secstoreserver, *p, *s;
int fd, ms, data;
/* see if we should use a larger message size */
@ -125,28 +125,26 @@ cpumain(int argc, char **argv)
case 'a':
authserver = EARGF(usage());
break;
case 'c':
system = EARGF(usage());
break;
case 'd':
dbg++;
break;
case 'e':
ealgs = EARGF(usage());
if(*ealgs == 0 || strcmp(ealgs, "clear") == 0)
ealgs = nil;
break;
case 'd':
dbg++;
break;
case 'c':
system = EARGF(usage());
break;
/*
case 'c':
case 'C':
cflag++;
cmd[0] = '!';
cmd[1] = '\0';
while(p = ARGF()) {
while((p = ARGF()) != nil) {
strcat(cmd, " ");
strcat(cmd, p);
}
break;
*/
case 'k':
keyspec = EARGF(usage());
break;