add -W to specify window size.

various other little fixes.
This commit is contained in:
rsc 2004-04-29 17:13:24 +00:00
parent 3d72637f9b
commit be36ff6885
36 changed files with 332 additions and 304 deletions

View file

@ -186,7 +186,7 @@ Cursor whitearrow = {
void
usage(void)
{
fprint(2, "usage: 9term [-ars] [cmd ...]\n");
fprint(2, "usage: 9term [-ars] [-W winsize] [cmd ...]\n");
threadexitsall("usage");
}
@ -215,6 +215,9 @@ threadmain(int argc, char *argv[])
case 'w': /* started from "rio" window manager */
use9wm = 1;
break;
case 'W':
winsize = EARGF(usage());
break;
}ARGEND
if(font)