From xemacs-m  Tue Feb 25 11:54:47 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA06271
	for <xemacs-beta@xemacs.org>; Tue, 25 Feb 1997 11:54:44 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id SAA16656; Tue, 25 Feb 1997 18:54:40 +0100 (MET)
Sender: hniksic@public.srce.hr
To: xemacs-beta@xemacs.org
Subject: Re: Can't determine how to read passwords, winging it.
References: <199702251643.RAA18621@midnight.eng.ecf.teradyne.com> 	<kigd8toq151.fsf@jagor.srce.hr> 	<rjene4ke3u.fsf@zuse.dina.kvl.dk> <199702251720.JAA15723@newman>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E
 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 25 Feb 1997 18:54:39 +0100
In-Reply-To: "William M. Perry"'s message of Tue, 25 Feb 1997 09:20:04 -0800
Message-ID: <kig7mjwpy8w.fsf@jagor.srce.hr>
Lines: 22
X-Mailer: Gnus v5.4.15/XEmacs 19.14

"William M. Perry" <wmperry@aventail.com> writes:

>   (cond
>     ((fboundp 'read-passwd) 'read-passwd)
>     ((featurep 'ange-ftp)   'ange-ftp-read-passwd)
>     ((or (featurep 'efs)
>          (featurep 'efs-auto))
>       'ange-ftp-read-passwd)
>     (t
>       ;; define your own function here.
>      )))

I don't see how such a scheme would work -- for this to work, you'd
have to require all of these first (e.g. `(featurep 'ange-ftp)' gives
nil in XEmacs 19.14, until I actually load ange-ftp).  But, to require
it, you must also know that you have it, so...

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it."                                    -- Donald Knuth

