Index: ord.c ================================================================== --- ord.c +++ ord.c @@ -12,11 +12,15 @@ * you're on a UNIX system, POSIX primitives * will be used by default, but you can block * them with LIBC or force them with POSIX. * if you are on a POSIX- compliant system, * you *should* use POSIX IO, for improved - * performance and safety. */ + * performance and safety. + + TODO: take full advantage of write(2) by storing + output in single string & making single + write call */ #if (defined(__unix__) && _IO != LIBC) || (_IO == POSIX) # define _POSIX_IO #endif Index: xpriv.c ================================================================== --- xpriv.c +++ xpriv.c @@ -20,12 +20,12 @@ * does this by first checking for the existence of a * shared memory segment. if it doesn't find it, it * starts a new session; if it *does* find it, it * retrieves the X11 window ID from that shared memory * and sends a _NET_ACTIVE_WINDOW client message to the - * root X window. the window manager interprets message, - * activating the window. + * root X window. the window manager interprets the + * message, activating the window. * * the flag -k can also be passed, in which case the * utility instructs the running process to liquidate its * subprocesses and exit itself. * @@ -33,11 +33,11 @@ * new instance of urxvt. this instance is told to run * the command “xpriv -a” instead of the user’s normal * shell. the -a flag instructs xpriv to get the terminal * window’s ID from the $WINDOWID environment variable * which urxvt sets. after this, a ssh-agent process is - * launched. spriv waits until it has opened a socket and + * launched. xpriv waits until it has opened a socket and * then runs ssh-add without parameters to add the user's * default keys to the session. * * after a success key-add has been confirmed, xpriv * marks the window as “vital” by setting the X property