Linux-Misc Digest #533, Volume #24               Sat, 20 May 00 12:13:02 EDT

Contents:
  Re: grep syntax question (sleddog)
  URI cpan ? (sleddog)
  Re: How to "format" under Linux (mike burrell)
  Re: GODDAMN PRINTER!!! (Edwin Johnson)
  What are independicies..? ("Rick")
  printing to various deskjets from Linux ? (Robert Herzog)
  Re: backup problem (Leonard Evens)
  Re: Report on VA Linux Startx SP2/VA Linux 420 [longish] (Leonard Evens)
  Re: printing to various deskjets from Linux ? (Rod Smith)
  Re: chmod problem (marge schott)
  Re: sound over network (Dances With Crows)

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

From: [EMAIL PROTECTED] (sleddog)
Subject: Re: grep syntax question
Reply-To: [EMAIL PROTECTED]
Date: Sat, 20 May 2000 14:13:04 GMT

On Sat, 20 May 2000 13:49:43 GMT, Paul Colquhoun
<[EMAIL PROTECTED]> wrote:
>On Sat, 20 May 2000 08:29:29 -0400, Mark Bratcher <[EMAIL PROTECTED]>
wrote:
>|sleddog wrote:
>|> 
>|[snip]
>|>   grep <exp> /var/log/messages >/tmp/today
>|> is what I want to output;
>|> 
>|> But I can't get the syntax right to put the date command into the
grep
>|> command:
>|>   grep date '+%B %d' /var/log/messages >/tmp/today
>|>   grep "date '+%B %d'" /var/log/messages >/tmp/today
>|>   grep (date '+%B %d') /var/log/messages >/tmp/today
>|> are all wrong.
>|> 
>|
>|You want to execute the date command "in-line" so use the "back
quotes":
>|
>|  grep `date '+%B %d'` /var/log/messages > /tmp/today
>|
>|These 'back quotes' would be described in the shell manual (eg, man
>|bash).
>
>
>But to get the 2 parts of the retuned date interpreted as 1 word, you
>may need to go 1 step further and use:
>
>  grep "`date '+%B %d'`" /var/log/messages > /tmp/today
>
>Lets nest all 3 sorts of quotes, just for fun.


phew! Thanks everyone.

-- 
sleddog

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

From: [EMAIL PROTECTED] (sleddog)
Subject: URI cpan ?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 20 May 2000 14:13:05 GMT

One of the requirements for gotmail
(http://www.ozemail.com.au/~peterhawkins/gotmail/) as listed in the
readme:

* The URI cpan module (liburi-perl debian package)

Can anyone tell me what the RedHat 6 equivalent is? I've been pawing
through rpms for over an hour without result. Thanks.

-- 
sleddog

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

From: mike burrell <[EMAIL PROTECTED]>
Subject: Re: How to "format" under Linux
Crossposted-To: comp.os.linux.help,comp.os.linux.setup
Date: Sat, 20 May 2000 14:16:05 GMT

In comp.os.linux.help Totoro <[EMAIL PROTECTED]> wrote:
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options>               <dump> <pass>
> /dev/hdd6       /extra       ext2   defaults,auto             0      1

> What does <dump> and <pass> stand for?

this should be explained in your fstab manpage.  the 'dump' level is used
when the 'dump' command is issued, which will dump some filesystems to
back-up (most likely tape).  the 'pass' level is used at boot-up, and it
describes whether a filesystem should be fscked (at boot-up) or not.

-- 
             /"\                                m i k e    b u r r e l l
             \ /     ASCII RIBBON CAMPAIGN               [EMAIL PROTECTED]
              X        AGAINST HTML MAIL
             / \

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

From: [EMAIL PROTECTED] (Edwin Johnson)
Subject: Re: GODDAMN PRINTER!!!
Reply-To: [EMAIL PROTECTED]
Date: 20 May 2000 14:33:28 GMT

Look at the man for lprm. That will deque the print jobs and can be followed
by owner or printer, etc. There will be residual output to the printer after
issuing this since the printer has an internal buffer. But it will stop the
job.

If all that fails, read the /etc/printcap to find the spool directory for
that particular printer. There you will find the qued jobs, so you can
delete the files and touch all of those names again to remake the files.
Note the ownership and attributes of the files before deleting so you can
put them back as before.

...Edwin

On Fxri, 19 May 2000 23:03:41 -0600, Praedor Tempus <[EMAIL PROTECTED]> wrote:
>This is not a linux question so much as a generic hardware
>question.  I have an epson stylus color 600.  I erroneously
>sent a bad printjob to the printer and now can't get the 
>damn printer to quite trying to print it.  
>
>I sent a jpeg directly to the printer instead of via some
>graphics app like ee or kshow.  Now, whenever I turn on the
>printer, it spits out page after page of crap.  It prints 
>a line or two of ascii garbage at the top of the page and 
>then spits it out and goes on doing the same thing with 
>page after page.  I have sat here running the same 
>bundle of paper thru the printer again and again hoping that
>it would finally dump it's buffer but nooooooo.
>
>Shortly after sending the printjob I took a quick look at
>the queue with lpq but nothing showed...it was too late.
>Since then I have tried shutting off the printer for a few
>minutes - doesn't work.  As soon as I turn it on again it
>starts spewing crap again.  I have tried rebooting the computer
>but it doesn't stop it either.  I have tried shutting down the
>computer completely and then turning off the power supply as 
>well for a few minutes but as soon as I restart the computer
>the printing starts up again.
>
>Is there ANY way to flush the print buffer clean so that this
>nonsense stops cold?  I don't want to babysit the printer, 
>running the same couple of sheets of paper thru it again and
>again...and I am unwilling to waste a lot of paper by just 
>sticking in blank paper and letting it go.  I WANT THE DAMN
>INFERNAL DEVICE TO STOP...NOW!  
>
>Is there ANY way to stop the madness?
>
>praedor


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~   Edwin Johnson ....... [EMAIL PROTECTED]  ~
~        http://www.shreve.net/~elj       ~
~                                         ~
~ "Once you have flown, you will walk the ~
~ earth with your eyes turned skyward,    ~
~ for there you have been, there you long ~
~ to return." -- da Vinci                 ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

From: "Rick" <[EMAIL PROTECTED]>
Subject: What are independicies..?
Date: Sat, 20 May 2000 16:31:48 +0200

What are independicies. ?

Rick





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

From: Robert Herzog <[EMAIL PROTECTED]>
Subject: printing to various deskjets from Linux ?
Date: Sat, 20 May 2000 14:40:35 GMT

Hello,
A colleague of mine intends to reconfigure his NT based network into all
Linux boxes. The machines must run a decent Office suite, like
Staroffice, Applixware, etc.
But each of these PC's presently have their own deskjet printer, ansd as
you might guess, there is a very heterogeneous stable of these.
While my choice would be to print on one or a few decent central laser
printers in PostScript, this is not an option here...
Can someone recommend which is/are the best option(s) here, in order to
fully exploit the color/BW capabilities of these printers, including
which Linux Office package is the richest in this respect ?
What about the present status of KWord and friends ?
Herzog

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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: backup problem
Date: Sat, 20 May 2000 09:45:28 -0500

ChemSoft GmbH wrote:
> 
> hi all,
> i try to realize an incremental backup for our servers on an dds tape-drive.
> i have made the following script:
> 
> #!/bin/sh
> # fullbackup of ....
> 
> # nfsmount/smbmount
> .....
> 
> # first rewind the tape
> mt -t /dev/st0 rewind
> 
> # then backup
> cd /
> tar -c -v -V "Fullbackup" -f /dev/st0 -g /var/adm/backup/Dir etc/ home/
> server1/home/ server2/home/
> 
> # unmount nfs/smb-shares
> ....
> 
> first i mount the servers via nfs/smb and make a fullbackup.
> 
> then i try to make a backup only of the files that have changed or are new:
> 
> #!/bin/sh
> # incremental backup
> 
> # nfs/smbmount the shares
> .....
> 
> # rewind the tape
> mt -t /dev/st0 rewind
> 
> # and go to the end of the last file
> mt -t /dev/st0 eof
> 
> # incremental backup
> cd /
> tar -c -v -V "Incrementalbackup" -f /dev/st0 -g /var/adm/backup/Dir etc/
> home/ server1/home/ server2/home/
> 
> but it doesn�t work. i get the following error message:
> 
> tar: home/*: Cannot stat: No such file or directory
> 
> or:
> tar: Error exit delayed from previous errors
> 
> And it seems that during the incremental backup NOT only the new files are
> backuped
> 
> anybody can tell me what�s going wrong.
> 
> thanks in advance
> 
> Mit freundlichem Gru� aus Sankt Augustin
> Diana Block
> 
> ChemSoft GmbH
> Market-Services
> Postanschrift: Am Otenberg 17a, 53757 Sankt Augustin
> Technik und Service: TechnoPark der GMD, Rathausallee 10
> Telefon 02241/334691 - Fax 02241/334692 - http://www.chemsoft.de
> 
> --
> 
> Mit freundlichem Gru� aus Sankt Augustin
> Diana Block
> 
> ChemSoft GmbH
> Market-Services
> Postanschrift: Am Otenberg 17a, 53757 Sankt Augustin
> Technik und Service: TechnoPark der GMD, Rathausallee 10
> Telefon 02241/334691 - Fax 02241/334692 - http://www.chemsoft.de

You probably have to use the non-rewinding device
/dev/nst0
at seveal points in your scripts.
-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Report on VA Linux Startx SP2/VA Linux 420 [longish]
Date: Sat, 20 May 2000 10:02:19 -0500

Robert Lynch wrote:
> 
> I recently bought a VA Linux Startx SP2 system. [Now called a "VA Linux
> 420 Workstation", I find when checking the VA Linux site today.]  I
> bought their base workstation, it sells for US$795 (no monitor). I chose
> to upgrade: 466 -> 533MHz Celeron processor, 64MB -> 128MB 1-DIMM RAM,
> and added a 56K internal PCI modem (I had an ISA 56K internal modem, but
> this system only has PCI slots.) With shipping and CA tax, this brought
> the system to a little under US$1400 total.
> 
> I ordered the system from the Web site on 3 May.  After placing the order
> I was surprised that no e-mail confirmation arrived.  I sent some site
> feedback about this and received a telephone call, then an e-mail.  Problem
> was they had two places to enter one's e-mail address, and I had missed the
> second.  The VALinux rep told me that the system would probably ship in
> a couple of weeks.  The e-mail gave some links to my "account" on the
> site, which I checked every so often, to find "system not yet shipped."
> On the morning of 10 May I checked and found the same prediction, but
> "BING!" went my doorbell a while later and there was a UPS guy with the
> system.  OKAY!
> 
> Hooking up the system, I found it worked fine.  Then I embarked on my
> plan to take the 8.2GB Western Digital Caviar out of my old system and
> put it in the empty bay of this one. I opened the system with the idea
> that I would find an empty connector on the 2nd IDE controller cable and
> a convenient power supply cable.  Pop the drive in (slaved to the
> CD-ROM), connect cable and power, done.
> 
> Foiled.  Someone at the factory had installed the 2nd IDE data cable
> backwards, so that the two drive connector end was near the motherboard,
> not the CD-ROM.  Also, there was no bay hardware for mounting the
> drive.  I called VALinux tech support and got a guy in Oklahoma who
> couldn't offer any help; I don't think he even logged the call since he
> didn't ask for a serial number, etc.  This is surprising for a company
> that is into supplying high-end servers, you would expect the response
> to be "we have it, it will be overnighted to you, sorry 'bout that." So
> I went a couple of times to "Tom's Computer Warehouse" here in Berkeley
> whence Tom and his side-kick concocted a bay thingie out of surplus
> dinguses.  About US$12 poorer, and after losing some knuckle skin, 2nd
> drive was in, power up, ... all was well.  Whew!
> 
> The factory-installed 10GB hard drive was partitioned strangely, seems
> to me anyhow:
> 
> /boot   ~ 23MB
> /       ~ 1.5 GB
> /home   ~ 8.2 GB (the rest of drive except some swap)
> 
> When I tried to install my copy of Applix Office, wouldn't go because it
> wants to install in /opt, but the root filesystem didn't have enough
> space.  This was cured by making a symlink /opt -> /home/opt.
> 
> Another nudgie I found when replacing sendmail with postfix, was that
> named was not running; kept dying after restart because there was no
> user "named".  No biggie to debug and fix, but annoying.
> 
> It was also annoying-fun to find that every time one logged in a kfm
> window would come with a VALinux readme.  The document itself told one
> how to get rid of itself (remove from Autostart).  But more mysterious
> and harder to "fix" was the way that Netscape Navigator always came up
> with a VA Linux page from /usr/doc, overriding Netscape preferences.  I
> won't tell you how I solved that one, so as not to spoil the pleasure of
> other people who buy such a system.
> 
> Overall I am very pleased with my VALinux system.  I can pretty much do
> my own tech support, so the poor response from my single encounter with
> VA Linux techs doesn't bother me. I don't know if I could recommend this
> system for PC/Linux newbies, tho.
> 
> My wife and I agree that the most impressive part of the system is the
> deep-blue light on the power-on button. :)
> 
> FWIW. Bob L.
> 
> P.S. If the fan could be a trifle quieter, I'd like that in retrospect.
> --
> Robert Lynch-Berkeley CA [EMAIL PROTECTED]

I own a VALinux system which is several years old, and our
department has several more.   I also set one up for my son.

My experience with VALinux technical support is that they try
to be helpful but they don't always succeed.  In previous
years you could get to the experts fairly easily, but more
recently due to expanstion you may get a  low level person
who can't handle sophisticated questions.   Still they are
generally better about support than other vendors I've
dealt with.

I've had the same problem that you describe about mounting
hardware on my VALinux machine, but I've also had it on
machines provided by Vendors like Dell and Gateway.  

My first VALinux machine had only 1 GB for the root, and I
encountered the same problem you did.   I solved it by
making a link from /opt to /home/opt, and eventually I
repartitioned.   But a Dell machine we got with Linux installed
had an even more irrational partitioning, and we had to
do some repartitioning almost immediately to make it useful
for our purposes.   Some vendors, including VALinux will
partition as you want, at least for their higher end machines.

VALinux machines have the noisiest fans, but they presumably
are also less likely to fail.

-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: printing to various deskjets from Linux ?
Date: Sat, 20 May 2000 15:21:45 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        Robert Herzog <[EMAIL PROTECTED]> writes:
> Hello,
> A colleague of mine intends to reconfigure his NT based network into all
> Linux boxes. The machines must run a decent Office suite, like
> Staroffice, Applixware, etc.
> But each of these PC's presently have their own deskjet printer, ansd as
> you might guess, there is a very heterogeneous stable of these.
> While my choice would be to print on one or a few decent central laser
> printers in PostScript, this is not an option here...
> Can someone recommend which is/are the best option(s) here, in order to
> fully exploit the color/BW capabilities of these printers, including
> which Linux Office package is the richest in this respect ?

Linux includes a package called Ghostscript that'll make any of those
DeskJet printers look like a PostScript printer. (This assumes that the
specific DeskJet models are supported by Ghostscript; check
http://www.picante.com/~gtaylor/pht/printer_list.cgi for a searchable
database.) You'll need to configure each Linux box's printer queue
independently, just as you do in NT.

As to which office package best exploits printer features, I'm not really
sure. I know that WordPerfect 8 (but NOT WordPerfect Office 2000) includes
a plethora of printer drivers that increase your options, but from the
postings I've seen, using PostScript drivers rather than printer-specific
drivers seems to work best with most HP DeskJets. AFAIK, all the office
packages for Linux support color printing, so that shouldn't be an issue.
I know how to add fonts to ApplixWare (see my web page at
http://www.rodsbooks.com/axfonts/, but note this is for the previous
version of Applix; I don't know if anything's changed with 5.0). Ditto for
WordPerfect 8 (see http://www.rodsbooks.com/wpfonts/), but WPO2K is *VERY*
different in this respect. I gather it's possible to add fonts to
StarOffice, but I don't know the details.

> What about the present status of KWord and friends ?

The last I checked, none of the open source office packages was yet
anywhere near complete. If your needs are modest, you might be able to use
one of these. LyX (or KLyX) is probably a good bet for certain uses, but
definitely not for others. I think you'll need to be more precise about
what the needs are. For instance, do you need MS Office file
compatibility? (In which case I must recommend against using any native
Linux program, since file import/export in NEVER perfect.) Do you write
big files? Complex files? Files with graphics? What component is most
important -- word processor, spreadsheet, etc.?

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & multi-OS configuration

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

From: marge schott <[EMAIL PROTECTED]>
Subject: Re: chmod problem
Date: Sat, 20 May 2000 08:24:25 -0700

I have tried this, but i get an 'operation not permitted' error.

thanks.

On Sat, 20 May 2000 02:47:09 -0400, "Lonni J. Friedman"
<[EMAIL PROTECTED]> wrote:

>
>
>marge schott wrote:
>> 
>> I installed linux and ran this crazy bastille program and it created a
>> .rhosts file in my root directory with access perms -r-- --- ---. I
>> now cannot modify this file. Does anyone know how I can get rid of it?
>
>That's because you only have read access.  Try:
>chmod 600 .rhosts
>
>and you should be able to edit/delete the file


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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: sound over network
Date: 20 May 2000 12:05:39 EDT
Reply-To: [EMAIL PROTECTED]

On 20 May 2000 06:24:34 GMT, root 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>- linux 2.2.5-15 redhat 6
>  many mem&mhz X3
>  !!No souncard
>   |
>   | 10 mb ethernet (working)
>   |
>- linux 2.2.14 redhat 6
>  p120, 16m  
>  working souncard
>And I want a xmms (or even cat>/dev/dsp) on client01 soundfile
>to make some noise out of the server...

You are out of luck unless you want to do a lot of mucking around with the
pc_speaker module.  You see, IBM PC compatible computers don't have any
real sound hardware built-in.  They have a low-fidelity speaker that's
good for producing the occasional beep, but that's it.  Production of
high-quality or even medium-quality sound requires specialized hardware,
and that means a sound card.  I'll bet that if you were to check the back
of your client01 machine, you wouldn't see a socket for a standard RCA
speaker or headphone jack.  No socket = no way to output sound except
through the PC speaker.

That said, the PC speaker utilities can be found at the URL below.
ftp://ftp.infradead.org/pub/pcsp/

-- 
Matt G / Dances With Crows              \###| You have me mixed up with more
There is no Darkness in Eternity         \##| creative ways of being stupid?
But only Light too dim for us to see      \#| Beer is a vegetable.  WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL

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


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