Linux-Development-Sys Digest #338, Volume #6 Wed, 27 Jan 99 23:14:03 EST
Contents:
Re: - deprecated - why? (david parsons)
latest glibc (Timothy K Canfield)
Re: sendmail-8.9.2 claims that "seteuid" is broken - True? (Chris Rankin)
Re: Find a good free book? (Loren Osborn)
Re: compiling java script ("Richard Payne")
Re: Creating pty and tty devices (Kevin Turnquist)
assert() change (gilley)
Re: Parallel C for Linux (gilley)
Re: LILO and 10 GB drives (bill davidsen)
Re: Need help with XFree (JP)
Re: Number of Processes and Sockets (Adam P. Jenkins)
LEAF Project home page launched (Ross Vandegrift)
Re: latest glibc (Paul Kimoto)
Re: things I'd pay to have developed for Linux... ("Keith G. Murphy")
Re: HELP: ISO 9660 File System (Tjeerd Mulder)
Re: Modest next goal for Linux (bill davidsen)
Re: Modest next goal for Linux (Loren Osborn)
Re: Why I'm dumping Linux, going back to Windblows ("Phillip Low")
----------------------------------------------------------------------------
From: o r c @ p e l l . p o r t l a n d . o r . u s (david parsons)
Subject: Re: - deprecated - why?
Date: 27 Jan 1999 16:17:03 -0800
In article <77k1jk$k0o$[EMAIL PROTECTED]>,
Frank T. Lofaro <[EMAIL PROTECTED]> wrote:
>What the heck is Unix98, anyway?
The commercial Unix world rolling over and giving the market to
NT, that's what.
>How is it diffrent than POSIX, X/OPEN, FIPS, etc?
It's *new*, and it's *improved*, and it's *better* because it's
*new* and *improved*.
____
david parsons \bi/ First, we kill all the standards committees.
\/
------------------------------
From: Timothy K Canfield <[EMAIL PROTECTED]>
Subject: latest glibc
Date: Wed, 27 Jan 1999 20:10:56 -0500
What is the latest glibc. gnu's site only seems to have 2.0.6, is this
the latest one> It seems old.
Where can I get the latest one?
Thanks
------------------------------
From: Chris Rankin <net.bellsouth@{no.spam}rankinc>
Subject: Re: sendmail-8.9.2 claims that "seteuid" is broken - True?
Date: Wed, 27 Jan 1999 13:53:51 GMT
Villy Kruse wrote:
> Anyone run the test program to verify that seteuid is still broken?
Nope, cos I didn't know it existed. However now that I do ... (hang on):
$ t_pathconf
pathconf(.) returns 1, errno = 0
pathconf(Ta05639) returns 1, errno = 0
fpathconf(Ta05639) returns 1, errno = 0
fpathconf claims that chown is safe and fchown agrees
$ t_setreuid
initial uids (should be 500/0): r/euid=500/0
after setreuid(0, 1) (should be 0/1): r/euid=0/1
after setreuid(-1, 0) (should be 0/0): r/euid=0/0
after setreuid(realuid, 0) (should be 500/0): r/euid=500/0
after setreuid(0, 2) (should be 0/2): r/euid=0/2
after setreuid(-1, 0) (should be 0/0): r/euid=0/0
after setreuid(realuid, 0) (should be 500/0): r/euid=500/0
It is safe to define HASSETREUID on this system
$ t_seteuid
initial uids (should be 500/0): r/euid=500/0
after seteuid(1) (should be 500/1): r/euid=500/1
seteuid(0) failure
after seteuid(0) (should be 500/0): r/euid=500/1
MAYDAY! Wrong effective uid
seteuid(2) failure
after seteuid(2) (should be 500/2): r/euid=500/1
MAYDAY! Wrong effective uid
seteuid(0) failure
after seteuid(0) (should be 500/0): r/euid=500/1
MAYDAY! Wrong effective uid
This system cannot use seteuid
Well that seems to settle that... unless someone has a comment on the
t_seteuid program itself.
Cheers,
Chris.
------------------------------
From: Loren Osborn <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.development.apps
Subject: Re: Find a good free book?
Date: Wed, 27 Jan 1999 00:33:01 -0800
Malsi wrote:
>
> Hello,
>
> I am trying to find a very good book (free) available on the Internet (like
> Thinking Java, for Java) about Linux : install, configure, superUser,
> Networking, etc... Thank you...
>
> Hicham
Well the Linux Documentation Project
(http://metalab.unc.edu/LDP/ldp.html) includes (in addition to man
pages, and HOWTOs) 8 books in various stages of production or
development... Most notably I'd recommend the "Installation and Getting
Started Guide"... It's a bit dated, but has alot of good material.
Best of luck,
Loren
------------------------------
From: "Richard Payne" <payner at timken dot com>
Subject: Re: compiling java script
Date: Wed, 27 Jan 1999 08:51:16 -0500
Ummm... Javascript is not the same thing as Java. The tools you
have listed at the bottom are Java tools, not JavaScript tools. May
I suggest you post you questions to a JavaScript forum?
--
Rich Payne
(Speaking for myself, not my employer)
payner at timken dot com
Looking for Alpha-Linux info?
http://www.alphalinux.org
Raanan Nitzen wrote in message <[EMAIL PROTECTED]>...
>Hy , i have a java script file proxy.pac which i'm downloading for a
>server i'm building.
>I tried to compile the pac file with jdb ,kaffe ,guavac but its'nt
>compiling.
>how can i compile and also how can i used the executable file inside a
>server written in c .
>thanks raanan.
>
>
>e.g. : the pac file is:
> function FindProxyForURL (url, host)
> { ...........
>
>
>
------------------------------
From: Kevin Turnquist <[EMAIL PROTECTED]>
Subject: Re: Creating pty and tty devices
Date: 28 Jan 1999 01:06:26 GMT
Juergen Heinzl <[EMAIL PROTECTED]> wrote:
: In article <78nkm7$lmm$[EMAIL PROTECTED]>, Kevin Turnquist wrote:
: > I need to create new pty and tty devices with different major numbers
: >than the defaults (I believe I need to have major 3 for tty and major 2
: >for tty). As of yet, however, I haven't figured out how to do this. I've
: >tried using mknod, but it always complains of either "too many" or "too
: >few" arguments. Is there a nice only tutorial or HOWTO bouncing around
: >that explains the process?
: You either can modify the MAKEDEV script you've got ... or you will have
: soon or for just the necessary ones ...
: mknod -m 0644 ttyp0 c 3 0
: ... for instance or ...
: i=0
: for j in 0 1 2 3 4 5 6 7 8 9 a b c d e f
: do
: mknod -m 0666 ttyp${j} c 3 ${i}
: chown root.tty ttyp${j}
: i=$(( i + 1))
: done
: ... not very spiffy but it does the job.
Excellent. Thanks, just what I was looking for.
: --
: \ Real name : J�rgen Heinzl \ no flames /
: \ EMail Private : [EMAIL PROTECTED] \ send money instead /
: \ Phone Private : +44 181-332 0750 \ /
------------------------------
From: gilley <[EMAIL PROTECTED]>
Subject: assert() change
Date: Wed, 27 Jan 1999 19:51:22 -0500
This is probably pretty stupid but...
What incompatibilities, problems would this change cause?
in assert.h
#ifdef NDEBUG
# define assert(expr) expr /* changed from assert(expr)
((void*)0) */
//////////////////////////////////////
this lets you do
assert(i = malloc(10)); //some real work inside the assert
instead of
i = NULL;
i = malloc(10);
assert(i != NULL);
#ifdef NDEBUG
you would get
i = malloc(10);
It is a small change but promotes invariance programming.
------------------------------
From: gilley <[EMAIL PROTECTED]>
Subject: Re: Parallel C for Linux
Date: Wed, 27 Jan 1999 19:56:53 -0500
Loren Osborn wrote:
> Tom Goodale wrote:
> >
> > Vitor Pedro Bonucci Pias wrote:
> > >
> > > I have my system running Dual pentium II 450.
> > >
> > > The system runing fine with kernel-2.2.0-pre7,
> > >
> > > and i would like to know if there is a Parallel C
> > >
> > > compiler for Linux to explore the Parallelisme.
> > >
> > > Thanks
> > >
> > > Pedro Pias
> >
> > I don't know of any parallel c compilers, but if you can put up with
> > distributed memory parallelism, you could use pvm or mpi.
>
> If you're talking about compile-time exploitation of parallelism, I
> believe that there is a parallel version of 'make' that which will
> compile several files simulteaneously.
>
> Loren
You could start by playing with pthreads. On another ng yesterday
there
as a short thread :) on using a pthread function, (I forget which,
I've never
done this) to lock a pthread into a specific cpu. Just in the general
sence
of running this thread on cpu0 and another on cpu1 etc.
just my 0.5 cent, sean
------------------------------
From: [EMAIL PROTECTED] (bill davidsen)
Crossposted-To: comp.os.linux.hardware
Subject: Re: LILO and 10 GB drives
Date: 27 Jan 1999 16:04:03 GMT
In article <781hte$hqf$[EMAIL PROTECTED]>,
Dr A O V Le Blanc <[EMAIL PROTECTED]> wrote:
| This is a bit confused. The boot loader boots the kernel, and the
| kernel uses some partition as the root partition. The root partition
| can be anywhere, but the kernel and the boot loader may not be
| so free. Some boot loaders (e.g., LILO), require that the kernel is
| physically located below the 1024 cylinder line. If this is the
| case on your system, and if your root partition is at least partially
| above the line, you may wish to mount as the directory /boot a
| smaller partition from below the line, and to store your kernel
| there. Alternatively, you may store your kernel on another partition
| (such as a DOS partition) which is below the line.
|
| The second question is this: where is the boot loader located?
| The first stage of a boot loader may be located in the Master Boot
| Record of a disk, or it may be located in the start of any partition
| on the disk. The second stage of a boot loader (assuming it has
| two stages) may be located anywhere. LILO has the restriction that
| its first and second stages, as well as the map file which it constructs
| when it is installed, must be below the 1024 cylinder line. Normally
| the second stage of LILO (boot.b) and its map file are kept in the
| /boot directory. So normally the partition /boot is on, whether it
| is the root partition or something separately mounted, must be
| below the 1024 cylinder line.
To beat people over the head with it, as long as the 2nd half of the
boot, system map and kernel are below 1024, they can be anywhere.
Slackware by default boots /vmlinux for example.
My development system boot partition usually has an absolute minimum of
four kernels, one uni and one SMP production kernel, and one of each
I'm testing. And many of my machines have a 2.0.36 uni kernel as well,
in case I want to be *sure* some behaviour is stable on all common
kernels. I have /boot as a separate partition, but there's no
requirement for that at all.
--
bill davidsen <[EMAIL PROTECTED]> CTO, TMR Associates, Inc
"Too soon we grow old, and too late we grow smart" -Arthur Godfrey
------------------------------
From: JP <[EMAIL PROTECTED]>
Subject: Re: Need help with XFree
Date: Wed, 27 Jan 1999 20:58:23 -0600
Loren Osborn wrote:
> JP wrote:
> >
> > Loren Osborn wrote:
> >
> > > JP wrote:
> > > >
> > > > I am trying to run XFree with my TNT AGP card. I set the Xconf for Riva
> > > > 128 and 4MB. I run XFree, and it displays at 320x320. Argh! How do I get
> > > > larger desktop sizes, ala 1024x768?
> > > > I'm a newbie, so please make any advice simple to understand =)
> > > >
> > > > --
> > > > JP
> > >
> > > I'm not familiar with your video card (it might not be supported) but
> > > have you tried to run XF86Setup? (having your video-card/monitor/mouse
> > > manuals --if any-- nearby is useful.) Hope that helps....
> >
> > How? Seriously, is this a program in Linux? I am using RedHat 5.2.
>
> Yes... It comes with XFree86 which is part of RedHat Linux... just login
> on the
> console... 'su' to 'root'. Type 'locate XF86Setup | grep bin' (to find
> out where XF86Setup is in your filesystem), then run it.
>
> Best of luck,
>
> Loren
I tried it, but to no avail. It apparently does not exist in my installation of
Linux. Linux did come with another CD, which I have never needed, nor do I know
how to access it in Linux. Perhaps this CD has the program? My installation was as
a workstation, if that matters. Also, the Ctr-Alt +/- didn't work either.
Suggestions =)?
--
JP
------------------------------
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Number of Processes and Sockets
From: [EMAIL PROTECTED] (Adam P. Jenkins)
Date: 27 Jan 1999 11:16:00 -0500
Vadim Penzin <[EMAIL PROTECTED]> writes:
> "Adam P. Jenkins" wrote:
>
> > How about setrlimit :-) It's described in the same man page as
> > getrlimit. There probably is some hard limit on the max number of
> > open file handles, but I assume it's higher than 256.
>
> First, I can't allow my code to run as suid -- this is required to
> perform setrlimit (). Second, both rlim_cur and rlim_max are equal
> on my system (To remind you, I am running Red Hat 2.0.32 on an
> i686). If you'd like to see what's about yours see the attached
> code.
Ok, I stand corrected. The max-file-descriptors-per-process on my
system is 256 also, though the max # of child processes is 999 on my
system, not 256. I assume these limits are just defines in the kernel
somewhere though. Anyone know what you need to change to increase
these?
--
Adam P. Jenkins
[EMAIL PROTECTED]
------------------------------
From: Ross Vandegrift <[EMAIL PROTECTED]>
Subject: LEAF Project home page launched
Date: Wed, 27 Jan 1999 22:22:48 -0500
Reply-To: [EMAIL PROTECTED]
Well, after work today, I sat down and coded a mixer. It's quick and
it's dirty, but it seems to work okay. If you're one of the people who
was interested in getting the LEAF project started, go check out the
source I have posted at http://www.erols.com/vandegrift/index.html. The
code, when compiled, takes an arbitrary number (Well, I've tested up to
five waves...) of waveforms (8-bit, 8000hz, linear) and downsamples,
then mixes each. I have included a copy of Jeff Tranter's wave program
so you can generate sounds to play with. It is, of course, covered
under the GPL, but I just wanted to get the code out there, so no there
is no copy included and I didn't take the time to put the notice at the
top of all the files. I assume no responsibility, blah blah blah.
If you fix something, add something, or would like to contribute, drop
me a line at [EMAIL PROTECTED]
--
Ross Vandegrift | Eric J. Fenderson
A novice was trying to fix a broken Lisp machine by turning the power
off and on. Knight, seeing what the student was doing spoke sternly:
"You can not fix a machine by just power-cycling it with no
understanding of what is going wrong." Knight turned the machine off
and on. The machine worked.
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: latest glibc
Date: 27 Jan 1999 22:28:30 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Timothy K Canfield wrote:
> What is the latest glibc. gnu's site only seems to have 2.0.6, is this
> the latest one> It seems old.
>
> Where can I get the latest one?
You probably want 2.0.7pre6, which can be found at
ftp.us.kernel.org/pub/software/libs/glibc .
(Non-USAns should substitute the appropriate country
code for "us" in the hostname.)
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: "Keith G. Murphy" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.misc,comp.os.linux.development.apps,comp.os.linux.hardware
Subject: Re: things I'd pay to have developed for Linux...
Date: Wed, 27 Jan 1999 09:35:16 -0600
Reply-To: [EMAIL PROTECTED]
Thomas Zajic wrote:
>
> Keith G. Murphy wrote:
> > Hmmm. Too bad you can't (apparently) easily (at all?) get hold of the
> > volume label from Linux.
>
> Ummm ... maybe I�m missing something obvious here, but - is there
> anything wrong with �e2label� or �tune2fs -L�? True, that still
> doesn�t solve the problem for any non-ext2fs partitions (except
> maybe FAT & its derivatives, but that shouldn�t be too hard).
>
I think I'm missing something non-obvious. I actually had looked
through my "Linux in a Nutshell" before posting my last message, and
found nothing. It doesn't mention 'e2label', or the '-L' option of
tune2fs. I'll have to look at those.
Oh, well, I did say "apparently". At least I didn't make a categorical
statement and look like an ass! >:-)
------------------------------
From: Tjeerd Mulder <[EMAIL PROTECTED]>
Subject: Re: HELP: ISO 9660 File System
Date: Wed, 27 Jan 1999 16:07:15 +0000
To get the absolute sector addresses on the disk you can use the FIBMAP
ioctl call. Get the sources of lilo for some examples.
Javier Reyes schrieb:
> I need to make a program that makes a catalog of all the files and
> directories of a cd-rom.
> The program also has to find the absolute sector on the disc of each
> file.
--
======================================================================
Tjeerd Mulder ! Email: [EMAIL PROTECTED]
Siemens Nixdorf AG !
SNI PC ESK COM !
Buergermeister Ulrichstr 100 ! Phone: +49 821 804 3549
86199 Augsburg ! Fax : +49 821 804 3934
======================================================================
------------------------------
From: [EMAIL PROTECTED] (bill davidsen)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Modest next goal for Linux
Date: 27 Jan 1999 16:28:56 GMT
In article <78dro7$qs5$[EMAIL PROTECTED]>,
Tim Smith <[EMAIL PROTECTED]> wrote:
| In article <78db8c$g43$[EMAIL PROTECTED]>, Leslie Mikesell <[EMAIL PROTECTED]> wrote:
| >The easy way is to run two machines. Run nothing but the Xserver
|
| Another easy way to solve the problem is to run NT, which seems to handle
| running out of memory better than Linux 2.0.x does.
Of course NT requires 28MB more memory than Linux for a base system
(32MB vs. 4MB), and if the original poster put that much memory in his
machine he wouldn't have much of a problem.
Unless some guru knows a trick, it take 32MB to install NT (but it will
run in something less).
--
bill davidsen <[EMAIL PROTECTED]> CTO, TMR Associates, Inc
"Too soon we grow old, and too late we grow smart" -Arthur Godfrey
------------------------------
From: Loren Osborn <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Modest next goal for Linux
Date: Wed, 27 Jan 1999 08:12:02 -0800
[EMAIL PROTECTED] wrote:
>
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (jedi)
>wrote:
> >On Tue, 26 Jan 1999 07:18:00 GMT, [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> wrote:
> >>In article <78jbh0$aoi$[EMAIL PROTECTED]>, "John De Hoog" <[EMAIL PROTECTED]> wrote:
> >>>But what is this slowness I notice whenever trying to get a long list of
> >>>files to display on Linux?
> >>
> >>Are you using colour ls? If so, things display much faster without colour, as
> >>it doesn't have to futz around determining what colour each file should be.
> >
> > I use color ls without any noticable slowdown.
>
> Try listing a directory with 1000 or so files with colour ls, then try it
> without colour turned on. At least on my system (P200), anyone who can't tell
> the difference in speed has problems. ;)
Actaully, the slowness isn't from the the color itself, but with the
file information:
When displaying a simple (no special options & no color) ls, ls only
reads each *directory* where there are files... The directory contains
the filename and i-node location only, and that's all the info a simple
ls needs.
When displaying a color ls (or even an 'ls -l' with color turned off),
ls needs to open every single i-node to gather such info as file
permissions, file-size, owner, etc. Try it. You should find that a
color ls should take just about as long as an 'ls -l' with color turned
off.
Regards,
Loren
------------------------------
From: "Phillip Low" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.setup
Subject: Re: Why I'm dumping Linux, going back to Windblows
Date: Wed, 27 Jan 1999 18:58:47 -0900
Right on. I've always felt first time user manuals should be written by
first time users, as they are walked through the procedure/program making
all the right mistakes for us other first time users to profit from.
Engineers/programers write lousy manuals for beginners - because they forgot
how first time users see things. Coming from a Windows environment I need to
read a manual writen by someone who also came from a Windows background and
knows how I see things and where I'm likely to stumble.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.development.system) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Development-System Digest
******************************