Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!ut-emx!ibmchs!auschs!sauer From: sauer@auschs.UUCP (Charlie Sauer) Newsgroups: comp.sys.ibm.pc.rt Subject: Re: BSD Unix on 6150-135? Summary: alias clear tput clear;alias more 'pg -n -s -p "---More---"';documents Message-ID: <1864@auschs.UUCP> Date: 5 Mar 89 04:49:12 GMT References: <1966@nmtsun.nmt.edu> <28304@bu-cs.BU.EDU> <496@Portia.Stanford.EDU> <559@Portia.Stanford.EDU> Organization: IBM AWD, Austin, TX Lines: 44 In article <559@Portia.Stanford.EDU>, karish@forel.stanford.edu (Chuck Karish) writes: > In article <2852@stpstn.UUCP> aad@stepstone.com wrote: > >I wish they'd give them normal names, though. ftp becomes xftp, and I > >just discovered lpr lurking as lprbe. It'd also be nice to find the > >binaries in expected places, instead of /usr/lpp. > >I imagine these things would be clearer if we had documentation. > > ftp is called 'ftp' in 2.2.1. lprbe is closer to lpd than it is to > lpr, I think; there's a separate 'lp' program that just puts jobs on the > queue. lprbe really is more like lpr than lpd. It is used "under the covers" by print to talk to an lpd on another machine. > >I go insane because of the things that aren't there, like more, head, tail, > >whoami, clear, strings. > > This is a System V issue, not an AIX issue. 'tail' is there. 'head' > is a trivial macro or sed script; the simplest version is 'sed 10q'. > 'whoami' is a one-liner in C: > > main() { printf("%s\n", getlogin()); } > > 'clear' should be easy to do with curses. 'more' and 'strings' are > available as PD clones. If it's really driving you nuts, spend an > hour or two and fix it. I find these satisfactory, though not exact in the case of more alias clear tput clear alias more 'pg -n -s -p "---More---"' In any case, all of the cited BSD commands and many more are coming in the future. (See "Convergence of AIX and 4.3BSD" from this week's Uniforum proceedings for general discussion, and the "AIX Family Definition Overview" GC23-2002-0, July 1988, for lists correlated to products.) Many BSD commands can be compiled from the 4.3 source today by using cc -DBSD_INCLUDES. Charlie -- C.H. Sauer IBM Advanced Workstations Div. !'s: cs.utexas.edu!ibmaus!sauer 11400 Burnet Road, D75/802 @'s: @CS.UTEXAS.EDU:sauer@ibmaus.uucp Austin, Texas 78758-2502 !&@: ibmaus!sauer@CS.UTEXAS.EDU (512) 823-3692 vnet: SAUER at AUSVM6