Linux-Misc Digest #684, Volume #21 Sun, 5 Sep 99 18:13:09 EDT
Contents:
Re: full backup minus content of CD
Re: General Rant from a Linux Newbie ([EMAIL PROTECTED])
Re: Is it possible to rename bunch of files need to left padd to ceratin ("Bruce
Merry (Entropy)")
minicom (Brekeveld)
Re: Amiga, QNX, Linux and Revolution (Joe Cosby)
pause/sleep command (Mladen Gavrilovic)
True Type Font files? (Jack Zhu)
windowmaker "dock" (aydincem)
Re: prinitng a man page (Peter Greenwood)
Re: How to get a job running again? (Turgut Durduran)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] ()
Crossposted-To: comp.os.linux.setup
Subject: Re: full backup minus content of CD
Date: 05 Sep 1999 20:17:35 GMT
On Fri, 03 Sep 1999 19:38:15 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>interested in backing up all files on the system EXCEPT those that come
>from the Linux CD and are unmodified. How do I find out which ones are?
It may be slow, brute force, so you might not want to actually go through
the motions. However, you could query each filename to see if it came
from an rpm (rpm -qf filename) -- this would be sufficient to tell whether
the file came from the CD, at least partially.
If you rpm -qf on a file that's user-supplied (like files in /home)
rpm -qf will returen a string like "file foo is not part of any
package", and you can match on that.
The more difficult part is whether or not you need to backup things
that are part of RPMs and have been modified. For instance, you might
have poked your head in updates.redhat.com and installed some updates
to the system software, using rpm -Uvh. In this case you would want to
back those files up.
>Replies please cc my email (since the Deja Tracker
>does not seem to work for me): [EMAIL PROTECTED]
========================================================================
David E. Fox Tax Thanks for letting me
[EMAIL PROTECTED] the change magnetic patterns
[EMAIL PROTECTED] churches on your hard disk.
=======================================================================
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: General Rant from a Linux Newbie
Date: 5 Sep 1999 21:04:35 GMT
Lizard wrote:
> A few suggestions, mostly random:
> Why the SMEG does X write output to STDOUT when you can't SEE it until you
> leave X? At the very least, the user should have the option of all error
> messages being written to an X Terminal visible on their desktop. There's
> nothing like shutting down X and seeing a screenful of error messages which
> would have been a lot more helpful to know about WHEN I GENERATED THEM!
What if X fails, where would you write the error messages? If you write
them to a file:
startx >X.out 2>&1
you can tail that file in an xterm
tail -f X.out
this way you leave tracks, and can see what errors are happening.
> Is it just me, or is X rather, uhm, sluggish? I have a PII 400 and the
> whole GUI felt like it was running in molasses. Is there some 'trick' to
> speeding it up?
The original XFree*-49.i386.rpm's should be replaced with
the newer XFree*-52.i386.rpm's which fixed the sluggishness
for me.
> Directories do not need version names, especially for enduser apps.
> 'FooBar1.01-45A-intel-linux-2.0' is a *stupid* name for a directory. (Or a
> file, for that matter). Since the Macintosh, which also permits very long
> file names, is NOT afflicted with this sort of nonsense, I don't see why
> Linux has to be.
It's easy to manuver, just:
cd /usr/whatever/FooBar*
> More rants as the situation warrents.
The view is worth the climb, it was for me anyway. Stick with it...
------------------------------
From: "Bruce Merry (Entropy)" <[EMAIL PROTECTED]>
Subject: Re: Is it possible to rename bunch of files need to left padd to ceratin
Date: Sun, 05 Sep 1999 21:38:47 +0200
ramdan wrote:
>
> I have 3000 files need to make all of them 18 characters in size and left
> padded with zeros if less than 18 characters
>
> is this possible
Anything is possible :-). If you're using bash, try something like this:
for filename in *; do (use whatever wildcard is appropriate)
new=$filename
while [ `echo "$new" | wc -c` -lt 18 ]; do new="0$new"; done
echo "mv $filename $new"
done
if the output of this looks like what you want (I haven't checked it)
then replace the echo line with just the mv command.
Bruce
--
/--------------------------------------------------------------------\
| Bruce Merry (Entropy) | bmerry at iafrica dot com |
| Proud user of Linux! | http://www.cs.uct.ac.za/~bmerry |
| All true wisdom is found on T-shirts. |
\--------------------------------------------------------------------/
------------------------------
From: Brekeveld <[EMAIL PROTECTED]>
Subject: minicom
Date: Sun, 05 Sep 1999 22:32:30 +0100
Hi,
I want to run minicom in a non-interactive mode by cron to do some
automated downloading with
a 'runscript script'
How to do that ?
What other suggestion to dial a system and give control to runscript ?
Thanks,
Feite Brekeveld
------------------------------
From: [EMAIL PROTECTED] (Joe Cosby)
Crossposted-To: comp.os.qnx,comp.sys.amiga.misc
Subject: Re: Amiga, QNX, Linux and Revolution
Date: 5 Sep 1999 20:48:40 GMT
** To reply in e-mail, remove "zixtuc." from address **
Kai Henningsen hunched over his computer, typing feverishly;
thunder crashed, Kai Henningsen laughed madly, then wrote:
> [EMAIL PROTECTED] (Paul E. Bell) wrote on 04.09.99 in
><[EMAIL PROTECTED]>:
>
> > Kai Henningsen wrote:
> > >
> > > [EMAIL PROTECTED] (Paul E. Bell) wrote on 03.09.99 in
> > > <[EMAIL PROTECTED]>:
>
>
> > > > Whether either (Linux or QNX) can become a consumer OS remains to be
> > > > seen. I have a friend at work who is a staunch supporter of Linux, but
> > > > freely admits that it is not the OS for first time computer users,
> > > > Grandpa, or anyone else who just wants to turn on the computer, click on
> > > > an icon, do their work (or play), quit and shut down. I don't know that
> > >
> > > Then again, *no* OS I know is. (MacOS probably comes closest, but even
> > > that has a long way to go to fit the above definition.)
> > >
> > > The idea of using a computer without learning about it is, IMO, exactly as
> > > sound as the idea of driving a car without learning about it - except cars
> > > are not as complicated as computers.
> >
> > Well, the whole "convergeance" thing is supposedly to take computers and
> > make them as easy to use as TVs and VCRs.
>
I thought the whole point of the "convergence" thing was to take
VCR's and make them as easy to use as computers.
What's more difficult: programming your VCR or creating (for
instance) a MIDI playlist using a decent media player on a
computer?
> >I know, we all have seen the
> > odd consumer who can't run a TV or a VCR, or even a telephone, but
> > that't beside the point. I don't know if that's necessarily a "good
> > thing", making computers so simple to use that the least intuitive
> > person can use one. Some things that can interface to computers may be
> > good that simple, but computers themselves? I don't think so. Still,
> > even the PC/Windows/Intel/whatever industry seems to be toying with the
> > idea, if for no other reason than to reach the households who have not
> > broken down and bought a computer, yet. Whether anyone will succeed
> > with this goal remains to be seen.
>
> I'm firmly convinced it's a completely impossible goal.
>
Besides being an impossible goal, personally I don't think it's a
desirable goal.
They 'teach computers' in school these days, but they don't teach
the basics. I know a lot of people who don't really know the
difference between a program and a data file.
General purpose computers -are- extremely complicated in their
potential applications. By teaching people applications first,
rather than the basics, people are given the impression that
computers are even more complicated, and incomprehensible, than
they really are. Teach somebody M$ Word, for instance, then try
to teach them Excel. They will learn Excel in terms of how it
differs from Word, because that is their concept of 'how a
computer works'.
If the basic concepts (what is a file, what is a program, GUI
elements, directory structure) were introduced first, I think
real computer literacy would rise.
These aren't really such difficult concepts. Not really more
difficult than teaching a high-school algebra student that the
symbol 'X' can represent -any- number.
...
Sorry, I know this isn't really relevant to the thread, it's just
one of my soapbox issues.
--
Joe Cosby
Amiga Fanatic
------------------------------
From: Mladen Gavrilovic <[EMAIL PROTECTED]>
Subject: pause/sleep command
Date: Sat, 04 Sep 1999 21:00:43 -0400
Hi all,
I've been making scripts, and I need to make the system pause for a
second or so between commands. Is there a way to do this? I'm looking
for something equivalent to "SLEEP 1" in BASIC, or something like that.
Preferably I'd like this to be available from the shell, but if it can
be programmed in C that's also fine.
Regards,
Mladen
------------------------------
From: Jack Zhu <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: True Type Font files?
Date: Sun, 05 Sep 1999 17:08:26 -0400
Could anyone tell me where I can download the necessary ttf files so
that my X-window looks like MS enviormrnt?
Be honest, without true type fonts, MS still looks better than X-window.
Thanks a lot!!
------------------------------
From: aydincem <[EMAIL PROTECTED]>
Subject: windowmaker "dock"
Date: Sun, 05 Sep 1999 23:19:31 +0200
hi,
my question is about the dock in the wmaker gui. i found out that the
look of the dock is stored in the file ~/GNUstep/Defaults/WMState, true
?
ok, but when i change the defaults and restart wmaker nothing happened.
how can i add/remove applications "links" to this dock or to the clip?
thanks for any re
cu
cem aydin
------------------------------
From: [EMAIL PROTECTED] (Peter Greenwood)
Subject: Re: prinitng a man page
Date: 30 Aug 1999 02:23:35 GMT
In article <[EMAIL PROTECTED]>,
Jeffrey Smith <[EMAIL PROTECTED]> writes:
>
>Mahmood Ezad Butt wrote:
>
>> What command do we give to print a man page ???
>
>You create a postscript file using groff ...
<lots snipped>
.. but if his system is already set up with suitable filters,
"man -t procmail | lpr"
ought to work fine. (It does on my RedHat 5.1).
--
Peter Greenwood [EMAIL PROTECTED]
Email advertisements received at this site are subject to a handling charge
of TWENTY-FIVE POUNDS STERLING. By sending such material you agree to be
bound by this condition.
------------------------------
From: [EMAIL PROTECTED] (Turgut Durduran)
Subject: Re: How to get a job running again?
Date: 5 Sep 1999 21:26:59 GMT
Hi,
Thanks for the reply. However, I think because my x-terminal died
when I log in again it does not let me to do that.
jobs or jobs -l do not show anything.
These jobs are still there (I can see them with ps ux ) but can
not "fg" them as I would have done if my terminal was still connected.
Turgut
In article <[EMAIL PROTECTED]>,
Anthony Valentine <[EMAIL PROTECTED]> wrote:
>
>Hello Turgut Durduran,
>
>You can use the 'jobs' command to find out the job number then use the 'fg' command
>to bring the program
>to the foreground or 'bg' to start it again in the background.
>
>Anthony
>
>
>>
>> -----------------
>>
>> d u r d u r a n @
>> m a i l . s a s . u p e n n . e d u
>>
>> -----------------
>> www.stwing.upenn.edu/~durduran/
>>
>
------------------------------
** 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
******************************