saxena1@cerc.wvu.wvnet.edu (Naveen S. Saxena) (08/06/89)
I am looking for source code for standard ls (for BSD and SYSV systems). I have checked bsd-sources on uunet and could not find it. Can anyone give me a hint ? Boris Pelakh saxena1@cerc.wvu.wvnet.edu
ghe@nucthy.physics.orst.edu (Guangliang He) (08/09/89)
In article <182@cerc.wvu.wvnet.edu.edu> saxena1@cerc.wvu.wvnet.edu (Naveen S. Saxena) writes: =I am looking for source code for standard ls (for BSD and SYSV systems). =I have checked bsd-sources on uunet and could not find it. Can anyone =give me a hint ? = =Boris Pelakh =saxena1@cerc.wvu.wvnet.edu As I know, you should have a source lisence to read the UNIX source code (which are belong to either Berkerley or AT&T). Those on uunet are not the part of UNIX distribution. They are public domain. ----------------------------------------------------------------------- | USMAIL: Guangliang He | INTERNET: ghe@PHYSICS.ORST.EDU Department of Physics | ghe@jacobs.CS.ORST.EDU Oregon State University | BITNET: hegl@orstvm.bitnet Corvallis, OR 97331 | PHONE: (503) 737-4631 | -----------------------------------------------------------------------
grr@cbmvax.UUCP (George Robbins) (08/10/89)
In article <182@cerc.wvu.wvnet.edu.edu> saxena1@cerc.wvu.wvnet.edu (Naveen S. Saxena) writes: > I am looking for source code for standard ls (for BSD and SYSV systems). > I have checked bsd-sources on uunet and could not find it. Can anyone > give me a hint ? Yes, on any AT&T or BSD source distribution tape. The bsd-sources stuff on uunet is only the things that originated at Berkeley that they changed the licensing restrictions on. Since the core utilities like ls are essentially unchanged from (or at least directly derived from) the AT&T source, they are the least likely to be released. Look for re-written GNU equivalents instead... -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing arpa: cbmvax!grr@uunet.uu.net Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)
gwyn@smoke.BRL.MIL (Doug Gwyn) (08/10/89)
In article <182@cerc.wvu.wvnet.edu.edu> saxena1@cerc.wvu.wvnet.edu (Naveen S. Saxena) writes: >I am looking for source code for standard ls (for BSD and SYSV systems). >I have checked bsd-sources on uunet and could not find it. Can anyone >give me a hint ? Source code for "ls" is provided on the UNIX source distribution tape, and is available only to sites that paid the appropriate licensing fee and signed a contract that obligates them not to release the source code to unlicensed sites. In other words, if you're entitled to the source code, you should already have it. On the other hand, "ls" is almost trivial to implement. Only the vast number of silly options require much work.
root@cca.ucsf.edu (Systems Staff) (08/10/89)
In article <182@cerc.wvu.wvnet.edu.edu>, saxena1@cerc.wvu.wvnet.edu (Naveen S. Saxena) writes: > I am looking for source code for standard ls (for BSD and SYSV systems). > I have checked bsd-sources on uunet and could not find it. Can anyone > give me a hint ? > If you _really_ need the standard sources then, as has been pointed out several times, you need to be a source code licensee of AT&T. If you want functional ls code there are several versions free. In the comp.sources.unix archives there are sources for lc in volume 10 sls in volume 18 Several implementations have been posted to comp.os.minix for which there are a couple of archive sites. In comp.sources.misc there are ils in volume 1 cls in volume 2 And long ago in net.sources, Peter da Silva's le. Plus any I don't remember. In short, it is one of the most commonly re-implemented Unix utilities. Thos Sumner Internet: thos@cca.ucsf.edu (The I.G.) UUCP: ...ucbvax!ucsfcgl!cca.ucsf!thos BITNET: thos@ucsfcca U.S. Mail: Thos Sumner, Computer Center, Rm U-76, UCSF San Francisco, CA 94143-0704 USA OS|2 -- an Operating System for puppets. #include <disclaimer.std>
grr@cbmvax.UUCP (George Robbins) (08/10/89)
In article <12010@orstcs.CS.ORST.EDU> ghe@nucthy.PHYSICS.ORST.EDU (Guangliang He) writes: > In article <182@cerc.wvu.wvnet.edu.edu> saxena1@cerc.wvu.wvnet.edu (Naveen S. Saxena) writes: > =I am looking for source code for standard ls (for BSD and SYSV systems). > =I have checked bsd-sources on uunet and could not find it. Can anyone > =give me a hint ? > > As I know, you should have a source lisence to read the UNIX source > code (which are belong to either Berkerley or AT&T). Those on uunet are > not the part of UNIX distribution. They are public domain. repeat 100 times - They are *not* public domain. They are copyrighted materials that can be redistributed in accordance with conditions listed in the copyright notices in each file. One should contact Berkeley if any confusion exists in this area. -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing arpa: cbmvax!grr@uunet.uu.net Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)
bostic@ucbvax.BERKELEY.EDU (Keith Bostic) (08/11/89)
In article <7595@cbmvax.UUCP>, grr@cbmvax.UUCP (George Robbins) writes: > In article <182@cerc.wvu.wvnet.edu.edu> saxena1@cerc.wvu.wvnet.edu (Naveen S. Saxena) writes: > > I am looking for source code for standard ls (for BSD and SYSV systems). > > I have checked bsd-sources on uunet and could not find it. Can anyone > > give me a hint ? > > Yes, on any AT&T or BSD source distribution tape. The bsd-sources stuff > on uunet is only the things that originated at Berkeley that they changed > the licensing restrictions on. Since the core utilities like ls are > essentially unchanged from (or at least directly derived from) the AT&T > source, they are the least likely to be released. Look for re-written GNU > equivalents instead... Re: the various recent postings about ls(1) source code. 1: The Berkeley source code on uunet is NOT public domain (it is copyright The Regents of the University of California), however it is freely redistributable. You can sell it, send it to your Mom, wrap fish in it, whatever. It is also part of the standard Berkeley UNIX distribution. 2: Ls was not on uunet, however, I've sent off a copy to the UUNET people and I expect it will be soon. It should be functionally equivalent to the ls distributed with the 4.3BSD-tahoe version. Please let me know if you have any problems with it. 3: Berkeley is removing AT&T licensed core utilities as public domain or freely redistributable replacements become available. If you would be interested in contributing to this process, please contact me. (We have a little list...) Keith Bostic bostic@okeeffe.berkeley.edu uunet!bostic