9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] A patch for ftp.c
@ 1997-11-11  6:44 Scott
  0 siblings, 0 replies; 2+ messages in thread
From: Scott @ 1997-11-11  6:44 UTC (permalink / raw)


Kenji Arisawa <arisawa@ar.aichi-u.ac.jp> writes:
| How can we put subject field when we use mail command on plan9?

At the top, write
	Subject: whatever

and leave a blank line between that and the body of your message.

In other words, rfc822 is optional.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [9fans] A patch for ftp.c
@ 1997-11-11  4:26 Kenji
  0 siblings, 0 replies; 2+ messages in thread
From: Kenji @ 1997-11-11  4:26 UTC (permalink / raw)


Hello! 9fans

This is a patch to /sys/src/cmd/service/ftp.c
Although a patch on announcement is already ex st,
there is another bug in ftp.c.

Using Plan9 ftp server
ls -l
does not list in long format.
Change the source to work it:
term% diff ftp.c.orig ftp.c
673c673
< 		sprint(buf, "tcp!%d", port);
---
> 		sprint(buf, "tcp!*!%d", port);
898,899c898,899
< 	if(Cflag)
< 		lflag = 0;
---
> 	if(lflag)
> 		Cflag = 0;


Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp


P.S.
By the way:
How can we put subject field when we use mail command on plan9?




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-11-11  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-11  6:44 [9fans] A patch for ftp.c Scott
  -- strict thread matches above, loose matches on Subject: below --
1997-11-11  4:26 Kenji

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).