Linux-Misc Digest #742, Volume #23                Fri, 3 Mar 00 20:13:05 EST

Contents:
  Re: recursive grep? (thomas park)
  Re: CD-R/RW & Creative DVD together. (Alex Lam)
  Re: EXTREME newbie question. =) (thomas park)
  Re: Printing mailing labels? (brian moore)
  3rd party profiling products (thomas park)
  Re: recursive grep? (Frank da Cruz)
  Re: Journaling file system (Ext3 or SGI's) (Hal Burgiss)
  Re: Why would Mandrake install stall? (Jon)
  linux and Cable modem? (Peter Lee)
  Re: Journaling file system (Ext3 or SGI's) (Bruce Stephens)
  Re: How to copy Linux system to new disk? (Walter B Kulecz, PhD)
  Re: linux and Cable modem? (Bit Twister)
  depmod/modprobe problems... (Ryan Scranton)
  Annual Linux Showcase - Call for Papers (Moun Chau)
  something like loadkeys for X ([EMAIL PROTECTED])

----------------------------------------------------------------------------

From: thomas park <[EMAIL PROTECTED]>
Subject: Re: recursive grep?
Date: Fri, 03 Mar 2000 17:15:34 -0500


> The "-exec ..." version has the (possible) disadvantage that because each
> grep sees only one filename argument, the name of the matching file doesn't
> get printed.


the solution to that (using a slooooow method) is


$ find . -type f (or -name "whatever") -exec grep -l string-to-find {}
\; -exec grep string-to-find {} \;


if you're working with a source tree that you use often, you could of
course build up a list of .h, .c, .cpp files, and then use that list
with xargs.

thomas

------------------------------

From: Alex Lam <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware
Subject: Re: CD-R/RW & Creative DVD together.
Date: Fri, 03 Mar 2000 15:30:23 -0800

Richard Gaywood wrote:
> 
> >      How can I get Linux to identify and list both CD devices together?
> > I have a Philips CD-R/RW (secondary EIDE controller as slave), and a
> > Creative DVD Dxr2 (secondary EIDE controller as primary.)
> 
> Both drives should have entries in /dev. The CDR should be /dev/hdd and the
> DVD should be /dev/hdc. If you go into your /dev directory, I imagine there
> will be symlink call /dev/cdrom pointing to one of these.
> 
> Just create a new symlink for whichever device doesn't work. Assuming this
> is the DVD drive:
> 
> To create a symlink, use (as root, in the /dev directory)
>     ln -s hdc dvd
> 
> You will then have a device called /dev/dvd which is an alias for your dvd
> drive. If you then edit /etc/fstab (again as root) and change the reference
> to /dev/cdrom to /dev/dvd, that should make your dvd work. Flip this around
> if it's the CD-R that doesn't work.
> 
> My RH6.1 system has nifty CDROM automounting; I'm not sure if this will work
> on the second drive automatically. I suspect not, but my X is broken at the
> moment, so I can't check. Any takers?
> 
Thx. I'll try it this weekend.

Alex Lam.
> --
> 
>                                                   -=R=-
> 
>                         "Is this what you thought married life would
>                           be like, Homer?"
>                         "Yeah, pretty much. 'Cept we drove around in
>                           a van solving mysteries."

------------------------------

From: thomas park <[EMAIL PROTECTED]>
Subject: Re: EXTREME newbie question. =)
Date: Fri, 03 Mar 2000 17:21:14 -0500

perhaps i'm misunderstanding your question.

you could use the multi-tasking build into UNIX, which allows you to
"suspend" programs, or run them in the background.  Processes are
suspended by typing ^Z.  (control + z) - this should bring you back to
bash, whereupon you can run other commands.  you can type 'fg' to get
your original program back (put it back in the "foreground").  if you
have more than one program suspended, you can type 'jobs' to get a list
of suspended processes, and then use 'fg %n' to bring the n-th process
into the foreground (ie, fg %2 will bring process #2 into the
foreground).

it's also possible to run programs in the background; you probably want
to get comfortable with job control before messing around with this,
though.

thomas



Jordan Erickson wrote:
> 
> With that subject in place, it makes me feel better. =)
> 
> Is there any way to switch between programs (Command shell=Bash) without
> having to log into another session (via alt+ctrl+F2,F3, etc)?  I guess
> an easy way to explain it would be something like DesqView for DOS (I
> know, I know, blech!), so you can basically log into one session and
> control many fullscreen programs (say Pine, a commandline, vi, etc) and
> be able to switch between them, possibly with some sort of common menu
> to switch between them?
> 
> Thanks!! :)
> 
> --
> - Jordan Erickson ([EMAIL PROTECTED])
>   Network Support Representative, Bank of Petaluma
> (My views are not necessarily the views of Bank of Petaluma)
> 
> P.S. My e-mail is altered to rid my mailbox of bot junkmail.  You can
> figure it out.

------------------------------

From: [EMAIL PROTECTED] (brian moore)
Subject: Re: Printing mailing labels?
Date: 3 Mar 2000 22:24:23 GMT

On Fri, 03 Mar 2000 13:52:17 -0500, 
 Paul Winkler <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> please excuse the crosspost, and notice that followups are to
> comp.os.linux.misc
> 
> I'm trying to find ANY software that runs on linux that can be used
> to format addresses so they can be printed on a sheet of mailing
> labels such as those by Avery and other companies.
> 
> The addresses are currently in a simple tab-separated ASCII
> database. I can write scripts to massage them into various forms,
> that's no trouble. I have previously used a perl script and enscript
> to print the addresses on postcards, but now I need to do mailing
> labels and can't figure out how to get enscript to control the
> layout precisely enough for that.

Actually, you should just use perl. :)

Perl's got very good 'formatted output' type things (sorta like a sick
variation on fortran or cobol in that you have a picture of what you
want where).

See 'man perlform'.

(Basically, you'll want to set the page length to 6 lines or whatever
the lines on your labels are... don't forget to add one to account for
the space between labels ... and let perl do the pagination.)

-- 
Brian Moore                       | Of course vi is God's editor.
      Sysadmin, C/Perl Hacker     | If He used Emacs, He'd still be waiting
      Usenet Vandal               |  for it to load on the seventh day.
      Netscum, Bane of Elves.

------------------------------

From: thomas park <[EMAIL PROTECTED]>
Crossposted-To: gnu.g++.help
Subject: 3rd party profiling products
Date: Fri, 03 Mar 2000 17:39:19 -0500

Hi -

I was wondering if anybody can recommend a good 3rd party Linux C++ code
profiling product?  I'm looking for something that can provide timing
information about functions and locate performance bottlenecks, a la
'gprof', 'speedshop', or 'pixie'.

Please note that gprof does not work for me (compiling with -pg creates
*extremely* unstable binaries, for some reason).  I'd very much
appreciate it if anybody could recommend a non-pg/gprof solution.

thanks,
thomas

------------------------------

From: [EMAIL PROTECTED] (Frank da Cruz)
Subject: Re: recursive grep?
Date: 3 Mar 2000 22:45:31 GMT

In article <[EMAIL PROTECTED]>,
thomas park  <[EMAIL PROTECTED]> wrote:
: 
: > The "-exec ..." version has the (possible) disadvantage that because each
: > grep sees only one filename argument, the name of the matching file doesn't
: > get printed.
: 
: the solution to that (using a slooooow method) is
: 
: $ find . -type f (or -name "whatever") -exec grep -l string-to-find {}
: \; -exec grep string-to-find {} \;
: 
Here's another creative solution to the recursive grep problem:

  http://www.columbia.edu/kermit/ckscripts.html

File Management Scripts -> Recursive Grep.  No funny business with the shell,
find, xargs -- it's all built-in to C-Kermit 7.0:

  http://www.columbia.edu/kermit/ckermit.html

- Frank

------------------------------

From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: Journaling file system (Ext3 or SGI's)
Reply-To: [EMAIL PROTECTED]
Date: Fri, 03 Mar 2000 23:28:21 GMT

On 03 Mar 2000 22:01:11 +0000, Bruce Stephens
<[EMAIL PROTECTED]> wrote:
>"Brian" <[EMAIL PROTECTED]> writes:
>
>> This is all very interesting - Thanks Guys.
>> 
>> What kind of CPU/hardware overhead is required; does it slow disk
>> access markedly?

[...]

Would you know if it is SMP safe?

-- 
Hal B
[EMAIL PROTECTED]
--

------------------------------

From: Jon <[EMAIL PROTECTED]>
Subject: Re: Why would Mandrake install stall?
Date: Fri, 03 Mar 2000 23:30:10 GMT

Hello,

I got this back from the Mandrake tech support folks:


Recently you requested personal assistance from our on-line
support center. Below is a summary of your request and our 
response.

If we do not hear from you within 48 hours we will assume your 
issue has been resolved.

Thank you for allowing us to be of service to you.
=============================================================

Summary:  Installation hangs when copying glibc-2.1.1-9mdk
SUGGESTED SOLUTION:
At 03/03/2000 04:59 AM we wrote - 

Dear Jon Hurd,

Thank you for contacting Linuxcare Technical Support.

We cheched the site at :
http://www.asus.com/Products/Motherboard/Pentium/Tx97/tx97-spec.html
and found that your motherboard contains "2x PCI Bus Master IDE
ports (Support up to 4 IDE devices and LS-120MB Floppy Drive).
Supporting : PIO Mode 3 & 4, DMA Mode 2, and Ultra DMA/33" This is a
UDMA controller.

At this time, Linux does not directly support an installation to
drives on this type of controller.
The upcoming release of the Linux kernel version 2.4 is expected to
have full support for these controllers.

If you are a technically advanced user, you may wish to look at the
Ultra-DMA-HOWTO at http://www.linuxdoc.org/HOWTO/mini/Ultra-DMA.html

or at

http://www.csie.ntu.edu.tw/~b6506063/hpt366/

Otherwise, if you are more of a novice user, your best solution
would be to wait until Macmillan Linux is released with the Linux
2.4 kernel.

If you have any questions about the above, or need any other advice,
please don't hesitate to contact us.

Thank you very much,
Linuxcare Support Group

Incident Details:
         Reference #:  000301-0057
             Product:  Complete Linux OS 6.0
         Sub-Product:  Unspecified
            Category:  Macmillan
             Contact:  [EMAIL PROTECTED]
        Date Created:  03/01/2000 11:01 AM
        Last Updated:  03/03/2000 05:05 AM
        Elapsed Time:  1 Day, 18 Hours
              Status:  Escal2ndLevel
              Origin:  MCP_web
            CouponNo:  MCP
              Serial:  None
        Distribution:  Mandrake

Description:
I'm having a problem.  I am installing Linux-Mandrake 6.0 on my
computer--Pentium 233MMX, 96MB, ASUS TX-97
M/B, 16x cd-rom, fujitsu 3.5 GB HDD, IOMEGA Zip internal, removable
Maxtor 850 MB HDD, Lucent 56k modem, 3COM fast etherlink III 3c905
10/100 NIC.  The Linux Distribution is Mandrake (which is just
Redhat with a few
other features) 6.0 issued by McMillan Publishing.  I am also
running
V-COM System Commander 2000 for partitioning and multiple boot
services.  When I run the Linux install program, everything is fine
until it begins to copy packages.  When that happens, it stops dead
while trying to load 'glibc-2.1.1-9mdk, GNU LIBC, 16167k.'  I waited
about 30 minutes thinking it might just be slow.  I don't get an
error message...it just stops dead...with the hard drive access
light continuously on.  I've rooted around in usenet groups and tech
support pages for hours and can't find a solution.  Please help! 
*smile*

Thanks in advance,

Jon Hurd




b_trayed wrote:
> 
> 
> Should I turn off PnP(Plug n pray) in the BIOS? I have an existing 
Mandrake
> (same version 6.0)on it, but am trying to keep my /usr. SHould I just 
wipe
> both /hda1 and /hda5 clean and start from scratch?
> 
> It actually makes it this far: loading glibc2.1 but stops right before
> the status bar makes it all the way through.
> 
> I tried upgrading but I have messed my root dir somehow, and the install
> notices this and says this doesn't seem to be a valid root something, 
that's
> why I chose 'Install' instead of upgrade.
> 
> Think it's all the new HW? e.g. Voodoo1 + Stealth 3D for video, 32 M RAM,
> MAXTOR 24x CDROM (which aws detected nicely), SB 16 card, HSP modem, 
mouse in
> serial port (which failed to detect for some reason) Suggestions or 
advice
> from existing Mandrake 6.0 reinstallers or anybody would be greatly
> appreciated!
> 
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.



I hope this helps.  I'm gonna try it, though I don't think it will work.  
If it does, I'll let you know.

Jon Hurd

--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: Peter Lee <[EMAIL PROTECTED]>
Subject: linux and Cable modem?
Date: Fri, 03 Mar 2000 18:18:11 -0500

Hi,

I am wondering if the cable modem, like power link or roadrunner, can
support linux?  It seems they only support windows/95/98/NT... Am I
correct?

thanks!
Pete


------------------------------

From: Bruce Stephens <[EMAIL PROTECTED]>
Subject: Re: Journaling file system (Ext3 or SGI's)
Date: 03 Mar 2000 23:55:12 +0000

[EMAIL PROTECTED] (Hal Burgiss) writes:

> On 03 Mar 2000 22:01:11 +0000, Bruce Stephens
> <[EMAIL PROTECTED]> wrote:
> >"Brian" <[EMAIL PROTECTED]> writes:
> >
> >> This is all very interesting - Thanks Guys.
> >> 
> >> What kind of CPU/hardware overhead is required; does it slow disk
> >> access markedly?
> 
> [...]
> 
> Would you know if it is SMP safe?

(Presuming we're talking about reiserfs.)  I haven't personally used
it on a SMP machine.  I think I've read comments from the developers
that they routinely use SMP machines for development, however.  

Check the web page <URL:http://devlinux.com/projects/reiserfs/>,
specifically the mailing list archives.

------------------------------

From: [EMAIL PROTECTED] (Walter B Kulecz, PhD)
Subject: Re: How to copy Linux system to new disk?
Date: Fri, 03 Mar 2000 23:53:39 GMT

In article <[EMAIL PROTECTED]>, Jeff Grossman <[EMAIL PROTECTED]> 
wrote:
>Currently I have 2 hard drives, a 1 Gig, and a 10 Gig, with numerous 
>about 5 different mount points.  I am running Redhat 6.1.  Would it be 
>possible for me to purchase a new 20 Gig drive, and use the same 
>procedures to just copy everything from both of those hard drives into 
>the new drive?  I want to get rid of all the mount points and only use 1 
>mount point.

try:

mount /dev/your20GB /a
cp -ax / /a
cp -ax /part1   /a
cp -ax /part2 /a
etc.

Don't forget to edit /a/etc/fstab for the new layout.

Have a boot floppy ready and after you make the big drive IDE0 or 
what ever it takes on you system, boot the floppy and edit 
/etc/lilo.conf and run lilo.

lilo: linux root=/dev/hda1 might be needed depending on how you setup 
your boot floppy.

Works for me.  But I usually do it in reverse, installing to a big 
enough IDE drive and then copying to a set of smaller SCSI drives to 
get overlapping seeks.  I keep the IDE drive for periodic system 
backups with an rsync script run from cron.

--wally.

------------------------------

From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: linux and Cable modem?
Reply-To: The news group
Date: Sat, 04 Mar 2000 00:32:09 GMT


Do not let that stop you.
Running AMD K6 III 400 mhz on redhat 6.1, with dhcpcd.

http://members.home.net/randal.leavitt/CableModemConnectionNotes.html
http://www.coastnet.com/~pramsey/linux/homenet.html
http://www.lugor.org/roadrunner/answers.html
http://www.vortech.net/rrlinux/
http://edge.fireplug.net
http://larkin.nuclearwinter.com/rros2/LoginSoftware.html
http://luau.hi.net/howtos.shtml
http://members.home.net/adaviel/Upgrade.html
http://members.home.net/jasonbrossa/Linux/ 
http://navasgrp.home.att.net/tech/cable_dsl.htm
http://pasadena.net/linux/linuxsecure.html
http://people.qualcomm.com/karn
http://RRCMH.mjk.org
http://usmcug.usm.maine.edu/~kpesce/rr/
http://www.aa.net/~swear/pedia/modems.html
http://www.cablemodemhelp.com
http://www.CableModemInfo.com
http://www.cablemodeminfo.com/cablesharing.html
http://www.ecst.csuchico.edu/~mcumings/cablemodem/
http://www.speedguide.net/
http://www.teleport.com/~samc/cable5.html


On Fri, 03 Mar 2000 18:18:11 -0500, Peter Lee <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I am wondering if the cable modem, like power link or roadrunner, can
>support linux?  It seems they only support windows/95/98/NT... Am I
>correct?
>


-- 
The warrenty and liability expired as you read the message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it. 
Do a,  man every_command_here, before doing anything or running a script.

------------------------------

Subject: depmod/modprobe problems...
From: [EMAIL PROTECTED] (Ryan Scranton)
Date: Sat, 04 Mar 2000 00:49:10 GMT

I'm having a rather puzzling problem with getting modules to load
themselves during boot-up.  Whenever I run a "depmod -a", it produces a
/lib/modules/2.2.12-20/modules.dep file that's completely empty.  As a
result, modprobe can't start the modules during startup or any other time.
I've tried re-making modules and modules_install, but all to no avail.  

I can successfully insmod the modules for my sound card once the system
is up and running, so I'm pretty sure that my kernel isn't having problems
with the whole modules concept (I recently re-compiled it) or having
issues with the module I had to compile for the ESS soundcard. Likewise,
when the pcmcia stuff gets loaded, it correctly picks up on my ethernet
card, so I'm fairly certain that my /etc/conf.modules file is more or less
Ok.  Here it is:
=============================================
path[pcmcia]=/lib/modules/'uname -r'
path[pcmcia]=/lib/modules/default
path[pcmcia]=/lib/modules/preferred
path[sound]=/lib/modules/'uname -r'
path[misc]=/lib/modules/'uname -r'
alias soundcore on
alias soundlow on
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 slhc

alias sound maestro
=============================================

Any ideas?

-Ryan


------------------------------

Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.x,linux.dev.admin
From: [EMAIL PROTECTED] (Moun Chau)
Subject: Annual Linux Showcase - Call for Papers
Date: Sat, 4 Mar 2000 00:31:00 GMT

4th Annual Linux Showcase and Conference, Atlanta
October 10 - 14, 2000
Cobb Galleria
Atlanta, Georgia, USA
http://www.linuxshowcase.org

Sponsored by USENIX, the Advanced Computing Systems Association, and the
Atlanta Linux Showcase, in cooperation with Linux International

LINUX ENTHUSIASTS AND PROFESSIONALS: The highlight of this year's Linux
community calendar is undoubtably the Annual Linux Showcase and
Conference.  Now in its fourth year, ALS is specifically designed for
the Linux enthusiast, with an emphasis on high-caliber technical
knowledge. This conference is developed by a volunteer community of
computing professionals and by USENIX, a not-for-profit technical
association respected for its tradition of in-depth technical
conferences.

ALS 2000 promises to be the biggest event in ALS history, expanding its
technical program to include more tutorials, refereed papers, invited
talks, Birds-of-a-Feather sessions, hothouses, and opportunities for
informal discussions with Linux experts, professionals, and vendors. The
conference includes a three-day vendor exhibition in which more than 80
companies will showcase their latest products and services.

We are currently seeking submissions for Technical White Papers,
Works-In-Progress Reports, Talks/Panel Session proposals, and Tutorial
presentation proposals for this event. Suggested topics include
discussions on the development of Linux and Open Source platforms,
applications and tools as well as the implementation, maintenance and
growth of Linux systems in small and large environments. Detailed topic
suggestions and submission guidelines can be found on our website:
http://www.linuxshowcase.org.

===============================================================
IMPORTANT DATES

Submissions due:
        Extreme Linux Workshop: April 17, 2000
        Hack Linux/Use Linux Tracks: May 1, 2000
Notification to authors:
        Extreme Linux Workshop: June 16, 2000
        Hack Linux/Use Linux Tracks: June 30, 2000
Registration material available: July 2000
Editorial revisions due (Extreme Linux Workshop): July 23, 2000
Final papers due (for all tracks/workshops): August 24, 2000
===============================================================

Join us in the premier technical conference for Linux enthusiasts and
professionals! This conference is sponsored by USENIX, the Advanced
Computing Systems Association, and the Atlanta Linux Showcase, in
cooperation with Linux International.




------------------------------

From: [EMAIL PROTECTED]
Subject: something like loadkeys for X
Date: Sat, 04 Mar 2000 00:51:07 GMT

We had a broken keyboard today (broken a key) I tried using the
loadkeys cmd with a modified keymap (changed "caps lock" to "a") which
works fine on a plain tty but dosn't work under X. How do you remap the
keyboard for X ?

tia             ChasR


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------


** 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
******************************

Reply via email to