From owner-freebsd-stable Mon Nov 29 3:16:25 1999 Delivered-To: freebsd-stable@freebsd.org Received: from abc.123.org (123.org [195.244.241.123]) by hub.freebsd.org (Postfix) with ESMTP id 3014215100 for ; Mon, 29 Nov 1999 03:16:21 -0800 (PST) (envelope-from k@abc.123.org) Received: (from k@localhost) by abc.123.org (8.9.3/8.9.3) id MAA40126; Mon, 29 Nov 1999 12:16:07 +0100 (CET) (envelope-from k) Date: Mon, 29 Nov 1999 12:16:06 +0100 From: Kai Voigt To: John Rochester Cc: Kai Voigt , stable@freebsd.org Subject: Re: finger(1) not RFC compliant Message-ID: <19991129121606.C37610@abc.123.org> References: <19991128031403.N19490@abc.123.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Organization: 123.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Rochester wrote: > On 28-Nov-99 Kai Voigt wrote: > > When entering "finger user@remotehost", finger has to send > > "/W user\r\n" to the remotehost. Instead, it sends "user\r\n" without > > the leading "/W ". > > > > In chapter 2.3, RFC 1288 defines a non recursive finger query as > > > > {Q1} ::= [ {W} | {W} {S} {U} ] {C} > > I am sure this is a typo in the RFC. If you look at the meaning of "/W", it > does not make sense for it to be optional for the Q2 (recursive) query, but > not optional for Q1. BSD finger properly only adds the /W when finger -l > is used. Yes, I assume the same. Common sense tells me to have {Q1} ::= [ {W} {S} ] [ {U} ] {C} where {S} can be any number of spaces. The RFC requires at least one space. I have checked out Solaris' and Linux' behaviour, and they have implemented it the same way. With the syntax above, the RFC specification is still accepted. Maybe the RFC should be updated :) Kai -- kai voigt hamburger chaussee 36 24113 kiel 04 31 - 22 19 98 69 http://k.123.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message