[comp.sources.wanted] refer. when can i find the source?

montra@ghost.unimi.it (Paolo Montrasio) (04/05/91)

I found an article (I think in alt.security, but I'm not sure)
about password security ("Foiling the cracker"", by Daniel V. Klein).
It is a troff formatted text, and it must printed using:

	refer -k -l -P -e "file" | tbl | troff -ms

I'm on a HP-UX machine and I don't have refer. I looked for it in some
anonymous ftp site, but I did't find it.

Can anybody help?

jik@athena.mit.edu (Jonathan I. Kamens) (04/08/91)

  This question has been asked at least three times in this newsgroup in the
past week or so, so I am going to post the response I have sent the last two
people who have asked, rather than sending E-mail again.

  The refer(1) distributed with Unix is not freely redistributable, because it
has AT&T copyrighted source code in it.

  I don't know of any freely redistributable reimplementation of refer. 
Perhaps CSRG will do it for 4.4BSD, but they haven't yet (or, at least, if
they have, they haven't made the sources publicly available yet).

  Please let me know if you find a version of refer that is freely
distributable.

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8085			      Home: 617-782-0710

oz@yunexus.yorku.ca (Ozan Yigit) (04/15/91)

In article <1991Apr7.234524.6739@athena.mit.edu>
jik@athena.mit.edu (Jonathan I. Kamens) writes:

>  I don't know of any freely redistributable reimplementation of refer. 

There has been a sophisticated PD alternative for refer around since 1982,
and was distibuted as a part of 4.2 and 4.3 BSD user-contributed software.
It is BIB, written by Timothy Budd (of LittleSmallTalk fame). Bib is not a
clone of refer, but a replacement, and uses the same database format [with
a few extensions of its own].

Bib is ftp-able from cs.orst.edu [128.193.32.1] under pub/budd. Along with
bib, a TeX version of the same utility, tib, is also available. [those who
really need it: if you cannot ftp, send me mail at oz@nexus.yorku.ca.]

I include the man page for bib, for future information. The distribution
includes additional documents.

oz
---
In seeking the unattainable, simplicity  |  Internet: oz@nexus.yorku.ca
only gets in the way. -- Alan J. Perlis  |  Uucp: utai/utzoo!yunexus!oz
---


bib/listrefs(1)           USER COMMANDS           bib/listrefs(1)



NAME
     bib - bibliographic formatter
     listrefs - list bibliographic reference items

SYNOPSIS
     bib [options] ...
     listrefs [options] ...

DESCRIPTION
     Bib is a preprocessor for nroff  or  troff(1)  that  formats
     citations  and  bibliographies.   For  bib  the  input files
     (standard input default) are copied to the standard  output,
     except  for  text between [. and .] pairs, which are assumed
     to be keywords for searching a bibliographic database.  If a
     matching  reference is found a citation is generated replac-
     ing the text.  References are collected, optionally  sorted,
     and  written out at a location specified by the user.  Cita-
     tion and reference formats are controlled by the -t option.

     Reference databases are created using the invert utility.

     The following options are  available.   Note  that  standard
     format styles (see the -t option) set options automatically.
     Thus if a standard format style is used the  user  need  not
     indicate any further options for most documents.

     -aa     reduce authors first names to abbreviations.

     -arnum  reverse the first num author's names.  If  a  number
             is not given all authors names are reversed.

     -ax     print authors last names in Caps-Small  Caps  style.
             For  example  Budd becomes BUDD.  This style is used
             by certain ACM publications.

     -cstr   build citations according to the template str.   See
             the reference format designers guide for more infor-
             mation on templates.

     -ea     reduce editors first names to abbreviations.

     -ex     print editors last names in  Caps-Small  Caps  style
             (see -ax option).

     -ernum  reverse the first num editors names.  If a number is
             not given all editors names are reversed.

     -f      instead of collecting references, dump  each  refer-
             ence  immediately  following  the  line on which the
             citation is placed (used for footnoted references).

     -i file
     -ifile  process the indicated file, such as a file of defin-
             itions.   (see technical report for a description of
             file format).

     -h      replace citations to three or more  adjacent  refer-
             ence  items  with  a  hyphenated  string (eg 2,3,4,5
             becomes 2-5).  This option implies the -o option.

     -nstr   turn off indicated options.  str must be composed of
             the letters afhosx.

     -o      contiguous citations are ordered according  the  the
             reference list before being printed (default).

     -p file

     -pfile  instead of searching  the  file  INDEX,  search  the
             indicated  reference files before searching the sys-
             tem file.   files  is  a  comma  separated  list  of
             inverted indices, created using the invert utility.

     -sstr   sort references according to the template str.

     -t type

     -ttype  use the standard macros and switch settings for  the
             indicated  style  to  generate  citations and refer-
             ences.  There are a number of standard  styles  pro-
             vided.   In  addition  users  can generate their own
             style macros.  See the format  designers  guide  for
             details.

     Listrefs formats an entire  reference  database  file.   The
     files  following  the  options  should be reference database
     files.  Options to listrefs are the same as for bib.

FILES
     INDEX               inverted index for reference database
     /usr/dict/papers/INDEXdefault system index
     /usr/lib/bmac/bmac.*formatting macro packages
     /usr/tmp/bibr*      scratch file for collecting references
     /usr/tmp/bibp*      output of pass one of bib

SEE ALSO
     A UNIX Bibliographic Database Facility, Timothy A. Budd  and
     Gary  M. Levin, University of Arizona Technical Report 82-1,
     1982.  (includes format designers guide).
     invert(1), troff(1)