Linux-Misc Digest #77, Volume #24                 Sat, 8 Apr 00 11:13:02 EDT

Contents:
  Less Memory Use After startx ("T.F.Lai")
  Re: repartitioning with FIPS (Anita Lewis)
  PS/2 to Serial Mouse Converter (Polat)
  Autofs does not work as expected (Otto Wyss)
  Re: vim and 'c' on exit ("T.E.Dickey")
  Re: Gnorpm Crashes (Len Philpot)
  Re: Kill! (Roberto Alsina)
  linux, redhat and printing (Ralph C Blach)
  Postgresql installation error ("RCS")
  Re: Netscape 6 (Len Philpot)
  Re: Converting Files From Win 98 to Linux (Ralph C Blach)
  Re: Unable to change root password. (Len Philpot)
  Re: HELP!!!!  Can't Get To KDE (Steve)
  Re: ? comp.os.linux.announce ? (Steve)
  Re: News Readers for Linux (Steve)
  Re: [Fwd: Why??] (Steve)
  Re: Error Messages (Steve)
  Re: News Readers for Linux (short review of Netscape 6 News) (Steve)
  Re: GNOME terminal and color text? (Steve)
  Re: Get Rid of MSh*t ^M's <CR> from a file... (Robert Heller)

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

From: "T.F.Lai" <[EMAIL PROTECTED]>
Subject: Less Memory Use After startx
Date: Sat, 8 Apr 2000 21:37:21 +0800

I'll be appreciate if anyone can help me to solve this out. Because I'm
encountered strange problem.

I'm using :
1) AMD-K6 450MHz 3D running 64MB SDRAM.
2) RedHat 6.1 Deluxe Version
3) XFree-3.3.5 Version
4) 3C362 S3 Trio3D/2X AGP Display Card

Everything is work fine, but the only thing I check my memory status using
gtop/top command after startup X-Windows, it shown :
     Mem:   63124K av,  61576K used,   1548K free,  46612K shrd,   1560K
buff
     Swap:  48152K av,   2456K used,  45696K free   22672K cached
In fact, I never open any additional program like big program like browser
or graphics tools. What
happen to that?







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

From: [EMAIL PROTECTED] (Anita Lewis)
Crossposted-To: comp.os.linux.setup,linux.redhat.install,linux.redhat.misc
Subject: Re: repartitioning with FIPS
Reply-To: [EMAIL PROTECTED]
Date: Sat, 08 Apr 2000 13:32:43 GMT

On Fri, 7 Apr 2000 20:24:14 -0700, Kirk Wythers wrote:
>I did... but I can't see any change to the partition. Win98 would not boot
>at first so I used RESTORRB to replace the root and boot sector files. After
>that 98 booted. However, 98 still thinks there is a single 28 gig partition.
>fdisk reads the same thing. I just don't think that FIPS wrote any changes.
>
>I did not do anything with  autoexec... could these file be interfearing
>somhow? If so, how should I disable them?
>
>krw

autoexec.bat should not interfere.  I have used fips on a small drive, but I
found this site with an explanation included on fips for large drives.  One
of the things it says is that bit about the error and that it is not a
problem. It also says

"After FIPS completes its work, it will display another message stating
   that you should run scandisk on your old partition. I found that
   Windows will sometimes miscalculate the used and free space on your
   drive after using FIPS, and Scandisk will correct this problem. If you
   choose to restore your original partition scheme using the RESTORRB
   utility, you should run Scandisk after this as well."

http://www.linux.integrity.hu/lg/issue38/veselosky.html

Maybe you just need to run Scandisk after running fips, getting the error
message, and rebooting.  The article looks quite helpful for those with
large drives especially.

Anita

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

From: Polat <[EMAIL PROTECTED]>
Subject: PS/2 to Serial Mouse Converter
Date: Sat, 08 Apr 2000 13:33:02 GMT

I have a serial mouse and an external serial modem,
but just one serial port. I have bought a PS/2 to Serial converter
, but Neither L�nux nor Windows doesnt detect it.
Please help me.

Thanks in advice.


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

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

From: [EMAIL PROTECTED] (Otto Wyss)
Subject: Autofs does not work as expected
Date: Sat, 8 Apr 2000 16:01:19 +0200

I tried to use autofs to mount my zip drive but I can't access any file
on it. It's probably just a configuration error.

I have the following auto.master file:
================================================
/zip            /etc/auto.zip

and the following auto.zip file:
================================================
zip             -fstype=vfat            :/dev/sda4

mount tells me automount on /zip is okay but when i try to access
anything on /zip no file is found. If stop automounter and use mount
/zip everthing is okay. 

O. Wyss

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

From: "T.E.Dickey" <[EMAIL PROTECTED]>
Subject: Re: vim and 'c' on exit
Crossposted-To: linux.redhat.misc
Date: Sat, 08 Apr 2000 14:02:05 GMT

In comp.os.linux.misc Doug <[EMAIL PROTECTED]> wrote:
> This seems to be a problem only with the gnome terminal.

yes (it's a bug in Gnome terminal - an faq in fact)

-- 
Thomas E. Dickey
[EMAIL PROTECTED]
http://www.clark.net/pub/dickey

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

From: [EMAIL PROTECTED] (Len Philpot)
Subject: Re: Gnorpm Crashes
Reply-To: [EMAIL PROTECTED]
Date: Sat, 08 Apr 2000 14:28:14 GMT

On Fri, 7 Apr 2000 23:14:34 -0400, "Greg" <[EMAIL PROTECTED]> wrote:

>>I continue to get core dumps whenever I try to use gnorpm. When I start the
>>app 10 min later it dumps. Running Redhat 6.1 Am I missing a patch or
>>something ?
>>
>>Greg
>>
>>

Precisely why I went to kpackage. Does everything I need, too.


 ----------------------------------------------------
 -- Len Philpot -> [EMAIL PROTECTED]     (personal) <--
 ----------------> [EMAIL PROTECTED]   (work) <--
 ------ ><> -----> http://philpot.org/      (web) <--

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

From: Roberto Alsina <[EMAIL PROTECTED]>
Subject: Re: Kill!
Date: Sat, 08 Apr 2000 14:16:16 GMT

In article <[EMAIL PROTECTED]>,
  Juice <[EMAIL PROTECTED]> wrote:
>  Why can't I kill a process as root? I often get these errant
processes, like
> my news client for instance (krn). It goes to lala land and I'm
screwed. I
> can't kill the krn process, I can't kill the X server or anything
running on X
> at the time. The best I can hope for is to reboot, leaving my hard
drive
> mounted. This happens not just in X, but console too. The other day I
was
> playing cdp (cd audio player) and it went bonkers. I couldn't stop
it. The
> music just kept playing. Good thing I liked the band.
>
> This is very frustrating when your root and you have no control. I
reboot more
> than windows now. Woopee!

First, a word of advice. DON�T BE ROOT! Unless you absolutely can�t
avoid it, don�t be root. Be a plain user. Your life will be simpler.

What you had with krn is caused by a buggy version. You probably have
0.6.0. Get 0.6.11 from http://krn.sourceforge.net

As for killing programs: if you are in X and using KDE; you can do ctrl-
alt-esc and then click on the offending window.

The CD players are like that, once they said "play" you need to
tell "stop", or they will never stop :-) Just start another player.

To kill programs, the real mechanism is to use the kill command.
kill process-id
or
kill -9 process-id

Where process-id is the number that identifies each process. To get the
full list of the processes running on your computer, do

ps -aux |less

--
Roberto Alsina (KRN author, MFCH)


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

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

From: Ralph C Blach <[EMAIL PROTECTED]>
Subject: linux, redhat and printing
Date: Sat, 08 Apr 2000 10:35:21 -0400

I love linux, but where Linux needs some improvements is in its printing
subsystem.  Its not
flexable enough.  I like the printing subsystem on AIX the best.  Its
just super.

BTW, I now have my HP Win printer printing in spetcaulare Color on
Linux!  With wordperfect and Applixware, its just super!

Chip

--
Ralph "Chip" Blach
KF4WBK
Chapel Hill, North Carolina




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

From: "RCS" <[EMAIL PROTECTED]>
Subject: Postgresql installation error
Date: Sat, 8 Apr 2000 16:29:37 +0200

Hello, I downloaded postgresql-6.5.3.tar.gz, gunzipped it and followed the
installation

instructions ( in install).

I'm doing a fresh installation of Postgresql.

After starting gmake:

$ gmake all > make.log 2>&1 &

$ tail -f make.log

everything went fine, until these error messages:

gmake[3]: Entering directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/buffer'

gmake[3]: *** No rule to make target `page/SUBSYS.o'. Stop.

gmake[3]: Leaving directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/buffer'

gmake[3]: Entering directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/file'

gmake[3]: *** No rule to make target `page/SUBSYS.o'. Stop.

gmake[3]: Leaving directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/file'

gmake[3]: Entering directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/ipc'

gmake[3]: *** No rule to make target `page/SUBSYS.o'. Stop.

gmake[3]: Leaving directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/ipc'

gmake[3]: Entering directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/large_object'

gmake[3]: *** No rule to make target `page/SUBSYS.o'. Stop.

gmake[3]: Leaving directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/large_object'

gmake[3]: Entering directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/lmgr'

gmake[3]: *** No rule to make target `page/SUBSYS.o'. Stop.

gmake[3]: Leaving directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/lmgr'

gmake[3]: Entering directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/page'

gmake[3]: *** No rule to make target `page/SUBSYS.o'. Stop.

gmake[3]: Leaving directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/page'

gmake[3]: Entering directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/smgr'

gmake[3]: *** No rule to make target `page/SUBSYS.o'. Stop.

gmake[3]: Leaving directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage/smgr'

gmake[2]: *** [page/SUBSYS.o] Error 2

gmake[2]: Leaving directory
`/usr/src/pgsql/postgresql-6.5.3/src/backend/storage'

gmake[1]: *** [storage.dir] Error 2

gmake[1]: Leaving directory `/usr/src/pgsql/postgresql-6.5.3/src/backend'

gmake: *** [all] Error 2

And the installation procedure was stopped.

What could be missing? I'm installing this on a Mandrake 7.0 distribution.

Any comments/help greatly appreciated!



Regards,

Rolf C Stadheim




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

From: [EMAIL PROTECTED] (Len Philpot)
Subject: Re: Netscape 6
Reply-To: [EMAIL PROTECTED]
Date: Sat, 08 Apr 2000 14:38:55 GMT

On Fri, 7 Apr 2000 23:17:54 -0700, "Matt O'Toole" <[EMAIL PROTECTED]>
wrote:

>>Yes, it does look like a web page:  specifically, a cheesy, supercorporate
>>one, like (surprise) an AOL page.  It's a lot like some of the slimier
>>modern magazines, where you can't tell the difference between the real
>>articles, the ads, and the "special advertising sections."  You can't tell
>>where the browser stops and the page begins.  Is that a button, or a link?
>>I don't know...

Exactly. The blurring of one feature into another is one of many
techniques designed ultimately to lead to less-informed users that don't
ask those troubling questions like "Why is this so badly designed?", or
"Why is this software so slow and difficult to use?". That's been
Microsoft's and Apple's standard operating procedure for years ("it's
not a file on a network drive, it's just an object you can drag and
drop..."), i.e., keep the user dumb. AOL/Netscape, Corel and even some X
apps I've seen are falling right in line, too. There's no substitute for
understanding what's really going on, IMO, even if it is on a conceptual
"block" level.


>>Fluff?  It would be nice to have more of the genuinely useful features,
>>which are sorely lacking, compared to IE.  How about a font size button, for
>>people who actually read stuff on the web?  The "send a link" button?  How
>>about a faster, easier way of selecting and managing bookmarks?

How about a way to make the webspace window larger and the borders,
button, etc., etc., take up less space? Don't they realize that some
people out there still have monitors smaller than 19 inches? It's like
looking at a default installation of Word or CorelDRAW; about half of
your screen space is actually usable for something, once you subtract
the dozens of idiot buttons all over the place.


>>The browser does seem faster, especially in rendering tables.  I've heard a
>>lot of hype about the new engine, how the whole thing is more intelligently
>>written, etc., and I have no reason to doubt it.  But user-interface and
>>feature-wise, it offers nothing new.  In fact, it's a step back.  I think
>>this is intentional.  As I alluded to above, I really do think the browser
>>is just a tool to steer users toward Netscape/AOL and partnered content.  By
>>having the browser fade into the background, a user is more likely to click
>>on the links on the Netscape/AOL/partner page.
>>
>>I feel like the industry has sunk to a new low, and that I've been slimed.

The browser engine may be faster, I don't know. But if the interface is
slower (which it definitely is), I'll never use it long enough to find
out. That's precisely why I like well-designed text mode programs -
They're fast, given access to the resources they need to run properly.



 ----------------------------------------------------
 -- Len Philpot -> [EMAIL PROTECTED]     (personal) <--
 ----------------> [EMAIL PROTECTED]   (work) <--
 ------ ><> -----> http://philpot.org/      (web) <--

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

From: Ralph C Blach <[EMAIL PROTECTED]>
Subject: Re: Converting Files From Win 98 to Linux
Date: Sat, 08 Apr 2000 10:38:31 -0400

Michael,

In general, a winmodem will not work on Linux,  so you will need to get a real
modem. Other files, depending on the file type, are OK.
most ms doc file can be read by wordperfect 2000 for linux.  there a linux pdf
reader, etc.

Michael Matthews wrote:

> Where can I get a program to convert stuff  I download in windows to Linux.
> I have a "winmodem" and can't aford at the time a "Real" Modem.

--
Ralph "Chip" Blach
KF4WBK
Chapel Hill, North Carolina




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

From: [EMAIL PROTECTED] (Len Philpot)
Subject: Re: Unable to change root password.
Reply-To: [EMAIL PROTECTED]
Date: Sat, 08 Apr 2000 14:41:59 GMT

On Sat, 8 Apr 2000 17:34:33 +0800, Nosediver
<[EMAIL PROTECTED]> wrote:

>>
>>Hi.
>>
>>I am unable to change my root password. Whatever I do, it still keeps the
>>old password. Could someone please help?
>>
>>
>>I did this:
>>
>>I invoked 'passwd', typed in the new password twice and it reported
>>"Password Changed". 
>>
>>Now, when I exited root and tried to login again, I couldn't use the new
>>password. It still understood only the old one!


Did you su to root? Are you sure you changed root's password, or the
password of the user you logged in as?

If so, you might want to do: 'passwd root' instead of just 'passwd'.



 ----------------------------------------------------
 -- Len Philpot -> [EMAIL PROTECTED]     (personal) <--
 ----------------> [EMAIL PROTECTED]   (work) <--
 ------ ><> -----> http://philpot.org/      (web) <--

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

From: [EMAIL PROTECTED] (Steve)
Subject: Re: HELP!!!!  Can't Get To KDE
Reply-To: [EMAIL PROTECTED]
Date: 8 Apr 2000 13:48:02 GMT

On Fri, 07 Apr 2000 17:30:10 GMT, FDB2010 wrote:
>All--I installed Mandrake 7.0 on my workstation.  I can get to the login 
>screen but DON'T KNOW WHAT TO TYPE TO GET TO KDE.  actually, once i type 
>my login and password, im then sent to a command console (a screen that 
>has 2 white boxes that's displaying the same information).  I don't know 
>where i am at this point within the OS, or how to get to KDE.  I was able 
>to take some digital pics to better help explain what it is that im 
>seeing.  Im brand new in using Linux

Don't really know what you mean here, but if you can get a command prompt 
then type startx if you think you're in some kind of X envirnonment then 
do CTRL+ALT+BACKSPACE all at once and you should get to a command prompt
then type startx

Hope this helps.

-- 
Cheers
Steve              email mailto:[EMAIL PROTECTED]

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

  8:34pm  up 3 days, 23:08,  4 users,  load average: 1.09, 1.09, 1.04

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

From: [EMAIL PROTECTED] (Steve)
Subject: Re: ? comp.os.linux.announce ?
Reply-To: [EMAIL PROTECTED]
Date: 8 Apr 2000 13:48:07 GMT

On 07 Apr 2000 16:56:44 GMT, Bastian wrote:
>On Thu, 6 Apr 2000 09:56:22 -0400, Charles H. Chapman wrote:
>>comp.os.linux.announce is a -moderated- newsgroup.  That means only
>>articles that the moderator allows are posted.  Apparently the moderator
>>has been busy the last few weeks.
>>
>>Chuck
>
>Perhaps it's a stupid question, but who moderates newsgroups. I mean, how can
>one become newsgroup moderator? Who pays him, and where's his "office" or
>whatever?
>
>Bastian

>From the META-FAQ

        comp.os.linux.announce is moderated by Lars Wirzenius.  
        To make submissions to the newsgroup, send mail to linux-
        [EMAIL PROTECTED]  You may direct questions about
        comp.os.linux.announce to Lars Wirzenius <[EMAIL PROTECTED]>


-- 
Cheers
Steve              email mailto:[EMAIL PROTECTED]

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

  8:34pm  up 3 days, 23:08,  4 users,  load average: 1.09, 1.09, 1.04

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

From: [EMAIL PROTECTED] (Steve)
Crossposted-To: 
alt.os.linux,alt.uu.comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking,comp.os.linux.questions
Subject: Re: News Readers for Linux
Reply-To: [EMAIL PROTECTED]
Date: 8 Apr 2000 13:48:08 GMT

On Fri, 7 Apr 2000 12:42:37 -0400, Scott Zielinski wrote:
>Anyone know of a good news reader for Linux?

slrn

-- 
Cheers
Steve              email mailto:[EMAIL PROTECTED]

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

  8:34pm  up 3 days, 23:08,  4 users,  load average: 1.09, 1.09, 1.04

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

From: [EMAIL PROTECTED] (Steve)
Crossposted-To: comp.os.linux.questions,comp.os.linux.help
Subject: Re: [Fwd: Why??]
Reply-To: [EMAIL PROTECTED]
Date: 8 Apr 2000 15:43:19 GMT

Good point David.

Also a good idea to read through previous posts before posting,
many of the questions asked have already been answered within
the last month or so.  

-- 
Cheers
Steve              email mailto:[EMAIL PROTECTED]

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

  2:01pm  up 4 days, 16:35,  4 users,  load average: 1.11, 1.03, 1.02

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

From: [EMAIL PROTECTED] (Steve)
Crossposted-To: linux.redhat.misc
Subject: Re: Error Messages
Reply-To: [EMAIL PROTECTED]
Date: 8 Apr 2000 15:43:02 GMT

On Fri, 07 Apr 2000 19:35:26 -0700, Jeff Grossman wrote:
>How can I find out what service is giving me the following error:

>Apr  7 06:46:53 apple inetd[520]: pid 20915: exit signal 13
>Apr  7 06:53:07 apple inetd[520]: pid 21048: exit signal 14

>From the signal(7) manpage:

  SIGPIPE      13        A      Broken pipe: write to pipe with no readers
  SIGALRM      14        A      Timer signal from alarm(2)

These aren't so much error messages as information messages telling
you how inetd was interupted.  I'd ask what methods you're using to
kill your internet connection.  Have a bit of an overhaul of your
internet connection settings and make sure everything is correct, 
messages like this may mean that you've missed something out 
somewhere.

A good idear might be to make an internet connection, 
do a few of the things that you'd normally do, and along
the way get a process list to file:  

$ ps -aux >myproclistXXX.txt  ## XXX is a number 001 etc.

Then after you've finished using the net compare your message
list and the myproclistXXX.txt files to see what it is that's 
causing the messages.  

-- 
Cheers
Steve              email mailto:[EMAIL PROTECTED]

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

  2:01pm  up 4 days, 16:35,  4 users,  load average: 1.11, 1.03, 1.02

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

From: [EMAIL PROTECTED] (Steve)
Subject: Re: News Readers for Linux (short review of Netscape 6 News)
Reply-To: [EMAIL PROTECTED]
Date: 8 Apr 2000 15:43:20 GMT

On 7 Apr 2000 22:38:37 -0700, Dowe Keller wrote:
>
>IMHO: anybody that uses the news-reader that comes with a www-client
>*deserves* to loose.
>
>I have never seen any web-browser/news-reader that could stand up to
>slrn (my personal favorite).  using Netscrape's news-reader or
>M$ Lookout^WOutlook is comparable to using a microwave to dry your
>close.
>
>It may be doable but it's no substitute for the real thing.

The one thing that I really missed when I moved over to Linux from
windows is the Netscape newsreader, the Linux version of Netscape
seems to really suck compared to the win version.  Over here I 
use slrn with slrnpull.

-- 
Cheers
Steve              email mailto:[EMAIL PROTECTED]

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

  2:01pm  up 4 days, 16:35,  4 users,  load average: 1.11, 1.03, 1.02

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

From: [EMAIL PROTECTED] (Steve)
Subject: Re: GNOME terminal and color text?
Reply-To: [EMAIL PROTECTED]
Date: 8 Apr 2000 15:43:05 GMT

Thanks John, this should do the trick. 

-- 
Cheers
Steve              email mailto:[EMAIL PROTECTED]

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

  2:01pm  up 4 days, 16:35,  4 users,  load average: 1.11, 1.03, 1.02

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

From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Get Rid of MSh*t ^M's <CR> from a file...
Date: Sat, 08 Apr 2000 14:52:09 GMT

  Alan Fay <[EMAIL PROTECTED]>,
  In a message on Thu, 06 Apr 2000 23:23:05 +0100, wrote :

AF> 
AF> 
AF> I'm using Linux 'diff' and 'patch' to merge my source code
AF> changes into MSh*t source code files. I take the files from
AF> the MS machine and 'diff -c' them.
AF> 
AF> Unfortunately, the MSh*t ^M's are causing me problems.
AF> 
AF> How can I easily get rid of these from all files in a 
AF> directory? (recursively?) 
AF> 
AF> vi -b :%s/^M//
AF> 

Create a small csh script (sh is similar, but I never really learned
sh), call it stripcr.csh:

#!/bin/csh -fe
set in = $1
set unx = $1.lf
set ms = $1.crlf
tr -d '\r' <$in >$unx
mv $in $ms
mv $unx $in

Now do this:

find <top-of-source-code-tree> -type f -exec /<path-to-script>/stripcr.csh {} \;

(replace '<path-to-script>' with the path to where stripcr.csh lives. 
Make sure you indeed have /bin/csh installed and stripcr.csh has been
chmod +x'ed.)

(You can be anal and include '-print' before '-exec', and find will
print out all of the files it messes with.)

This script keeps the original file, named whatever.crlf, *just in
case* something goes wrong.

There is another hack:  transfer the files using zip,  on the UNIX side:

find <top-of-source-code-tree> -name '*.c' -o -name '*.cpp' -o -name
'*.h' | zip -@ -l foo.zip 

To build the zip file.  All UNIX files will have their LF's replaced by
CRLF, in proper MS-DOS fashion

and:

unzip -a foo.zip

will unpack a Zip file and convert text files with MS-DOS CRLF's to
UNIX's LFs.

AF> but there are a lot of files going to and from the MS
AF> machine (and each time MS borg insists on adding the ^M).
AF> 
AF> I love it when MSh*t does things like...
AF> 
AF> do you want to delete this file <yes> <no> <ok> <canel>
AF> 
AF> are you sure <yes> <no> <ok> <cancel>
AF> 
AF> ten seconds later...
AF> 
AF> are you really sure <cancel> <no> <ok> <yes>
AF> 
AF> deleting this file may effect installed applications...
AF> 
AF> continue <cancel> <ok> <no> <yes>
AF> 
AF> are you absolutely sure you do not want to keep this file...
AF> 
AF> continue <cancel> <ok> <no> <yes>
AF> 
AF> I haven't made you click-the-mouse-button-ten-times-a-second-today
AF> so I'll make up for it...
AF> 
AF> continue <cancel> <ok> <no> <yes> <don't care at this point>
AF> 
AF> long pause...
AF> 
AF> ..file sharing violation the file was not saved...
AF> 
AF> alan
AF> 
AF> Alan Fay <[EMAIL PROTECTED]>
AF> OpenVMS/Alpha Linux Consultant   
AF> Nr. Andover, Hampshire, England.
AF> 
AF> 
AF> 
AF> 
AF> 
AF>                            






                                            
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

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


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