* rx.c
@ 1996-02-24 20:49 Scott
0 siblings, 0 replies; only message in thread
From: Scott @ 1996-02-24 20:49 UTC (permalink / raw)
Here's a slight improvement to rx.c, allowing you to set the
remote username for tcpexec.
term% diff rx.c /sys/src/cmd
5d4
< char *ruser = 0;
35,37d33
< case 'l':
< ruser = ARGF();
< break;
122d117
< char *r;
128d122
< r = ruser ? ruser : u;
130c124
< || write(fd, r, strlen(r)+1)<0 || write(fd, cmd, strlen(cmd)+1)<0){
---
> || write(fd, u, strlen(u)+1)<0 || write(fd, cmd, strlen(cmd)+1)<0){
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-02-24 20:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-24 20:49 rx.c Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).