*BSD News Article 2741


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!news.univie.ac.at!news.tu-graz.ac.at!fstgds01!chmr
From: chmr@fstgds01.tu-graz.ac.at (Christoph Robitschko)
Subject: 386bsd: select(2) on com port and other questions
Message-ID: <1992Jul29.163213.7921@news.tu-graz.ac.at>
Sender: news@news.tu-graz.ac.at (USENET News System)
Nntp-Posting-Host: fstgds01
Organization: Technical University of Graz, Austria
Date: Wed, 29 Jul 92 16:32:13 GMT
Lines: 18

Well, for the first part: I tried select(2) on /dev/com2 and it says
there is something to read (although there is nothing to read). 
A followng read then blocks (or returns EAGAIN if O_NONBLOCK is set).
This works well on the console. Any hints ? workarounds ? fixes ?

I also found that stty from the bin01 distribution cannot set the baud rate.
I recompiled it and everything works.

Another question: Where can I find the patch for ps.c (or kvm.c) so
that ps u works ? Where is the kern_execve.c that supports #! lines and
checks file permissions (rather than checking for owner-execute rights) ?
I did not find these on agate.

							Christoph
-- 
------------------------------------------------------------------------
Christoph M. Robitschko  | "the only man who got his work done by Friday
chmr@edvz.tu-graz.ac.at  |             was Robinson Crusoe."