Satoru wrote: I really need to tell it to people: sometimes I really hate windows.
And linux too!
But maybe I should really hate programmers: ere is the story:
I needed to edit a text file of 180MB so I started an editor on my windows laptop: after about half an hour I was greeted with a message stating that I had not enough virtual memory.
So I had a notebook with 512MB plus 1024MB of swap and this was not enough to view the file.
Which incredible memory allocation perversion drives the memory needed to load a text file to more than 7 times the file size?
So I thought: I'm a smart ass, I'll do it on linux.
And transfered the file on my mandrake 10.1 (updated to 10.2) and wrote "vi file" and I was greeted with a great news: vi is missing a required library from perl.
Why in the hell does vi in linux require perl? And how the f**king mandrake update screwed even the most basic tool?
Keep it simple is no longer a good programming principle after the Vic20 3.5KB of memory was increased to multy MB?
BTW somewhere in the machine there was the damned library.
Before going into killing rampage I decided to connect in vpn to the work and use a remote machine: on a sun vi almost worked with this file.
Almost because there was not enough space on /tmp and I had no way to increase this space.
It was really a bad day.
Marco/Sat
Hmm - yeh, I know the feeling! Not surprised that your windows box didn't cut the mustard, but I'm shocked that your upgrade of Mandrake disabled vi. An often-overlooked fact is that if your editing operations are reasonably simple (something like a search and replace for example), you can ask sed to do it. It means being comfortable with regex's though, but great stuff if you're happy to just type a single command and then rest assured it will be done in seconds.