HDTenEightyP/NetNews huggingface dataset:
From: abond@rvgs.vak12ed.edu (Andrew H. Bond)
Subject: online unix manuals?
Organization: Virginia's Public Education Network (Roanoke)
Date: Fri, 02 Oct 92 04:43:59 GMT

	The system that I am on has no online help or man
functions. As I am a remote user it is very difficult to get
help on every little problem from the sysop(I don't want to
drive him nuts). I was wondering if there are any ftp'able
manuals or general unix guides available. I believe our system
is BSD 3.2 running on a 386 if that helps.
-- 
andrew h bond, 	rvgs	!!   No Matter How Bad the Election Gets Remember:
dead fish: what you 	??	"Demoracy is the worst form of government,
find caught in the net	..	excepting all the others".-Winston Churchill
Newsgroups: comp.unix.questions
From: eay@cbnewsf.cb.att.com (ender.ayanoglu)
Subject: How to tar x a file with an absolute filename?
Organization: AT&T
Date: Sat, 26 Sep 1992 21:13:43 GMT

I have an old tar file which has files named with absolute
file names such as /user2/foo. /user2 does not exist on current
file system. Other than creating or linking a directory, is
there a simple way to convert absolute pathnames into relative 
pathnames with tar? I thought tar had an option for this, but
our Sun tar does not seem to have it. I tried piped dd, sed, and 
tar combinations but got directory checksum errors, and could not
create any files.

Please respond to ender@boole.att.com directly, comp.unix.questions
has too much volume for me to keep up. Thanks in advance.

Ender Ayanoglu
ender@boole.att.com

Newsgroups: comp.unix.questions
From: mkb@unlinfo.unl.edu (M. Beards)
Subject: How can sendmail be setup to accept mail for user@domain?
Summary: How doe one set up a mailserver?
Keywords: aliases mailserver
Organization: University of Nebraska - Lincoln
Distribution: na
Date: Tue, 6 Oct 1992 13:53:35 GMT

I want to set up some kind of a mail server so that users at my site can 
receive mail addressed to user@domain and then have the mail forwarded to
the host where their account is located.

I've read that /usr/lib/aliases can be used for this purpose but I'm expecting 
100's of entries in the aliases file in this case.

Do I need a sort of sendmail front-end to handle this or am I overlooking
some simple tweeking of sendmail.cf?

Thanks for any info.

I'll gladly repost a summary if others out on the net are interested.

Sincerely,

Mary Beardslee
beam1@ncc.centel.com
Newsgroups: comp.unix.questions,alt.folklore.computers
From: nickel@cs.tu-berlin.de (Juergen Nickelsen)
Subject: New acronym needed? (Was Re: What does 'daemon' mean?)
Reply-To: nickel@cs.tu-berlin.de
Organization: STONE Project, Technical University of Berlin, Germany
Date: Mon, 28 Sep 1992 19:02:37 GMT

In article <GUENTHER.92Sep27215328@amcl5.stolaf.edu>
guenther@stolaf.edu (Philip A Guenther) writes:

[answering a question about the origin of "daemon"]

> For more info consult the actual jargon file pages. :-)

Perhaps it is time to introduce a new acronym:

	RTFJF  ==  Read The ... Jargon File

:-) (just in case...)
--
Juergen Nickelsen
Newsgroups: comp.unix.questions
From: kko@fraser.sfu.ca (Samuel Ko)
Subject: Re: SUMMARY: NutShell Books
Keywords: nutshell books
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Mon, 28 Sep 1992 01:53:11 GMT

johnv@acix.DIALix.oz.au (John Verhoeven) writes:

>Here are the responses to my query on NutShell books.

And maybe one more ...

To read the catlog, one can connect to O'Reilly's gopher server ... 
telnet  gopher.ora.com
login: gopher 

S a m u e l

Newsgroups: comp.unix.questions
From: tzung@versyss.com (Tzung Liu)
Subject: Re: comminicating with devices
Reply-To: tzung@versyss.UUCP (Tzung Liu)
Organization: VERSYSS Incorporated, Torrance, California
Date: Mon, 5 Oct 1992 16:23:08 GMT

In article <1992Oct4.055849.7226@menudo.uh.edu> cavers@menudo.uh.edu (Chris M. Cavers) writes:
>I would like to get some hints on what is the best way to
>communicate with a device driver.
>
>Specifically, I have written a disk device driver.
>I would like to have a user level process communicate with
>the device and the device with the user level process.
>I would like to use message queues but am unsure of the effects
>of crossing the kernel/user boundary.  The main concern is 
>that the device should wake up whenever a message arrives and the message
>handling should not interfere with the normal device operations of
>the disk device driver...

The easiest way is to use the conventional IOCTL interface.
Since you wrote your own disk device driver, just add a couple
of custom ioctls for communication.

If you have other disk driver source codes, look at how they
ioctl and follow them.

Good luck.

Tzung Liu
Versyss Inc, Torrance, California
tzung@versyss.com

Newsgroups: comp.unix.questions
From: spencer@phoenix.Princeton.EDU (S. Spencer Sun)
Subject: Re: Temporary /dev/audio shutoff, how?
Reply-To: spencer@phoenix.princeton.edu (S. Spencer Sun)
Organization: Live Organ Transplants
Distribution: comp.unix.questions
Date: Sat, 3 Oct 1992 14:46:12 GMT

In article <BHAG.92Sep30160117@etn.etn.ericsson.se>, bhag@etn.ericsson.se (Boerge Haga 2634) writes:
>Is there any way to shut of the audio device on a Sparcstation temporarily
>without beeing root?

You could create a named pipe to which only you have write permission.
Then continuously cat from this named pipe into /dev/audio.  Since only
one process can have /dev/audio open for writing at a time, no one else
can write to it.  Also, if YOU want to write to it, all you have to do
is write into the named pipe instead (you need some sort of loop to cat
from the pipe into /dev/audio again once you've sent something through
the pipe).

Worked well when I tried it, your mileage may vary.

----------- The opinions expressed in this article are solely mine. -----------
<Insert lame attempt at disclaimer humor>
sss/PU'94 Dept of CS (spencer@phoenix.princeton.edu)/JvNCnet (spencer@jvnc.net)
"There comes a time in the history of every project when it becomes
necessary to shoot the engineers and start production."
From: jmiller@uop.edu (James Miller)
Newsgroups: comp.unix.questions
Subject: Problem with hostnames after subnetting....Help!
Date: 2 Oct 92 02:13:03 GMT
Organization: University of the Pacific
NNTP-Posting-Host: unix1.cc.uop.edu


Our university recelently subnetted our local network, causing our
primary machine, uop, to go from uop.uop.edu to uop.cs.uop.edu. This was
done to facilite many more machines on the net from various campus
departments. Unfortunately it has caused us a great deal of problems.

Some how in the switch something has been configured wrong, for many
machines still recognize us as "uop.uop.edu" (including some on the
local net). Also, mail to uop.cs.uop.edu or uop.edu (an aliased version
of the same), bounces about 50% of the time.

We have configured sendmail and our DNS (BUT, this in particular may
have problems configuration wise), and NIC.DDN.MIL has been updated, 
our "hostname" program is set to "uop" at boot and our "domainname"
program is set to "cs.uop.edu" at boot.  The "gethostname()" call
returns "uop" and the "gethostbyname()" call returns "uop.cs.uop.edu".
We have had bounced mail headers that have included "Received from:
uop.uop.edu (via uop.cs.uop.edu) ..." in them.

I am merely a student administrator, but no one on campus knows exactly
what is needed to rectify the situation. I realize that this is a really
broad question to have answered, but if some kind soul (or souls) could
provide either troubleshooting tips, particullary dealing with sendmail
and the named DNS, or a summery of things to do when changing network
names, I would be endebted.

James Miller
Email: jmiller@uop.edu OR jmiller@uop.uop.edu OR jmiller@uop.cs.uop.edu
       OR jmiller@138.9.200.1 OR jmiller@unix1.cs.uop.edu
  (but feel free to post here)
(At least one of those should work...you can see we need help!)
From: denis@smoky.ikf.physik.uni-frankfurt.de (Denis Endisch)
Newsgroups: comp.unix.questions
Subject: grep in subdirectories
Summary: how can I told grep to look also in subdirectories
Keywords: grep
Date: 30 Sep 92 11:50:48 GMT
Organization: Institut fuer Kernphysik, Frankfurt/Main

Hi,
Is there a possibility to told grep to search in a whole directory tree?
In combination with the find command it would be helpful if grep would
axcept filenames instead of text from stdin, but as far as I know there
is no option for grep to do so.
Has anybody written a shell-script which can do the think?
Thanks in advance
--
Denis Endisch, Institut fuer Kernphysik
August-Euler-Str. 6, 6000 Frankfurt 90, Germany
EMAIL: denis@smoky.ikf.physik.uni-frankfurt.de
Newsgroups: comp.unix.questions
From: kimcm@login.dkuug.dk (Kim Chr. Madsen)
Subject: Re: srandom & random
Organization: DKnet
Date: Sun, 27 Sep 1992 01:36:51 GMT

jawil@hpx11.aid.no (Jan Roger Wilkens) writes:


>Almost every program I try to compile stops with this:

>/bin/ld: Unsatisfied symbols:
>   srandom (code)
>   random (code)
>*** Error code 1

>Stop.

>WHY? Is my system missing something or?
>(I have an HP Apollo Series 700)

1. try compiling with the flags "-DSYSV" "-DUSG" or something like,
and if the problem persist use method 2.

2. Insert the following defines in a proper place:

	#if defined(SYSV) || defined(USG) || defined(HPUX)
	#define	srandom	srand
	#define	random	rand
	#endif	/* SYSV or USG or HPUX */

3. If you're really picky about random functions use:

	#if defined(SYSV) || defined(USG) || defined(HPUX)
	#define	srandom	srand48
	#define	random	lrand48
	#endif	/* SYSV or USG or HPUX */

						Kim Chr. Madsen
Newsgroups: comp.unix.questions,comp.sys.apollo
From: ianh@resmel.bhp.com.au (Ian Hoyle)
Subject: awk question (building ISODE on an Apollo)
Organization: BHP Research - Melbourne Laboratories, AUSTRALIA
Date: Thu, 1 Oct 1992 13:10:37 GMT

I have an awk question.

This code snippet is from the ISODE-8.0 distribution. I have compiled it
OK on several machines, including my SG box, but neither awk, nawk or gawk
will let this thru on my Apollo DN10k (sr10.3.4) ....

                                                                        
awk '   { major = $1; minor = $2; local = $3 + 1; sfw = $4;         
          if (NF >= 5) note = $5; else note = ""; }                 
END     { printf "char *%sversion = \"%s%s %d.%d #%d ", sfw, sfw, note, major, m
inor, local;                                         
          printf "%d\n", local > "version.local"; }' < version         
echo '('$LOCAL') of '`date`'";'                    

where the file "version" looks like

==> version <==
8 0 0 compat

ie. a single line of 4 fields, and $LOCAL expands to the hostname.

but awk spits back the error:

awk: syntax error near line 3
awk: illegal statement near line 3
*** Exit 2


I know the output _should_ look like

char *compatversion = "compat 8.0 #6 (zaphod) of Fri Sep 25 14:02:15 EST 1992";

since this is what I got on the SG build.

Could someone please enlighten me where the awk syntax error might lie?? (I am
most *definitely* an awk neophyte !! :-)

	Ian

--
   /\/\     :  Ian Hoyle,  Senior Research Scientist
  / / /\    :  Image Analysis Group
 / / /  \   :  BHP Research - Melbourne Laboratories
/ / / /\ \  :  245 Wellington Rd, Mulgrave, 3170, AUSTRALIA
\ \/ / / /  :  Phone    +61-3-560-7066
 \  / / /   :  E-mail   ianh@resmel.bhp.com.au
  \/\/\/    :
            : "The kernel IS a continuously running random number
            :  generator" -- Larry Wall
From: perkins@cps.msu.edu (Stephen Perkins)
Newsgroups: comp.unix.questions
Subject: System eats extra characters from stdout/stdin
Date: 1 Oct 92 05:34:18 GMT
Organization: Dept. of Computer Science, Michigan State University
Originator: perkins@indian.cps.msu.edu

I posted this to comp.protocols.ppp and then though that
this may be a more appropriate place.

I have had a terrible time getting PPP to run on my
current setup.  I had it working at one location, and
after I moved, I tried to install it at another.  The
configuration is that I have PPP running on a Sparc1+
running SunOS 4.1.1 and PPP on a NeXT at home.  Everything
works fine except that when I try to do binary FTP transfers,
9 times out of 10, the Sparc will crash.

I think that I have narrowed down the problem. I wrote two simple test
programs that are designed to test the link (source available upon
request).  They determine which characters are being eaten as they are
sent across (one program writes to stdout, one reads from stdin).
Now, if I run the programs like:

   writeit | readit

without going over the link I get:
  Lost char number 9
  Lost char number 10
  Lost char number 11
  Lost char number 12
  Lost char number 13
  Lost char number 32
This is true on my NeXT and on our sun server.

When I run this over the modem link (and through the terminal server
that was in binary mode) I get the same thing.  This is OK because PPP
automatically escapes these characters (except 32) and they get sent
across fine (asyncmap of all ones).

However, when I run the same program at the command prompt on the
Sparc running PPP I get (Please note that I am using kermit
to do these tests, not telnet or rlogin via PPP):

  Lost char number 9
  Lost char number 10
  Lost char number 11
  Lost char number 12
  Lost char number 13
  Lost char number 32
  Lost char number 134
  Lost char number 142
  Lost char number 150
  Lost char number 158
  Lost char number 166
  Lost char number 174
  Lost char number 182
  Lost char number 198
  Lost char number 206
  Lost char number 214
  Lost char number 221
  Lost char number 222
  Lost char number 234
  Lost char number 249
  Lost char number 250

Low and behold, I get the same characters lost when going over the
modem link.  These characters (the ones of value > 32) are not
automatically quoted by PPP.  They are being eaten and this is 
probably what causes the kernel to crash.

I checked the tty settings (via "stty everything") and they are
identical between the PPP sparc and our Sun server.  I also tried the
csh instead of tcsh. Both Suns (PPP Sparc and server) are running
SunOS 4.1.1.

Anybody have any ideas why (and where) the PPP Sparc is eating the
extra characters??

Any help would be sincerely appreciate!  

Thanks,

Steve
-- 
====================================================================
Stephen Perkins                    |
Department of Computer Science     | perkins@cps.msu.edu
Michigan State University          |
Newsgroups: comp.unix.questions
From: jdell@benazir.mit.edu (John Ellithorpe)
Subject: Re: Shell question
Organization: Massachusetts Institute of Technology
Date: Fri, 2 Oct 1992 16:28:16 GMT

On 1 Oct 92 23:45:02 GMT, wayne@jahangir.UUCP (wayne) said:


>      Is there a way to test a shell variable to tell if it's
> an integer or a string?

Hey what about this.  If your variable can only be alphanumeric:

	#!/bin/sh
	vartotest=$1
	check=`echo $vartotest | awk '$1 ~ /[A-Za-z]/ {print "String"}'`
	echo ${check:-Number}

John

--

===============================================================================
John Ellithorpe                           | Internet: jdell@maggie.mit.edu
Dept. of Physics, Rm 26-349               | Phone   : (617) 253-3074  Office
Massachusetts Institute of Technology     |           (617) 253-3072  Lab
Cambridge, MA  02139                      |           (617) 236-4910  Home
===============================================================================
From: kuo@beethoven.cis.nctu.edu.tw
Newsgroups: comp.unix.questions
Subject: Help with mount() function
Date: 3 Oct 92 17:48:12 GMT

Hi netters

  In my recently project,I've to use mount() to check the removeable disk
driver's status such as power-on,power-off,disk-insert or disk-not-insert,
when I use this function to check its return code and decide the driver's
status, I must have the root privilege, although I can use the root account
to run my program, my problem is, is it possible I can change my privilege
to root temporarily and execute the function mount() to get the return code?
Or is there any function I can use to detect the disk driver's status ?

  Any suggestion will be appreciated.

  =======================================                 Z
   Kuo ( Ching-Yii Kuo )                              Z
   Email:  kuo@weber.cis.nctu.edu.tw               z
           kuo@beethoven.cis.nctu.edu.tw        z   ,;:;,
   Taipei , Taiwan , R.O.C.                   z     <OoO>
  =======================================    z       |^|
Newsgroups: comp.unix.questions
From: jawil@hpx11.aid.no (Jan Roger Wilkens)
Subject: Re: Expect
Organization: University of Oslo
Date: Sat, 26 Sep 1992 18:04:14 GMT

In article <vic.717526865@news2>, vic@class.gsfc.nasa.gov (James V. Ryan (Vic)) writes:
|> jawil@hpx11.aid.no (Jan Roger Wilkens) writes:
|> 
|> >Could some kind sole please send me the bin file for expect for the HP Apollo
|> >700 series??? I've tried for hours to compile it, but with no luck at all...
|> >Please uuencode it and mail it to me...
|> 
|> 
|> A ftp site for all to get it would be soooo much better for everyone.
|> "iworks.ecn.uiowa.edu" for example.

Everyone? But everyone hasen't got a HP Apollo Series 700?
The problem isn't the source code, but to get it compiled... The source code produces
only one executable program... This is what I want.
(But if more people want it, offcourse you could upload it to a FTP site.. :)

-- 
                               Jan Roger Wilkens
                     Student at Agder Engeeniering School
                               Computer Technics

                           EMail: jawil@hpx11.aid.no
From: peter@merlin.acadiau.ca (Peter Steele)
Newsgroups: comp.unix.questions
Subject: Forms printing under Unix - What's available?
Date: 26 Sep 92 14:21:00 GMT
Organization: Acadia University

Is there a PD printing package that supports forms codes. We want to
be able to print documents on various form types, such as transcripts
as things like that. We purchased a package called qprint but I am
not particular please with it. It does the job, but if there was
something else out there, I'd like to look at it. Basically what
I want is to be able to say

    lpr -Pprinter -Fforms-code <filename>

which would work just like the normal lpr command but the file would
not print until the printer spooler was told that the indicated forms
have been mounted. An extension to the lpc command would be perfect:

    lpc mount <forms-code> <printer>

Maybe it's time I dug up the source to these programs....

I assume that other sites have need of this sort of thing. I'd like
to hear what other people are doing to manage forms printing under
Unix?
--
Peter Steele        Unix Services Manager            peter.steele@acadiau.ca 
Acadia Univ., Wolfville, NS, Canada B0P 1X0  902-542-2201  Fax: 902-542-4364
From: rayj@Celestial.COM (Ray Jones)
Newsgroups: comp.unix.questions
Subject: Re: How to rm this file...?
Date: 26 Sep 92 16:35:32 GMT
Organization: Celestial Software, Mercer Island, WA

In <9324@ncratl.AtlantaGA.NCR.COM> mwilson@ncratl.AtlantaGA.NCR.COM (Mark Wilson) writes:

>In article <12895@ecs.soton.ac.uk> wscc90r@ecs.soton.ac.uk (Wilson Chiu) writes:

>WC:I have somehow managed to create a file called "-I". Now, I don't want
>WC:it but I can't remove it! What ever I do to it UNIX just thinks it's
>WC:an opion....What can I do?

>Try using "mv" to rename the file.
mv -I won't work either, because it will look like an option there also.
What you have to do is hide the -  , try this
rm ./-I
the "./" means "in this directory", but the effect is to hide the "-"
from the shell.  Another way is to cd to the parent directory (call the
current directory, "my_directory" for this example) with 
cd ..
and give the following remove command
rm my_directory/-I
This has the same effect as the above example.
-- 
Onager Systems			 Ray A. Jones
18710 NE 59th Ct.		UUCP .....uunet!camco!onager!ray
# 2053       			...ray@onager.Celestial.COM
Redmond, WA 98052               206-885-3568
From: ascheman@isa.informatik.th-darmstadt.de (Gerd Aschemann)
Newsgroups: comp.unix.questions
Subject: Re: source for /usr/lib/calendar
Date: 28 Sep 92 22:36:10 GMT
Organization: TU Darmstadt

In article <1992Sep25.141410.25352@mr.med.ge.com>, carl@crazyman.med.ge.com (Carl Crawford) writes:
> 
> calendar(1) uses /usr/lib/calendar to figure out today's and tomorrow's
> date. i would like to modify it so that it also gives the date for one
> week in advance to get more advance warnings about upcoming events.
> does anyone have a PD version of /usr/lib/calendar?

I think, you also can use the original BSD version from bsd net2
distribution. You can find it in
ftp.th-darmstadt.de:pub/os/bsd-net2/usr.bin/calendar via anonymous
ftp.

-- 
Gerd Aschemann (Sys Admin) -- ascheman@isa.informatik.th-darmstadt.de
---------------------------------------------------------------------
"Jeder Versuch eines Einzelnen, fuer sich zu loesen, was alle angeht, 
   muss scheitern."  (F. Duerrenmatt, 21 Punkte zu "Die Physiker")
Xref: sparky comp.unix.questions:11792 comp.unix.admin:5384
From: djamdji@aurora.unice.fr (Jean-Pierre Djamdji)
Newsgroups: comp.unix.questions,comp.unix.admin
Subject: Mail
Date: 5 Oct 92 15:45:23 GMT
Organization: University of Nice Sophia-Antipolis
NNTP-Posting-Host: aurora.unice.fr


Hi there,

This may seem a silly question, but how do I make my mail include automatically
my .signature file into my mail messages ??

thanks

Jean-Pierre Djamdji
djamdji@c3po.unice.fr
Lines: 7
Date: Sat, 26 Sep 92 21:46:05 MDT
Newsgroups: comp.unix.questions
Subject: Re: Passwd-type encryption in C programs?
Distribution: na
Organization: Brigham Young University, Provo UT USA
From: haymoree@bones.et.byu.edu (Edward Haymore)

I've been pointed in the right direction now -- the crypt function.
I did a "man crypt" earlier, but only saw crypt(1) and missed crypt(3).

Isn't Usenet wonderful?

Ed Haymore
ed_haymore@byu.edu
From: skeeve@hpb.cis.pitt.edu (John Huffman)
Newsgroups: comp.unix.questions
Subject: Re: how to pass variable into an awk script?
Date: 30 Sep 92 22:50:35 GMT
Organization: University of Pittsburgh

In article <5413@news.duke.edu> jfw@neuro.duke.edu (John F. Whitehead) writes:
>How can I either pass a variable into an awk script or read a file
>(or execute a system command) from within?
>
>I am trying to get the current time into an awk script.  The awk
>script begins
>
>	tail -r $TEMPFILE | awk '
>		BEGIN...

There are two ways to do this depending on your version of awk.

time=`date`
awk '
  BEGIN {print "'"$time"'"}
  ...

or

awk '
  BEGIN {print TM}
' TM="$time" filename

					- John Huffman

Newsgroups: comp.unix.questions
From: wittig@gmd.de (Georg Wittig)
Subject: Re: grep in subdirectories
Keywords: grep
Organization: GMD, Sankt Augustin, Germany
Date: Wed, 30 Sep 1992 14:18:02 GMT

denis@smoky.ikf.physik.uni-frankfurt.de (Denis Endisch) writes:

>Is there a possibility to told grep to search in a whole directory tree?
>In combination with the find command it would be helpful if grep would
>axcept filenames instead of text from stdin, but as far as I know there
>is no option for grep to do so.

	find DIR -type f -print | xargs -r grep 'PATTERN'
--
Georg Wittig                  GMD-I8.IT                                         Schloss Birlinghoven          P. O. Box 1316                                    D-W-5205 Sankt Augustin 1     Germany
email: Georg.Wittig@gmd.de    telephone: (+49) 2241 14-2294
 ------------------------------------------------------------------------------
"In the beginning was the word, but it wasn't a fixed number of bits."
Newsgroups: comp.unix.questions
From: heeres@uars_mag.jhuapl.edu (Ken Heeres)
Subject: Portable File Systems on M/O Devices
Organization: JHU/Applied Physics Laboratory
Date: Wed, 30 Sep 1992 16:15:19 GMT

I would like to be able to create/read/write files on a R/W optical device
on a Sun, SGI, or HP and be able to read/write files on a Sun, SGI, or HP without
worrying about who created what.  Is this a pipe dream?


ken heeres
Newsgroups: comp.unix.questions