HDTenEightyP/NetNews huggingface dataset:
From: pbd@runyon.cim.cdc.com (Paul Dokas)
Newsgroups: comp.unix.wizards
Subject: Re: Passing File Descriptors through Unix Domain Sockets
Keywords: descriptors sockets
Date: 17 Apr 92 16:46:53 GMT
Article-I.D.: shamash.41253
Reply-To: pbd@runyon.cim.cdc.com (Paul Dokas)
Organization: ICEM Systems, Inc

In article <1992Apr17.121315.466@jarvis.csri.toronto.edu>, goldberg@turing.toronto.edu (Jody Goldberg) writes:
|> Bsd & Sun manuals both mention that sendmsg/recvmsg can be used to pass
|> a file descriptor between 2 processes.  You stuff the descriptor in one
|> end of a unix domain socket, and at the other a new descriptor with the
|> same modes is opened refering to the  same file.  The drawback is that we
|> are never told HOW to perform this magic.  The include files don't give any
|> flags or show where to put the fd in the msg header.  The local consensus
|> is that it is not possible.
|> 
|> I have no intention of using this thing in a real program, but the mystery is
|> irking me.  Is it possible?

It sure is possible.  Take a look at "UNIX Network Programming" by W. Richard
Stevens, ppg 306-312, 386-387, 745.  He gives example code showing how to do it.
-- 
+--------------------------+----------------------------+-------------------+
| Paul Dokas               |     Put your favorite      |                   |
| pbd@runyon.cim.cdc.com   |      disclaimer here.      |       Fnord       |
| pbd@power1.cim.cdc.com   |                            |                   |
+--------------------------+----------------------------+-------------------+
| "The heart has its reasons, whereof reason knows nothing." -Blaise Pascal |
+---------------------------------------------------------------------------+
From: OCONNOR@arcb.afrc.ac.uk (Phil O'Connor)
Newsgroups: comp.unix.wizards
Subject: usleep() on ultrix 4.1
Date: 7 Apr 92 15:38:20 GMT

Hello,

Does anyone know where I can get the source for the function
usleep() or if I can use a suitable work around?

On Ultrix 4.1, only the sleep() function seems to be there,
I think the difference is :- sleep() takes it's input
in seconds and usleep() in milliseconds.

Thanks in advance,

Phil O'Connor                       oconnor@arcb.afrc.ac.uk
AFRC CD
Harpenden
Herts
England.
From: tokarski@ttd.teradyne.com
Newsgroups: comp.unix.wizards
Subject: Multiple proc. FD access question - HELP PLEASE!!
Date: 13 Apr 92 08:34:58 GMT
Organization: Teradyne Inc., Telecommunications Division

Hello Unix Wizards, Gurus, et al!

Sorry if this is a repost - I check the news two days after posting and didn't
see my posting.

We've been trying to do some TTY port manipulations that don't seem possible,
but we'd like verification.  Exactly what we're attempting is to have a 
process 'open()' a tty port, fork a child, have the child establish a
connection through a modem, and ultimately terminate.  We would LIKE the
modem connection to be maintained due to the fact that the PARENT process
performed the 'open'.

We do have HUPCL set, but when the child process terminates, the modem drops
the connection and closes the descriptor.

The termio documentation leads us to believe that HUPCL should only close the
tty when the LAST PROCESS that has the 'line' open TERMINATES.  Experience
seems to indicate otherwise.

The question is - is there any way to accomplish our goal?

As I am currently out of the office and have VERY limited access to the news,
could replies please be sent to my email address below?  Thanks TREMENDOUSLY
in advance.

-- 
Joseph P. Tokarski                               tokarski@ttd.teradyne.com
Teradyne Telecommunications                      (708) 940-9000 ext. 2747
Deerfield, Illinois  USA
From: Michael Panosh - Value Added Services@BRL.MIL,
Newsgroups: comp.unix.wizards
Subject: Sendmail does 8-bit??
Date: 6 Apr 92 02:22:53 GMT

A customer in South East Asia wants to be able to send 8-bit characters
via the mail system on a MIPS based RISC/os box (OS Rev 4.52.p2).  We
have been told that sendmail does not allow for 8-bit characters, which
would not suprise me, but is annoying!!

So, can sendmail (or some equivalent and obtainable mailer program) be
configured for 8-bit characters...or do we have to leave our non-English
friends out in the cold??

Thanks, Michael

+-------------+
Michael Panosh                          mwp.michael@melpn1.prime.com
Prime, Australia                        "Selling is the art of not
                                        talking when you want to!"
Xref: sparky comp.unix.wizards:2172 comp.unix.questions:6118
From: tokarski@ttd.teradyne.com
Newsgroups: comp.unix.wizards,comp.unix.questions
Subject: Multiple proc. FD access question - HELP PLEASE!
Date: 11 Apr 92 17:15:28 GMT
Article-I.D.: ttd.1992Apr11.121516.1
Organization: Teradyne Inc., Telecommunications Division

Hello, Unix Wizards, Gurus, et al!

We've been trying to do some TTY port manipulations that don't seem possible,
but we'd like verification.  Exactly what we're attempting is to have a
process 'open()' a tty port, fork a child, have the child establish a
connection through a modem, and ultimately terminate.  We would LIKE the
modem connection to be maintained due to the fact that the PARENT process 
performed the 'open'.

We do have HUPCL set, but when the child process terminates, the modem drops
the connection and closes the descriptor.

The termio documentation leads us to believe that HUPCL should only close the
tty when the LAST PROCESS that has the 'line' open TERMINATES.  Experience
seems to indicate otherwise.

The question is - is there any way to accomplish our goal?


As I am currently out of the office and have VERY limited access to the news,
could replies please be sent to my email address below?  Thanks TREMENDOUSLY 
in advance.

-- 
Joseph P. Tokarski                               tokarski@ttd.teradyne.com
Teradyne Telecommunications                      (708) 940-9000 ext. 2747
Deerfield, Illinois  USA
From: sysadmin@gf-wan.af.mil (System Administrator)
Newsgroups: comp.unix.wizards
Subject: Subscribe
Date: 14 Apr 92 01:12:17 GMT

Please subscribe me to your digest.  I am host administrator
for the Grand Forks AFB BBS and the Base Wide Area Network.
I would like to share some of you information with my users.

			TSgt Patty Smith
			sysadmin@GF-WAN.af.mil
Newsgroups: comp.unix.wizards
From: jik@athena.mit.edu (Jonathan I. Kamens)
Subject: Re: Problem with Make
Organization: Massachusetts Institute of Technology
Date: Thu, 9 Apr 1992 19:36:54 GMT

This question should not have been posted in comp.unix.wizards.  I
have posted a response in comp.unix.questions.

By the way, "comp" is not a valid distribution.

-- 
Jonathan Kamens						jik@MIT.Edu
MIT Information Systems/Athena		    Moderator, news.answers
    (Send correspondence related to the news.answers newsgroup
	{and ONLY correspondence related to the newsgroup}
		 to news-answers-request@MIT.Edu.)
Newsgroups: comp.unix.wizards
From: karchie@cco.caltech.edu (Kevin Allen Archie)
Subject: Re: Okay, let's stop pretending this group works.
Organization: California Institute of Technology, Pasadena
Date: Tue, 14 Apr 1992 21:39:04 GMT

gritton@alaska.caedm.byu.edu (Jamie Gritton) writes:

>brnstnd@nyu.edu writes:

>>Yo, wizards. (We all know who I'm talking to: a ``wizard'' in my book is
>>someone who can rewrite the system from scratch.) Here's a suggestion.

>>We're never going to successfully kill comp.unix.wizards but we can stop
>>pretending it works. It's a fact of USENET today that the naive newbies
>>(who for some reason always seem to outnumber the old hands) cannot cope
>>with the concept of a group dedicated to wizardly discussions.

>Really, expert-only subjects such as this will only work in an invitation-
>based mailing list. Only let non-wizard (but somewhat experienced) people
>like me join read-only. You shouldn't care who listens, only who talks.

Um, maybe I'm missing something obvious, but it looks like this group is
screaming for a moderator (and no, I'm not volunteering.)  Best of all
worlds - keeps out the "newbie" traffic, while allowing us non-wizardly
types (actually, I prefer "wizard in training" :) to soak up the Wisdom
of the Gurus.

Comments?  Complaints?  Volunteers?  Anyone?  Bueller?

	- Kevin
	karchie@cco.caltech.edu
From: hyatt@tsc.cs.unc.edu (Brant Hyatt)
Newsgroups: comp.unix.wizards
Subject: sigsetmask and setmask
Keywords: c system i/o SIGIO
Date: 9 Apr 92 16:21:51 GMT

Could someone please help me with sigsetmask and setmask?

The man page for sigsetmask isn't too revealing.  I'm trying to
block a particular signal, and I can't get setmask to work.  Can
someone give me a brief description of setmask?  Thanks!

Brant
Newsgroups: comp.unix.wizards
From: randy@rss.dl.nec.com (Randy Bullard)
Subject: Re: Okay, let's stop pretending this group works.
Organization: NEC America
Date: Wed, 15 Apr 1992 13:55:48 GMT

[lots deleted...]

|> A compromise might be an automated moderator.  Some site agrees to keep
|> a list of approved posters and house the moderator address.  A
|> relatively trivial program could then compare the From: address of
|> incoming submissions against the approval list.  Rejected messages
|> could be returned with an explanation (and perhaps instructions for
|> applying for a wizzy wizard membership).
|> 

[lots deleted...]

This exact idea popped into my mind the other day.  A server that screens
incoming messages and only posts those articles with the sender in the
approved 'wizard' list.  I don't think it would be necessary to worry too
much about forgeries.  We just want to cut down on the garbage traffic and
this type of mechanism would do that very well.  The criteria for actually
getting on the 'Wizard List' could be quite loose. Anybody that's going to
go to the trouble of submitting an application of some kind should pretty
much be allowed in.  This simple process would keep the newbies from posting
the standard 'how do I make a socket?' question.  Later after reading a
FAQ stating the application process and the rules governing the use of the
group and most importantly _where to go first for specific questions_ the
guy could ask to be on the 'Wizard List' if he really wanted.  It forces
newbies to _READ_ and _UNDERSTAND_ the FAQ before polluting the group.

-- 
- Randy Bullard  -    Dallas, TX randy@rss.dl.nec.com
					  Home (214)750-4934
					  Work (214)907-4463

| Have you ever rubbed your thigh with number 10 sandpaper and     |
| poured Red Devil turpentine on it?  I hate it when that happens. |
Newsgroups: comp.unix.wizards
From: tjj@cs.cornell.edu (T. James Jackson)
Subject: Virtual Addresses:How I get the ones *I* want
Organization: Cornell Univ. CS Dept, Ithaca NY 14853
Distribution: usa
Date: Mon, 13 Apr 1992 14:28:30 GMT


	Yo, Wizards -

	Conjure this:

	I would like to have a unix process capable of having access to
	virtual addresses starting at 0. (Such that a C pointer whose
	value is 0, points to the first byte in the address space, and the
	C Pointer whose value is 1 points to the second byte, etc. I
	use the C example for clarity only, my real concern is that
	the process at the machine level can write to address 0
	without dire consequences).
	
	I know that the mmap command (not universally available)
	allows devices to be mapped into a processes adress space, but
	I would like to be able have a datasegment/memory buffer/
	process address space/whatever that begins at 0.  The mmu is
	certainly capable of this, but my questions are

		1) Is this definitly impossible to do in UNIX
		2) If not, then how?
		3) What is wrong with me?

	RSVP via email to tjj@cs.cornell.edu.  I will summarize and
	post.

	Thanks in advance,

	-tjj
From: drmo@gnv.ifas.ufl.edu
Newsgroups: comp.unix.msdos
Subject: mss file formats?
Date: 17 Apr 92 08:29:18 -0500

I don't know if this is posted to the proper place, cause I have no clue
what the answer to my question is.

My problem is that I have a document file that I need to print.

It is in "mss" format.  I do not know what this  format is or how to
print it.  If you know what to do with one of these files, please
email me.

Thanks.

Drew Moseley


{this has been cross-posted}
Xref: sparky comp.unix.msdos:608 comp.sys.sun.misc:1825
From: rhaar@albert.cs.gmr.com (Bob Haar)
Newsgroups: comp.unix.msdos,comp.sys.sun.misc
Subject: Re: Reading PC/DOS diskettes on Sun 4 works
Date: 9 Apr 92 13:39:39 GMT
Reply-To: rhaar@albert.cs.gmr.com
Followup-To: comp.sys.sun.misc
Organization: G.M. Research Labs

|>In article <1992Apr7.160342.7158@syma.sussex.ac.uk> nealet@syma.sussex.ac.uk (Neale Type) writes:
|>
|>>Is there any software available which will copy direct from the
|>>workstation to the 3.5inch drive in msdos PC format???
|>
|>Try "mtools".  Available from the nearest comp.sources.* archive.  MUCH faster than
|>/pc-whatever-it-is...:)
|>--

The "home" of mtools is cerl.cecer.army.mil .

Mtools is a useful and widely used package of utilities for accessing
MS-DOS diskettes on UNIX systems. I run it on both my UNIXpc at home
and the SUn workstation in my office. It is much faster than the
SunOS /pcfs method.

But there is one drawback. You have to use a separate command set for
dealing with the files on the floppy drive. I also use a package
called mntdisk on the Sun thatallows non-root users to mount,
unmount, format and eject MS-DOS floppies through the pcfs
mechanism. Once a floppy is mounted this way, you can use all
the standard UNIX commands to manipulate the files there, including
your favorite text editors.

Mntdisk was posted quite a while back. It is probably in archival
storage somewhere.


---
	Robert Haar               InterNet : rhaar@gmr.com 
	Computer Science Dept., G.M. Research Laboratories
DISCLAIMER: Unless indicated otherwise, everything in this note is
personal opinion, not an official statement of General Motors Corp.
From: 00swpowers@bsu-ucs.uucp
Newsgroups: comp.unix.msdos
Subject: Need a UNIX system for PC...I think!
Date: 15 Apr 92 16:45:03 GMT
Article-I.D.: bsu-ucs.1992Apr15.114503.6461


Can someone enlighten me? Here is the problem:

I want to edit a MUD. It is located in California. I have permission
ot run it there, BUT the lag time is astronomical in editing AND I
can only edit/bring it up between hours of 12-8 Cali time...that is
4am MY time!!!!! SO, what I was wanting to do was find a UNIX for my
PC and use that instead to get the editing done.

1) Is there something that will allow me to do this?
2) Where can I get one?
3) Is this the right place to post for this?
4) I am a POOR college student...practically NO money...so if there is
   shareware or something to that effect...you get the idea!

Thanks...

-------------------------------------------------------------------------------
Scott W. Powers
Ball State University
00SWPOWERS@LEO.BSUVC.BSU.EDU     -- VAX
leppard@bsu-cs.bsu.edu           -- UNIX
From: oklein@smallo.bo.open.de (Olaf Klein)
Newsgroups: comp.unix.msdos
Subject: tcp/ip software for dos
Date: 15 Apr 92 02:08:36 GMT
Organization: Tief im Westen... [H.G.]

Hello,

I'M looking for tcp/ip software for Dos. The software must have:
1) vt220 (or similar, I need german "umlaute". I would like to have the
complete IBM character set, but this isn't necessary)
2) an lpd - I have to connect a printer to a PC with access from a
Unix-station (sparc-2) 
3) I need it fast...
4) It has to be cheaper than SUN-PCNFS, (together with a workstation,
I get almost an X-Terminal for the price - 1200 german marks or $750)

Bye, Olaf

-- 
Olaf Klein | oklein@smallo.bo.open.de | Fido-SubNet-Gate: 2:245/5800.12
Newsgroups: comp.unix.msdos
From: shgoh@leland.stanford.edu (Seow-Hiong Goh)
Subject: Telnet server for PC?
Organization: DSG, Stanford University
Date: Mon, 6 Apr 92 11:29:10 GMT


Is there a telnet server available for PCs?
Ie., I would like to be able to remote logon from my workstation to my
PC over the network into the DOS environment.
I am in particular looking for one that works with FTP software's
PC/TCP network package.

Thanks in advance for any suggestions/pointers.

SH
Newsgroups: comp.unix.msdos
From: rfarris@rfengr.com (Rick Farris)
Subject: Re: Telnet server for PC?
Organization: RF Engineering, Del Mar, California
Date: Sun, 12 Apr 92 04:33:40 GMT

shgoh@leland.stanford.edu (Seow-Hiong Goh) writes:

> Is there a telnet server available for PCs?


owenc@qut.edu.au (Chris Owen) replies:

> There is one in the Waterloo package.  I don't recall the
> FTP site, but the program is TELNETD.EXE in the archive
> APPS.ARC ... 

I guess Goh didn't explicitly state it, but I assumed that
he wanted the PC to be useable by others, at the same time
it was running the telnet daemon.  I think that once
telnetd.exe is running, the PC is useless for any other
work.

The only program I know of that turns a PC into a full,
multi-tasking member of a tcp/ip network is DESQview/X.

--
Rick Farris  RF Engineering POB M Del Mar, CA 92014  voice (619) 259-6793
rfarris@rfengr.com     ...!ucsd!serene!rfarris      serenity bbs 259-7757
From: erc@pogo.Corp.Sun.COM (Ed Carp)
Newsgroups: comp.unix.msdos
Subject: Re: Reading PC/DOS diskettes on Sun 4 workstations
Date: 7 Apr 92 23:18:44 GMT
Organization: Sun Microsystems, Mt. View, Ca.
NNTP-Posting-Host: pogo.corp.sun.com

In article <1992Apr7.160342.7158@syma.sussex.ac.uk> nealet@syma.sussex.ac.uk (Neale Type) writes:

>Is there any software available which will copy direct from the
>workstation to the 3.5inch drive in msdos PC format???

Try "mtools".  Available from the nearest comp.sources.* archive.  MUCH faster than
/pc-whatever-it-is...:)
--
Ed Carp                                      415/336-0797 (work)

++ UNIX  SysAdmin, Systems  Programming  Services,  Utilities ++
++ and Programmer Productivity Tools                          ++
From: nealet@syma.sussex.ac.uk (Neale Type)
Newsgroups: comp.unix.msdos
Subject: Reading PC/DOS diskettes on Sun 4 workstations
Date: 7 Apr 92 16:03:42 GMT
Organization: University of Sussex


Is there any software available which will copy direct from the
workstation to the 3.5inch drive in msdos PC format???


neale

-- 
------------------------------------------------------------------------------
Neale Type , Computing Service      ///   |   * Current UK Kickoff Champion *
University of Sussex, Falmer    \\\///    |     nealet @ syma.sussex.ac.uk 
England.   BN1 9QH               \X//     |      ccfe7 @ cluster.sussex.ac.uk
From: owenc@qut.edu.au (Chris Owen)
Newsgroups: comp.unix.msdos
Subject: Re: Telnet server for PC?
Date: 7 Apr 92 20:46:39 EST
Organization: Queensland University of Technology

In article <1992Apr6.112910.9979@leland.Stanford.EDU>, shgoh@leland.stanford.edu (Seow-Hiong Goh) writes:
> 
> Is there a telnet server available for PCs?
> Ie., I would like to be able to remote logon from my workstation to my
> PC over the network into the DOS environment.
> I am in particular looking for one that works with FTP software's
> PC/TCP network package.
There is one in the Waterloo package.  I don't recall the FTP site, but the
program is TELNETD.EXE in the archive APPS.ARC ... try archie.  It has its
own TCP/IP stack, so won't be compatible with FTP Software's stack.

Chris Owen                           | c.owen@qut.edu.au
Computer Based Education             | voice +61 7 864 2912
Queensland University of Technology  | FAX   +61 7 864 1525
Brisbane, Australia
Newsgroups: comp.unix.msdos
From: lye@fraser.sfu.ca (William Michael Lye)
Subject: Re: How to install Linux
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Sun, 12 Apr 1992 19:46:27 GMT

eeron@techunix.technion.ac.il (Ron Daisy) writes:

>Can some one tell me what is the way to get the bootdisk
>and the rootdisk for Linux installing?

There are a number of different ftp sites.  I usually ftp from tsx-11.mit.edu.

If you want more information, you can read the alt.os.linux (soon to disappear)
or comp.os.linux groups.  The FAQ seems to be posted at least once a week and
is available from most of the linux anon ftp sites. 
-- 
Bill Lye, lye@sfu.ca
SFU claims these views....NOT!
From: ken@psych.toronto.edu (Ken Seergobin)
Newsgroups: comp.unix.msdos
Subject: Solaris 2.0 - pricing ...
Date: 12 Apr 92 17:15:29 GMT
Distribution: na
Organization: Dept. of Psychology, University of Toronto

Sorry if this been discussed before.  I have been reading
this newsgroup for several weeks without seeing this
topic.

I am considering running Solaris 2.0 on a 486 machine.  However,
there are several problems.

1. How much disk space am I going to require for installation?
   (minimal installation -sans manpages and full installation) 
2. Pricing?  Real world and academic?
3. Is there going to be a huge difference in performance when
   considering ISA vs EISA and IDE vs SCSI?

If no hard facts are available I can live with speculation. 

Please respond by E-MAIL.

Thanks in advance,
Ken
From: dawson@vdbsan (Willard Dawson)
Newsgroups: comp.unix.msdos
Subject: Re: Where to find FAQ?
Date: 7 Apr 92 16:21:40 GMT
Distribution: usa
Organization: BellSouth Information Networks, Inc.

duncan@bolero.ati.com (Jim Duncan) writes:

>In article <56716@cup.portal.com> bszeto@cup.portal.com (Bailey G Szeto) writes:
>> 
>>What type of UN*X is available for pc's. What's the cost? Are they bsd or
>>att based? What kind  of hardware is needed to run it? Can it exist 
>>concurrently with dos? Is there a version of X available? etc etc..
>> 
>One interesting alternative is Coherent.  MWC will be making an
>announcement regarding their new Coherent 386 product in the May issue
>of BYTE magazine.  It will surely coexist with DOS.  This UN*X OS also
>will likely have an attractive price and good documentation.  
--------------------------------------------------------------------------------
Just EXACTLY what do you mean by "exist concurrently with dos" and "coexist with
DOS?"  Reside on the same hard disk, but in separate partitions?  Are you really
asking for a system that will allow you to run either MS-DOS or UN*X applica-
tions?  Would you be able to live with VP/ix or DOSMerge?  Why do you not see
people asking if they can run DOS applications under VMS, or Ultrix, etc.?
Because users of these more powerful operating systems have become accustomed
to applications that have very little in common with the world of DOS.  I can
appreciate the desire not to lose one's investment in software purchased for
MS-DOS platforms.  However, I don't really like the idea that the $3000 I spent
for my '486 machine last year is at least $1000 more than I'd spend now, either.
You won't be happy with any system that allows you to run DOS underneath, or in
conjunction with, UN*X.  Any such system will be an absolute dog.  Go ahead,
prove me wrong.  I dare you.

-- 
Willard Dawson, BellSouth Advanced Networks, 1100 Johnson Ferry Road, Ste. 900
Atlanta, GA  30342, Voice: +1 404 847 2900, UUCP: gatech!vdbsan!willard!dawson
Internet -> X.400:  /G=W/S=DAWSON/O=BSAN/ADMD=BELLSOUTH/C=US/@sprint.com
Standard disclaimer applies.
Newsgroups: comp.unix.msdos
From: randy@rss.dl.nec.com (Randy Bullard)
Subject: Re: Reading PC/DOS diskettes on Sun 4 workstations
Organization: NEC America
Date: Tue, 7 Apr 1992 18:31:45 GMT

In article <1992Apr7.160342.7158@syma.sussex.ac.uk>, nealet@syma.sussex.ac.uk (Neale Type) writes:
|> 
|> Is there any software available which will copy direct from the
|> workstation to the 3.5inch drive in msdos PC format???
|> 

Yes, do a 'mount /pcfs'.  See the man pages for 'pcfs' for all the details on how
to mount a dos floppy as a directory.

But I've got another question....  Using 'mount /pcfs' requires root access and
I'm unable to convince my management to either give me root access or give me a
root owned script that changes uid to root and does the mount.

Is there any way to read/write to a DOS floppy _OTHER_ than using mount /pcfs on a
Sparcstation?  I obviously have read/write access to the floppy because I can tar/bar
to the device (/dev/rfd0).  Any ideas?

-- 
- Randy Bullard  -    Dallas, TX randy@rss.dl.nec.com
					  Home (214)750-4934
					  Work (214)907-4463

| Have you ever rubbed your thigh with number 10 sandpaper and     |
| poured Red Devil turpentine on it?  I hate it when that happens. |