From: Jeff Noxon <jeff@planetfall.com>
To: axp-list@redhat.com
Subject: Re: Linux Programming...
Date: Tue, 27 Oct 1998 14:02:11 -0600 [thread overview]
Message-ID: <19981027140211.A18867@planetfall.com> (raw)
In-Reply-To: <Pine.BSI.3.95.981027142710.9960A-100000@shell1.cybercom.net>; from Keith Baker on Tue, Oct 27, 1998 at 02:37:50PM -0500
Egads! A delay loop on a multitasking system!
What you want to do is not difficult.
This will provide some instant enilghtenment and gratificaion:
Unix Programming FAQ
http://www.cis.ohio-state.edu/text/faq/usenet/unix-faq/programmer/faq/faq.html
For the parallel port, there are Linux HOWTO's on the subject. Search for
the Linux Documentation Project.
For Unix programming in general, run (don't walk) out and buy W. Richard
Steven's books on the topic. IIRC, Advanced Programming In The Unix
Environment is the title of the one you want to buy right away. He also
has excellent books on network programming.
One last word of advice: Writing setuid programs is not for the novice
if security is a concern at all.
Regards,
Jeff
On Tue, Oct 27, 1998 at 02:37:50PM -0500, Keith Baker wrote:
> I have a basic knowledge of C and C++ programming. What I would like to
> get is some links/information on interrupts,threads, and parallel ports.
> I can't even find a way to pause my machine for a certail period of time
> without doing a loop to slow it down... Where is all of this wonderfull
> info... I'd like to have a process which "wakes up" every 1/30 of a
> second or so, does its task which is simple i/o and then goes back to
> sleep. Oh yeah... one catch... The data to output needs to be shared
> with another process. Is two seperate processes really the way to go? If
> not, how do I create this non-linear time based jumping?
> Should I just go jump off a bridge instead? Do I know to little to
> attempt thease things? Oh yeah... How do I use the parallel port in
> linux... I know I could use a setuid root program and ioperm but I'd like
> to be able to access my device from joe shmoe user... it is a simple box
> which takes two different inputs... its a small DMX interface (A lighting
> protocol).. you strobe a pin to make it klisten for dimmer info and
> strobe another to make it listen for level info... do I need to write a
> kernel driver for this? If so, what resources should I look at?
next prev parent reply other threads:[~1998-10-27 20:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-27 2:26 NIC's Steve G
1998-10-27 6:36 ` NIC's Maurice Hilarius
1998-10-27 17:09 ` NIC's Steve G
1998-10-27 17:56 ` NIC's Michal Jaegermann
1998-10-27 19:37 ` Linux Programming Keith Baker
1998-10-27 20:02 ` Jeff Noxon [this message]
1998-10-27 20:07 ` Paul Tomblin
[not found] ` <Pine.BSI.3.95.981027142710.9960A-100000@shell1.cybercom.ne t>
1998-10-27 21:03 ` Alessio Sangalli
1998-10-27 17:23 ` NIC's Wes Bauske
1998-10-27 8:41 ` NIC's W Darlington
-- strict thread matches above, loose matches on Subject: below --
1998-02-26 16:02 Linux programming David Tucker
[not found] <Pine.BSI.3.95.980225224400.10514A-100000@shell1.cybercom.net>
1998-02-26 3:59 ` Michal Jaegermann
[not found] <19980226032654.25200.qmail@hotmail.com>
1998-02-26 3:46 ` Keith Baker
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox