Linux-Development-Sys Digest #781, Volume #7 Mon, 17 Apr 00 10:13:19 EDT
Contents:
Re: device driver development (Mei)
mawk ("Hook")
Re: Simple but confusing C code query... (Johan Kullstam)
Re: Where are the environment variables? ([EMAIL PROTECTED])
Re: How do I make a program run on localhost:200 ("Benjamin R Heath")
Re: Simple but confusing C code query... (Mike Dowling)
Re: What's the difference between bzImage and zImage (greg)
Code reviewers wanted (Manon Kwint)
Code reviewers wanted (Arnaud Westenberg)
Timerinterrupt ([EMAIL PROTECTED])
Questions on C GUI development for X/Linux (Michael Hopkins)
Re: delay start up for somve services ("Stephen Kennedy")
Re: MICROSOFT IT THRU! MICROSOFT IS THRU! ("Drestin Black")
Re: MS caught breaking web sites ("Drestin Black")
How do you generate UUID under Linux? ("James Ricci")
From: Mei [EMAIL PROTECTED]
Subject: Re: device driver development
Date: Mon, 17 Apr 2000 12:39:05 +0200
Reply-To:
[EMAIL PROTECTED]
Rick Ellis ha scritto:
The rmmod works with the name of the driver without .o suffix. So in you load
it with
insmod driver.o
you must remove with
rmmod driver
Have the .o works for me:
[root@dualpritest dvg]# rmmod mvclni2sngl.o
[root@dualpritest dvg]#
It's strange. It doesn't work for me with .o. It says that driver.o doesn't
exist.
Ciao Mei
--
From: "Hook" [EMAIL PROTECTED]
Subject: mawk
Date: Mon, 17 Apr 2000 11:41:37 +0100
Can anyone tell me were can I find mawk for redhat 6.0, I need it for the
hylafax program.
please.
--
Crossposted-To:
uk.comp.os.linux,uklinux.help.newbies,comp.os.linux.development,comp.os.linux.questions,comp.os.linux.development.apps
Subject: Re: Simple but confusing C code query...
From: Johan Kullstam [EMAIL PROTECTED]
Date: Mon, 17 Apr 2000 11:54:05 GMT
[EMAIL PROTECTED] writes:
In comp.os.linux.development.system Johan Kullstam [EMAIL PROTECTED] wrote:
: you need to link with the math library libm.
: $ gcc prog.c -o prog -lm
: (yes this is stupid and libm should have been rolled into libc about
: 20 years ago but here we are.)
Excluding libm from libc makes sense if it allows you to build
executables which don't have any floating point code in them
at initialization time. Such executables run faster since the
kernel can notice this and won't bother swapping the floating
point registers on each context switch.
right, but if libm were available and you used nothing from it, would
it still link in? could you make it do the right thing?
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!
--
From: [EMAIL PROTECTED]
Subject: Re: Where are the environment variables?
Date: Mon, 17 Apr 2000 12:30:17 +0100
HPBudlong [EMAIL PROTECTED] wrote:
: RE: Where are the environment variables?
: bash, sh, and ksh and similar shells use environment variables such as $PS1,
: $PS2. printenv lists some but not all of these, e.g. $PS1 is listed, $PS2 is
: not, though $PS2 clearly has a value and shows up with
: echo $PS2
: This is true with other environment variables as well.
: Why don't they all show up in printenv?
Have a look at the `export' command in the bash manpage.
Rich.
--
[EMAIL PROTECTED] | Free email for life at: http://www.postmaster.co.uk/
BiblioTech Ltd, Unit 2 Piper Centre, 50 Carnwath Road, London, SW6 3EG.
+44 171 384 6917 | Click here to play XRacer: http://xracer.annexia.org/
--- Original message content Copyright © 2000 Richard Jones ---
--
From: "Benjamin R Heath" [EMAIL PROTECTED]
Crossposted-To: comp.unix.questions,comp.unix.programmer,comp.os.linux.development.apps
Subject: Re: How do I make a program run on localhost:200
Date: Mon, 17 Apr 2000 07:13:19 -0500
"Peet Grobler" [EMAIL PROTECTED] wrote in message
news:38fabdf5$0$[EMAIL PROTECTED]...
Okay, I assume this must be possible, otherwise nobody would be using
UNIX.
Anyways, running Mandrake Linux 7.0 at home. I was thinking, how would you
make a program run on a specified port?
E.g. in /etc/inittab, you have an entry that respawns getty on tty1 to
tty6.
I want to do something like that, just on a specified port.
E.g. let's say I wrote a special getty program. I want it to sit on port
200, waiting for connections. Do I have to write the program to
specifically
open a port, or can I use some script somewhere to get the program's stdin
to be changed to a port???
Any help appreciated
Take a look at inetd, it will start a program and set up stdin as input from
your socket and stdout as output to your socket. You have to add an entry
to inetd.conf I believe, but that's about it.
--
From: [EMAIL PROTECTED] (Mike