Linux-Misc Digest #883, Volume #23 Sat, 18 Mar 00 11:13:05 EST
Contents:
Re: How to add new hardware in Linux? (Harold Stevens ** PLEASE SEE SIG **)
Bootdisks, rdev, and root filesystems...aargh! (Don Werve)
Which editor allows change of key assignments (Otto Wyss)
Re: Salary? (Donovan Rebbechi)
Re: Slow modem connection ([EMAIL PROTECTED])
Re: free space on disk (Leonard Evens)
Re: To Mount or Not??? (Leonard Evens)
Re: Do you hate vi? vi or vim? Deathmatch! (Jim McBoyle)
Re: compiling C++ programs with g++ (James Silverton)
Re: Power-off on shutdown? (Chris MacKenzie)
Re: Salary? (Stewart Honsberger)
Re: 2 hard disk setup (Dances With Crows)
Re: Salary? (Stewart Honsberger)
Re: CD-ROM question for LINUX ("Rodney D. Myers")
Re: Salary? (Stewart Honsberger)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Harold Stevens ** PLEASE SEE SIG **)
Subject: Re: How to add new hardware in Linux?
Crossposted-To: alt.os.linux.turbolinux
Date: Sat, 18 Mar 2000 15:41:24 GMT
In <[EMAIL PROTECTED]>, Clark Smith:
[Snip...Re: ISA 3C509 and turbosoundcfg conflict in TurboLinux 4.0]
|> Maybe this will help you with your sound card woes.
|>
|> http://cesdis.gsfc.nasa.gov/linux/setup/3c5x9setup.html
[Snip...]
Thanks for the tip and I'll be looking at it later this weekend.
--
Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS *
Pardon the bogus email domain (dseg etc.) in place for spambots.
Really it's (wyrd) at raytheon, dotted with com. DO NOT SPAM IT.
Standard Disclaimer: These are my opinions not Raytheon Company.
------------------------------
From: Don Werve <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.development.system
Subject: Bootdisks, rdev, and root filesystems...aargh!
Date: Sat, 18 Mar 2000 15:41:43 GMT
Ok. After reading the Bootdisk-HOWTO and rdev manpages, I decided to
start on the path to true geekdom and make my own Linux bootdisk, so
that I could manually build a Linux system from the ground up on one of
my many spare computers. I've been using Linux for about two years now,
but what better way to learn about the guts of the OS than to manually
build a full system?
Anyways, I made a root filesystem that compressed takes up 900K, and
have a 460K kernel. I used dd to copy the kernel image to the disk, and
then used `rdev /dev/fd0 /dev/fd0 ; rdev -R /dev/fd0 0` to set the disk
as it's own root device. How do you tell the kernel where to look for a
compressed root filesystem, so that it can be uncompressed into a
ramdisk and booted...?
Ideas? Sorry about the cross-post, but it seemed applicable to each
newsgroup posted to. Please reply via E-Mail, to hari AT iveleague.org
Thanks in advance! :)
------------------------------
From: [EMAIL PROTECTED] (Otto Wyss)
Subject: Which editor allows change of key assignments
Date: Sat, 18 Mar 2000 16:32:23 +0100
I've closelly followed the disussion pre and against vi, emacs, etc. but
I still don't know which editor i shall use. I have come to the
conclusion it's easier to look for an editor which allows changing the
key assignments the way i like.
Which editor allows the easiest configuration of the following key
assignments:
<ctrl> c => copy to clipboard
<ctrl> v => cut to clipboard
<ctrl> p => past from clipboard
<ctrl> q => quit (ask if not saved)
<insert> => toggle insert/overwrite mode
<home> => top of page
<ctrl> <home> => top of file
<end> => end of page
<ctrl> <end> => end of file
etc.
This is just about the minimum I want to assign. Instead of <ctrl> I
might be able to use the <alt> or <meta> keys. Besides I want do use the
same key assignments in console-mode as under X.
Is there a more/less/most alike pager which allows similar key
assignments. How about the slang library?
O. Wyss
------------------------------
From: [EMAIL PROTECTED] (Donovan Rebbechi)
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Date: 18 Mar 2000 15:42:08 GMT
Jedi wrote:
> 1K from city center may or may not be a good thing...
I don't know why I'm even stepping up to address yet another Jedi post,
but suffice it to say that there are parts of the world where the inner
city areas are not crime infested slums. Some of the inner suburbs are
pretty bad, but that one ( Parkville, which just consists of parks , the
University and reidential property ) isn't one of them.
--
Donovan
------------------------------
Date: Sun, 19 Mar 2000 16:01:42 +0000
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux.dial-up,alt.os.linux
Subject: Re: Slow modem connection
Thanks for your suggestion.
I'd picked up some other newsgroup messages, which had also suggested
setserial, and I'd tried 10 different combinations of options without
success!
In the end it turns out to be the default speed, or reset state of my modem.
All the information you set up in kppp in Linux about your modem seems to be
ignored. I looked at the kppp log for modem AT commands, expecting
to see a flow of modem configuration commands. All you get is
'reset modem' and 'dial number'.
I copied some of the modem initialization sequences generated in Windows in
a file Modemlog.txt, and put them in the modem reset sequence menu item
in kppp. Now I get 'reset modem' 'work as fast as you like and use
compression'
then 'dial number'.
Everything's upto speed now.
But will I ever get to the point with Linux where I'm running a useful
application
instead of configuring Linux?
Thanks again for your response to my question.
Regards.
Fester.
Martin Cooper wrote:
> Hi,
> I would check the speed of the serial port. I had this problem once and
> found that the serial port for the modem was set to 9600. The settings can
> be changed with the setserial command. I can't remember the exact command
> line, but the man page is quite useful.
>
> Martin
> <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> > My 30kbps modem whizzes along at 3-4kBytes/second as expected
> > under windows, and crawls along at about 1kByte/second under
> > Redhat Linux 6.0, with kppp setting at 31000bps.
> >
> > Any suggestions why this might be? Thanks in advance.
> >
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: free space on disk
Date: Sat, 18 Mar 2000 09:30:36 -0600
"S.Eckloff" wrote:
>
> hi,
>
> a simple question arose: how can I get the amount of free space of a
> disk/ a partition?
>
> thanks!
>
> yours siggi red head
Check the man page for the command df. But note that
the numbers df gives you don't quite add up. That is
because the system reserves part of the partition for
its use. But the free space it shows is a reasonable
estimate of what is available.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: To Mount or Not???
Date: Sat, 18 Mar 2000 09:37:24 -0600
Brian Foddy wrote:
>
> Just searching for peoples opinions on this issue...
>
> I have a single disk drive devoted solely for backups and non-esential
> storage. Its a 47GB scsi external drive (from comp geeks) that I want
> to connect to a Linux machine that is powered full-time. It will be
> backing up the Linux machine and another Linux/NT machine via
> remote rsh and Samba. I'll probably have most of this drive as one
> file-system.
>
> The question is this... Assuming I only would want to use this drive
> filesystem between the hours of 5pm-1am M-F and all day Sat/Sun,
> would it make sense for me to have a crontab automatically unmount
> the filesystem when I'm not home and its unused?
>
> It really comes down to a debate of:
> 1. Is it more reliable to unmount a file system and then have to
> remount
> it daily; assuming the contents are completely safe while
> unmounted.
> 2. Or is the risk of a file-system corruption so small on an idle file
> system that its better to risk a improperly unmounted crash and
> not have to do the remounts; assuming the might be some risk in
> an unattended mount and umount process daily; and assuming the
> file system will be idle while I'm at work and not using the machine.
>
> The file system does not hold any Linux system files.
>
> One other important fact, I have a UPS on the machine that should run
> the machine for 45-60 minutes unattended, but I don't have the
> auto powerdown working yet, so a lengthly power outage will still
> take it down. The machine is an older Pentium that so far
> has been very reliable. Running Mandrake 6.1.
>
> Any thoughts?
> Brian
The greatest danger to the disk would be some hardware failure,
but if you are not going to shut if off, mounting wouldn't
make any difference. Except for accidental writes to the
disk, the only other danger I can think of is that if there
is some failure of the CPU or memory, the periodic syncing
could mess up the superblock on the disk. This doesn't seem
to likely, but it is possible. Of course, mounting and
unmounting may open the door to rare software glitches also.
If you feel safer, you might as well unmount it when not
in use, but I don't think it would make much difference.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Jim McBoyle <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux,comp.editors,comp.unix.misc
Subject: Re: Do you hate vi? vi or vim? Deathmatch!
Date: Sat, 18 Mar 2000 15:09:53 +0000
Whilst I was pretending to study, Tony Houghton wrote:
> In <[EMAIL PROTECTED]>,
> Shyamal Prasad <[EMAIL PROTECTED]> wrote:
>
> > Don't get me wrong, I love vi/vim (easily the best text editor I've
> > ever used), but I find the complaint that EscMetaAltCtrlShift is
> > bloated increasingly lame.
>
> On a PIII with 64MB it's still too cumbersome to start up regularly for
> editing mail and news or quickly su-ing to root to change some script or
> config.
erm, to slow? I would beg to differ, as I use emacs to edit config files
on the five p75's with 16MB that I'm turning into a beowulf cluster, and
it's fast enough to start on them... :-) in fact i use emacs on the
486 dx2 66 I use as a web server (again only 16megs) and it's not that
much slower. Saying that I'm usoing PINE currently, as that's the only
email/newsgroup prog the Uni supports (apart from M$ Outlook, and _that_
item of **** will never come anywhere near _any_ computer I ever have to
use if I have any say at all on the matter<g>)
Have Fun,
Jim.
--
James McBoyle
[EMAIL PROTECTED] | "There is no spoon." Neo, The Matrix
[EMAIL PROTECTED] | "Spooooooooooon!" The Tick, The Tick
------------------------------
From: James Silverton <[EMAIL PROTECTED]>
Subject: Re: compiling C++ programs with g++
Date: Sat, 18 Mar 2000 10:52:15 -0500
Roland Josefek wrote:
>
> Can anyone direct me to a website that gives step by step instructions for
> the use of g++ to compile programs in C++?
As Rob Wehrli suggested, I bought "Tom Swan's GNU C++ for Linux" (from
Amazon) and this gives a voluminous, clear and fairly comprehensive
guide to using g++ under Linux.
I have not read much more than about 100+ pages yet but there are some
evident deficiencies tho' I do rather like the book.
1. How could anyone write a book on C++ and not mention or index Bjarne
Stroustrup?
2. Again the output function "form" features prominently in Stroustrup's
classic books but Swan does not mention it. I know there are
alternatives but anyway!
3. There is no mention of math functions but this is a common defiency
in books on C++ in my experience. Swan probably does not see any need
for math and may not know what is a radian but he does give a very
promising looking discussion of graphics under X.
4. Again, what seems to be a not uncommon failing in C++ books;
discussion of needed #include files is incomplete tho' Swan *does*
explain their action clearly. I wish someone would produce a list of the
functions in the g++ include files. It looks like I'll have to do this
for myself and that would also help in the math function listing.
5. A compliment! Swan does handle the various steps in a compilation
rather well and also optimization.
Incidentally, to compile the program hello.C ("Hello World", of course)
under g++, if you have the proper #include <iostream> in the program,
all you need, as Rob said, is:-
$ g++ -o hello hello.C
See "man gcc", too.
--
James V. Silverton
Potomac, Maryland.
------------------------------
From: Chris MacKenzie <[EMAIL PROTECTED]>
Subject: Re: Power-off on shutdown?
Date: Sat, 18 Mar 2000 15:55:15 GMT
Andrei Zmievski wrote:
> > When configuring kernel, enable APM support and then enable Power Off
> > on SHutdown option with the APM settings.
>
> Is "Power Off on Shutdown" a kernel configuration option or linuxconf or
> something else?
If you use RedHat with the default kernel from the CD then APM should
already be compiled in.
Note: SMP machines cannot use APM with Linux.
--
Rgds,
Chris MacKenzie
[EMAIL PROTECTED]
Windows 95/NT - 32 bit extensions and a graphical shell
for a 16 bit patch to an 8 bit operating
system originally coded for a 4 bit
microprocessor, written by a 2 bit company
that can't stand 1 bit of competition.
------------------------------
From: [EMAIL PROTECTED] (Stewart Honsberger)
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 18 Mar 2000 16:00:43 GMT
On Thu, 16 Mar 2000 22:08:18 +0100, Matthias Warkus wrote:
>what is affirmative action again?
"White males need not apply."
--
Stewart Honsberger (AKA Blackdeath) @ http://sprk.com/blackdeath/
[EMAIL PROTECTED] (Remove 'thirteen' to reply privately)
Humming along under SuSE Linux 6.0 / OS/2 Warp 4
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: 2 hard disk setup
Date: 18 Mar 2000 11:02:23 EST
Reply-To: [EMAIL PROTECTED]
On Sat, 18 Mar 2000 10:22:17 -0000, Ian Storey
<<rMIA4.147$[EMAIL PROTECTED]>>
shouted forth into the ether:
>Hi I am new to linux but want to now put win98 on hard disk 1 and Red Hat
>6.0 on hard disk 2. Where do I install lilo during the red hat setup?. Is it
>on disk 1 or 2 Iwant it so if I type dos windows installs or if I dont type
>anything linux will install by itself.
If you don't want Linux to "contaminate" your WinXX setup, the best thing
to do, really, is to set up the Linux disk as master on controller 0 and
the WinXX disk as slave on controller 0. Then you can install on the MBR
of the Linux disk with the following /etc/lilo.conf :
boot=/dev/hda
map=/boot/map
image=/boot/vmlinuz
label=linux
root=/dev/hda1
other=/dev/hdb1
table=/dev/hdb
I reccommend this because LILO seems to have a hard time living anywhere
but on the first hard drive. Oddly enough, having WinXX on the slave
drive won't break WinXX!
RedHat 6.0 is kind of old and had a few bugs. Get something newer, like
Mandrake 7.0 or SuSE 6.3 for a better out-of-the-box experience.
--
Matt G / Dances With Crows \###| Programmers are playwrights
There is no Darkness in Eternity \##| Computers are lousy actors
But only Light too dim for us to see \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.
------------------------------
From: [EMAIL PROTECTED] (Stewart Honsberger)
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 18 Mar 2000 16:03:23 GMT
On 17 Mar 2000 17:16:49 -0500, Greg Yantz wrote:
>Some of these special minority scholarships, which are designed to
>create opportunities for the disadvantaged, are in fact need-blind.
>That is, you can be from a minority and be well-to-do and still
>receive them. Unfortunately, I've seen it.
I have the same stand-point on this issue as Howard Stern. I heard him, one
morning, talking about the Bill Gates scholarship for "minorities". Howard
complained that this was rediculous, and that some minorities had more
money than they knew what to do with so "Why not just give it to poor people?
There are poor white people out there too, y'know!"
I say scholarships should be given two (and ONLY two) restrictions;
A) Do they NEED it?
and
B) Will they WORK for it?
White, black, yellow, green, stand or sit - whatever.
--
Stewart Honsberger (AKA Blackdeath) @ http://sprk.com/blackdeath/
[EMAIL PROTECTED] (Remove 'thirteen' to reply privately)
Humming along under SuSE Linux 6.0 / OS/2 Warp 4
------------------------------
From: "Rodney D. Myers" <[EMAIL PROTECTED]>
Subject: Re: CD-ROM question for LINUX
Date: Sat, 18 Mar 2000 07:55:32 -0800 (PST)
Reply-To: "Rodney D. Myers" <[EMAIL PROTECTED]>
On 17 Mar 2000 22:31:37 GMT, MerefBast wrote:
Didn't I pass along this tip before ;-)
As root type "mount -t iso9660 check=relaxed /dev/hd* /mnt/cdrom"
then upper and lower case are "the same.
:> I am responsible for mastering an educational CD-ROM (the
:>"Electric Emperor", the CD-ROM version of Jack Herer's "The
:>Emperor Wears No Clothes"). We switched from a custom Macintosh
:>multimedia program to an HTML presentation so that the
:>information could be accessed on Windows.
:>
:> In theory, the same information should also be accessible to
:>LINUX.
:>
:> Unfortunately, at least some users of LINUX can't use the
:>disk, because LINUX claims it can't find the files.
:>
:> The files (and directories) are all completely conforming to
:>ISO 9660 Level 1, and therefore should be readable on any machine
:>and any operating system.
:>
:> Apparently some versions of LINUX require only lower case file
:>and directory names (the ISO 9660 Level 1 standard restricts file
:>and directory names to *only* upper case letters, decimal digits,
:>and underscore character).
:>
:> Obviously we can't go against the international standard just
:>because some versions of LINUX read CD-ROMs backwards.
:>
:> Does anyone know if there is an option on a mount command or
:>some similar action that users can take on LINUX to correctly
:>mount and read upper case letters in file names?
:>
:> If there is such a command, we can simply include it in the
:>printed instructions. If not, we have to abandon LINUX. This is a
:>non-profit project, so we can't afford to press a second version
:>of the disk just for LINUX.
:>
:> If anyone has a solution, please send it by private e-mail to
:><[EMAIL PROTECTED]>. Thanks...
:>
:>
:>
------------------------------
From: [EMAIL PROTECTED] (Stewart Honsberger)
Crossposted-To: comp.os.linux.networking,comp.os.linux.advocacy
Subject: Re: Salary?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 18 Mar 2000 16:08:10 GMT
On Fri, 17 Mar 2000 19:09:45 GMT, JEDIDIAH wrote:
> Highrise condo in Paris ~ 250K
> Townhouse condo in Toronto ~ 180K (don't recall if that's CN or US)
> Townhouse condo in a Columbus, OH suburb ~ 60K
Of course, quoting prices from major metropolatin areas are going to give
you skewed figures.
I can tell you for certain that a townhouse in Southern Ontario, just outside
the GTA, can go for ~$100k CDN. You can find them as cheap as ~$40k CDN, but
they're not exactly places you'd choose to raise a family in.
If I were to quote you the prices I've heard for houses in California, just
outside Silicon Valley, and use them as a reference point for housing costs
in America ...
I'll leave that one to your imagination.
--
Stewart Honsberger (AKA Blackdeath) @ http://sprk.com/blackdeath/
[EMAIL PROTECTED] (Remove 'thirteen' to reply privately)
Humming along under SuSE Linux 6.0 / OS/2 Warp 4
------------------------------
** 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
******************************