Linux-Misc Digest #522, Volume #24 Fri, 19 May 00 04:13:02 EDT
Contents:
Re: /opt verus /usr/local (Tom Fawcett)
Re: WYSIWYG web page generator ("Matt O'Toole")
tar question (juan angel uribe)
Re: time keeping correct (lindoze 2000)
Re: linux time keeping... (lindoze 2000)
Telnet to SCO 5.0.4 being terminated ("Rick B. Beer")
Re: Need ideas for university funded project for linux (Leslie Mikesell)
Re: tar question (Paul Kimoto)
Re: /opt verus /usr/local (Thomas Zajic)
Re: IPFilter vs IPChains ("Christian Casteyde")
Re: Need ideas for university funded project for linux (David Steuber)
Re: Need ideas for university funded project for linux ("Peter T. Breuer")
Re: How to print page range in Netscape/Linux (Achim Linder)
Re: Rack-mounting machines (Leslie Mikesell)
Re: DVD ROM Setup (Eric)
Re: WYSIWYG web page generator (Mark Wilden)
Re: WYSIWYG web page generator (Mark Wilden)
Re: LILO 1024 cyl thing ("Quiney, Philip [HAL02:HH00:EXCH]")
Re: WYSIWYG web page generator (Mark Wilden)
----------------------------------------------------------------------------
From: Tom Fawcett <[EMAIL PROTECTED]>
Subject: Re: /opt verus /usr/local
Date: 18 May 2000 22:23:39 -0700
Are you all unaware of the Filesystem Hierarchy Standard?
(http://www.pathname.com/fhs/2.0/fhs-toc.html)
Or are you disagreeing about what it says?
-Tom
------------------------------
Reply-To: "Matt O'Toole" <[EMAIL PROTECTED]>
From: "Matt O'Toole" <[EMAIL PROTECTED]>
Subject: Re: WYSIWYG web page generator
Date: Thu, 18 May 2000 22:30:04 -0700
"JEDIDIAH" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On Thu, 18 May 2000 20:57:19 GMT, John Hasler <[EMAIL PROTECTED]> wrote:
> >Mark Wilden writes:
> >> To those of us who write commercial sites, the look can be _more_
important
> >> than the content.
> >Io those of us who read commercial sites the look almost always gets in
the
> >way of the content. The overwhelming majority of commercial sites are
> >ugly, overcomplicated, full of spurious graphics, and hard to use.
> This can even be viewed as a drag by the upper management of
> those very same companies...
The trouble with most commercial sites is that there is no content, a fact
that companies try to disguise by distracting readers with graphics.
Matt O.
------------------------------
From: juan angel uribe <[EMAIL PROTECTED]>
Subject: tar question
Date: Thu, 18 May 2000 22:38:03 -0700
Reply-To: [EMAIL PROTECTED]
How can I tar a directory or file?
I have the directory foo. How can I tar it and also keep the original?
I have tried
$ tar czv foo
and I get a bunch of garbage on my screen.
I have looked at the man page and searched on linuxnewbie.org but to no
avail.
hopefully somone can help me
-juan
------------------------------
From: lindoze 2000 <[EMAIL PROTECTED]>
Subject: Re: time keeping correct
Date: Fri, 19 May 2000 01:40:25 -0400
David Efflandt wrote:
>
> On Fri, 14 Apr 2000, Chris Carovich <[EMAIL PROTECTED]> wrote:
> >what's the easiest way to sync my linux box with our timeserver on the lan?
> >the timekeeper runs NTP
>
> ntpdate from the xntp package. To set the hardware (CMOS) clock to same
> time as system clock use setclock (RedHat), or possibly clock -w in other
> distros.
>
cool! I've been looking for ntpdate for a long time. I just forgot it
was called ntpdate.
these two progs. work great together:
ntpdate time-nw.nist.go
hwclock --systohc
> --
> David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
> http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
> http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
--
*************************************************
Please add your thoughts and ideas to
My Experiment: http://www.fusionplant.com/
This is a not a .COMmercial site, but
rather a tiny .ORGanization.
*************************************************
------------------------------
From: lindoze 2000 <[EMAIL PROTECTED]>
Subject: Re: linux time keeping...
Date: Fri, 19 May 2000 01:47:16 -0400
[EMAIL PROTECTED] wrote:
>
> You have 2 clocks the software and hardware clock. If you reset the
> software clock but not the hardware clock, when you reboot you'll go
> back to the old time. do a man on hwclock.
and this is how you do it:
type:
ntpdate time-nw.nist.gov
hwclock --systohc
wow, where did that super accurate time come from?
>
> In article <[EMAIL PROTECTED]>,
> Andy <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I've gota pretty strange problem here. It seems when i reboot, the
> > clock "loses" an hour. It rolled over into EDT correctly, but when i
> > reboot it it goes back an hour, and still says its in EDT. Here's the
> > logs that led me to the conclusion:
> >
> > Apr 14 20:57:07 bear syslog: klogd shutdown succeeded
> > Apr 14 20:57:07 bear exiting on signal 15
> > Apr 14 19:57:58 bear syslogd 1.3-3: restart.
> > Apr 14 19:57:58 bear syslog: syslogd startup succeeded
> >
> > Ideas? Is it RH 6.1, or my hardware, or some other odd problem? It
> > had been working fine until this last week, but then i've had this
> > computer less then a year...
> >
> > Andy
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
--
*************************************************
Please add your thoughts and ideas to
My Experiment: http://www.fusionplant.com/
This is a not a .COMmercial site, but
rather a tiny .ORGanization.
*************************************************
------------------------------
From: "Rick B. Beer" <[EMAIL PROTECTED]>
Subject: Telnet to SCO 5.0.4 being terminated
Date: Fri, 19 May 2000 05:59:17 GMT
I have a problem with some telnet sessions to an SCO 5.0.4 system being
terminated after about 15 minutes. This server has some LAN connections
that have no problem at all and some WAN connections that are being
established with a couple of LINUX servers using a PPP tunnel via the
internet and these connections are being terminated after about 15 to 20
minutes if the user has not touched the keyboard in that time. If the user
is busy, entering data or browsing data, the connection is fine, but if they
go to lunch, for instance, when they come back and hit a key, the connection
is terminated.
Anyone got any ideas why this may be happening?
Thanks in advance for any replies,
Rick B. Beer
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: 19 May 2000 01:07:29 -0500
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
>> Never, never, never let user who doesn't understand things tweak the
>> config files. For such users remote sysadmin service via SSH should be
>> provided.
>
>Huh?
>
>Are you suggesting we start up a Centralized Linux Administration
>Bureau or something? And remember that not all computers are on a
>network, and very few of them are on one all the time.
I've suggested something similar on the freebsd newsgroup before
because they need it even worse, but they seem to think everyone
should learn to be an expert.
I think what we really need is some number of well-maintained
'master' system images (somewhere between 10 and 100 would
suffice, but the number doesn't matter) and some tools
to sync up your system to the master without breaking things
due to hardware differences. Good system administrators
would each maintain their own 'ideal' system as the master
copy, tuned for whatever purpose they want. They would
document the philosophy of the configuration (i.e. the
purpose, not the details) and keep everything up to date,
adding new things as they become available. This is work
every system administrator does anyway - we just need the
tools to share it easily. Then, instead of everyone having
to configure and tune their own system, they would just pick
a setup already built that matches their needs and periodically
sync up any updates. There would still be a small amount of
local setup to do, but the bulk of the work could be done.
Freebsd needs this more than Linux, because this is really
the function of the different distributions of Linux. I'd
just like it to be even more complete and have more choices.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: tar question
Date: 19 May 2000 02:28:34 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, juan angel uribe wrote:
> How can I tar a directory or file?
> I have the directory foo. How can I tar it and also keep the original?
>
> I have tried
> $ tar czv foo
>
> and I get a bunch of garbage on my screen.
> I have looked at the man page and searched on linuxnewbie.org but to no
> avail.
(1) The useful documentation is in the info pages.
(2) You need to indicate where the tar output should go with the "f"
option, e.g.,
$ tar czvf foo.tar.gz foo
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Thomas Zajic)
Subject: Re: /opt verus /usr/local
Reply-To: [EMAIL PROTECTED] (Thomas Zajic)
Date: Fri, 19 May 2000 06:39:48 GMT
On 18 May 2000 22:23:39 -0700, Tom Fawcett wrote:
> Are you all unaware of the Filesystem Hierarchy Standard?
> (http://www.pathname.com/fhs/2.0/fhs-toc.html)
> Or are you disagreeing about what it says?
Are you unaware that FHS-2.0 ist obsolete and has been superseded
by FHS-2.1? See <http://www.pathname.com/fhs/>.
;-)
SCNR,
Thomas
--
=-------------------------------------------------------------------------=
- Thomas "ZlatkO" Zajic <[EMAIL PROTECTED]> Linux-2.0.38/slrn-0.9.6.2 -
- "It is not easy to cut through a human head with a hacksaw." (M. C.) -
=-------------------------------------------------------------------------=
------------------------------
From: "Christian Casteyde" <[EMAIL PROTECTED]>
Subject: Re: IPFilter vs IPChains
Date: Fri, 19 May 2000 06:56:48 GMT
IPFilters does already exist for Linux, in the beta Kernel 2.3.99
Praedor Tempus <[EMAIL PROTECTED]> a �crit dans le message :
[EMAIL PROTECTED]
> In reading comments on slashdot concerning freebsd/openbsd,
> I find references to IPFilter being far superior to the
> linux IPchains.
>
> OK, if that is true, what is it that prevents someone
> from simply porting IPFilter to linux? Is there so much
> of a difference between linux and the *bsds that allows
> the *bsds to run linux apps but not the other way around
> (to a greater extent)?
>
> praedor
>
------------------------------
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
From: David Steuber <[EMAIL PROTECTED]>
Date: Fri, 19 May 2000 07:00:00 GMT
[EMAIL PROTECTED] (Miquel van Smoorenburg) writes:
' What most people don't like about KDE is that if you port your
' commercial program to Linux, you'll have to pay for a Qt license.
If you are doing that, you don't need to use Qt. If you used it for
your Windows app, then you already paid for the license, so what is the
big deal?
That said, I wouldn't mind if someone came out with a decent, high
quality C++ GUI toolkit for Linux/BSD/Un*x that was free and portable
to Windows. My only real problem with Qt is the MOC compiler. It is
a macro hack that is no different from what Microsoft uses with MFC.
In principle.
I don't consider GTK-- to be a class library. It is just a wrapper
for GTK. Not the same thing really now, is it? Not that GTK is a bad
thing. After all, there is a port of GIMP for Windows.
Anyway, use what you want for your projects. I couldn't care less
about Windows anymore, so I have no problem using Qt Free Edition. At
least not apart from MOC.
--
David Steuber | Hi! My name is David Steuber, and I am
NRA Member | a hoploholic.
All bits are significant. Some bits are more significant than others.
-- Charles Babbage Orwell
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
Date: 19 May 2000 07:00:33 GMT
In comp.os.linux.development Leslie Mikesell <[EMAIL PROTECTED]> wrote:
: RH puts all config files in etc, even the ones that don't really
: belong there. For example /usr/lib/X11/lib/xinit is a symlink to
: ./../../../etc/X11/xinit.
Well, as I said, I don't now recall what I used to have to do to redhat
spec/makefiles. But it was something along the lines of config file
placements.
:>I use /usr/local for things that weren't in my original system and
:>aren't likely to be in it for the foreseeable future. Netscape would
:>be an example, though I can't think of any good ones.
: On an stock rpm-installed Redhat - and Mandrake:
: /usr/bin/netscape
: /usr/bin/netscape-communicator
: /usr/bin/netscape-navigator
:-). Well, that's wrong then. Netscape is not part of a distribution
in any sense I can think of and its the single thing that's most likely
not to have come from the original distro o my system. Surely it should
go in /opt! I.e. "large package put together by someone else". Or has
someone finally understood a sufficient fraction of the source to
actually be able to compile it meaningfully?
Peter
------------------------------
From: [EMAIL PROTECTED] (Achim Linder)
Subject: Re: How to print page range in Netscape/Linux
Date: 19 May 2000 07:14:34 GMT
On Tue, 9 May 2000 20:25:03 +0200, Achim Linder wrote:
>On Sat, 06 May 2000 11:09:32 -0400, Nguyen-Dai Quy wrote:
>>For URL I don't know how to get it :-( But I have already a Perl script
>>which used to add date, time and page number to ps file created by
>>Netscape. I would like to get URL too, but it seems impossible for me,
>>but maybe you know some tricks ...
>
>Perl solution:
PS: Splitting between backslashes is probably a bad idea.
#!/usr/bin/perl
@datum = (split ' ', localtime(time))[0,1,2,4];
$getid = '`xwininfo -tree -root | sed -n "/Navigator/{s/ [^ 0].*//p;q;}"`';
chop($url = `xprop _MOZILLA_URL -id $getid`);
chop($url);
exit 0 if substr($url, 103, 2) eq '\\\\';
$fline = substr($url, 24, 80); $fline =~ s/[()]/\\$&/g;
$sline = substr($url, 104); $sline =~ s/[()]/\\$&/g;
$pscom = "gsave\n" .
"0 setgray\n" .
"50 45 moveto\n" .
"/Helvetica findfont 10 scalefont setfont\n" .
"(p @datum $fline ) show\n" .
"50 32 moveto\n" .
"($sline) show\n" .
"grestore\n";
while (<>) {
if (/^%%Page:/) {
$_ .= $pscom;
s/.*( [0-9]+)\n.*\n.*\n.*\n.*\n../grestore\n$&$1/;
s/.*\n......: 1 /%%Page: 1 /;
}
print;
}
Achim
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Subject: Re: Rack-mounting machines
Date: 19 May 2000 02:11:34 -0500
In article <[EMAIL PROTECTED]>,
John Ioannidis <[EMAIL PROTECTED]> wrote:
>What's the current wisdom on good-quality rack-mounted enclosures for
>ATX motherboards? The place I had gotten my last batch a couple of
>years ago is no longer in business. My main requirements are:
>
>* high-quality power supply
>* lots of ventilation
>* at least three external bays for disk drives
Don't know about just cases, but VALinux has some complete
rackmount systems - the 2U versions are pretty nice.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
From: Eric <[EMAIL PROTECTED]>
Subject: Re: DVD ROM Setup
Date: Fri, 19 May 2000 06:42:17 GMT
Reply-To: [EMAIL PROTECTED]
First of all: cd /usr/sbin
mv kudzu kudzu_sucks
ln -s /bin/true kudzu
That "solves" the kudzu problem, (it's really useless to run kudzu)
Now to the actual problem, it's probably a defective cable/controller or
and luckily for you :-) ,most likely just jumpered wrong. IDE devices
most be jumpered to be set as master(single)/slave if this is not done
correctly, you might get the behaviour you have seen. Since you have it
connected as the single device on IDE1, set it to single (or master if
the single option does not exist)
Eric
Dorin Boldor wrote:
>
> I am having problems setting up my DVD ROM with red hat 6.2. The drive
> is SONY DVD-ROM DDU220U.
>
> It is installed on IDE1, secondary master. THe install was performed
> from this drive, it went on just fine, when it booted up from the CD ROM
>
> it found the drive: hdc: DVD-ROM DDU220E, ATAPI CD ROM device. The thing
>
> is that when I restarted the computer, the output from the dmesg | grep
> hdc looks like this:
>
> dmesg | grep hdc
> ide1: BM-DMA at 0x1028-0x102f, BIOS settings: hdc:DMA, hdd:pio
> hdc: Q�Q�Q�Q�Q�Q�Q�Q�Q�Q�Q�Q�Q�Q�Q�Q�Q�Q�Q�Q, ATAPI UNKNOWN (type 17)
> drive
> hdc: driver not present
> hdc: driver not present
> hdc: driver not present
> hdc: driver not present
> hdc: driver not present
> hdc: driver not present
> hdc: driver not present
> hdc: driver not present
> hdc: driver not present
> hdc: driver not present
> hdc: driver not present
>
> Ok, this is the first part, the second part is that when I boot up,
> kudzu shows up with the message that the following hardware has been
> removed from your system: DVD-ROM DDU220E. It gives me 3 options, 1.
> remove any existing configuration for the device, 2. Keep the existing
> configuration. You will not be prompted again if the device seems to be
> missing. 3. Do nothing. The configuration will not be removed, but if
> the device is found missing on subsequent reboots, you will be promtepd
> again.
>
> So, every time I choose 3, because I have no idea what is going on.
>
> But, this is not all. I tried to recompile the kernel , it didn't help.
> and finally I was looknig thorugh the files in the /etc, directory, and
> in /etc/sysconfig I found a file called hwconf. In this file I have 2
> different calls for hdc, and they are listed as follow:
>
> class: OTHER
> bus: IDE
> detached: 0
> device: hdc
> driver: ignore
> desc: 'Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q.Q."
>
> the second one is at the very end of the file and it looks like this:
>
> class: CDROM
> bus: IDE
> detached: 0
> device: hdc
> driver: ignore
> desc: "DVD-ROM DDU220E"
>
> So, if anybody knows what is going on here, any help would be really
> appreciated.
>
> Thanks a lot,
> Dorin
------------------------------
From: Mark Wilden <[EMAIL PROTECTED]>
Subject: Re: WYSIWYG web page generator
Date: Fri, 19 May 2000 08:53:55 +0100
John Hasler wrote:
>
> Io those of us who read commercial sites the look almost always gets in the
> way of the content. The overwhelming majority of commercial sites are
> ugly, overcomplicated, full of spurious graphics, and hard to use.
I don't really think any of us can speak authoritatively about the
majority of users, nor the majority of sites. There are too many of each
to accurately quantify quality.
Certainly, I've seen awful, garish sites (and perhaps those stick in the
mind more easily). But the commercial sites I spend most time on
(DejaNews, AltaVista, Amazon, Sun, etc.) seem to do a pretty good job.
Hey, maybe that's one reason why I spend most of my time on them! :)
Which leads to an important point: commercial sites that don't please
their viewers don't stay commercial for long.
------------------------------
From: Mark Wilden <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: WYSIWYG web page generator
Date: Fri, 19 May 2000 08:58:10 +0100
John Hasler wrote:
>
> What draws money is what is 'proper'.
That's right. Which is how I have to doubt the claim that most
commercial sites are rubbish.
> The only individual home pages I ever visit are those of hackers. I
> generally find them quite easy to read.
Yes, hackers seem to have an innate sense of elegance in many cases, and
don't try to use skills (like graphic design) which they don't possess.
> There are very few books that are so badly designed as to make reading
> difficult. There are few web sites that are not so badly designed as to
> make reading difficult.
Well, let's remember that (printed) books have been around roughly 500
years longer. I own a book published in 1548 (by Aldus, the inventor of
italics) that is extremely difficult to read...even if I knew Latin. :)
------------------------------
From: "Quiney, Philip [HAL02:HH00:EXCH]" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: LILO 1024 cyl thing
Date: Fri, 19 May 2000 08:37:54 +0100
Tom wrote:
>
> Also, I am trying desperately to get a CD created from an ISO image. I
> have Sony CD-Write and Nero at my disposal, but they seem to just copy
> the file to the disk. I want the .ISO file "expanded" so it has all
> files and directories on it. How would I go about doing that?
> Step-by-step would be nice, but I'll take anything I can get. Thanks.
Hi,
The .iso file is an 'image'. Sorry I don't know Nero but with Adaptec CD
Creator there is an option 'Create CD from Image' - I normally use this
after creating the image on disk before burning the CD - since doing
this I have produced no 'coasters'. However it defaults to its own
filetype - you have to get the file dialog to show 'all files' -
magically the .iso then appears.
There might be a similar option for Nero - I have tried WinOnCD but
found the same problem as you describe.
Failing that XCDRoast works fine from a Linux box.
p.s Never let a Windows machine 'remaster' the CD - all the filenames
get their case 'adjusted'. (Rule is - filename fits 8.3 lets make it all
CAPS - longer than that well lets capitalise the first character...)
Could have been WinOnCD I suppose ;-(
Regards
Phil Q
--
Phil Quiney CSIP Demonstrator
[EMAIL PROTECTED] Nortel Networks,
Telephone: +44 (1279) 402363 London Rd, Harlow,
Fax: +44 (1279) 402885 Essex CM17 9NA,
United Kingdom.
"This message may contain information proprietary to Northern
Telecom so any unauthorised disclosure, copying or distribution
of its contents is strictly prohibited."
------------------------------
From: Mark Wilden <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: WYSIWYG web page generator
Date: Fri, 19 May 2000 09:05:10 +0100
[EMAIL PROTECTED] wrote:
>
> I used to be that ideological. Eventually you'll encounter someone so
> truly annoying that your won't be able to maintain a policy of actively
> ignoring him.
The thing is, I ignore most messages that are posted--annoying or not.
It's not a great ordeal to skip over messages on subjects that I'm not
interested in, or by people I don't like.
So I'll have to stick with the 'neener, neener' theory. Even more
especially when someone takes the time to compose a message about the
topic at hand, then publically announces that they won't listen to the
reply. That sounds more emotional than efficient to me. I simply can't
imagine wasting one second writing messages to someone whom I don't
respect. Life's too short. :)
------------------------------
** 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.misc) 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-Misc Digest
******************************