From: Joe (Immigration) on
Sylvain Robitaille wrote on 11/26/09 08:30:

> On Thu, 26 Nov 2009 12:28:17 GMT, Mike Jones wrote:
>
>> Contrary to some occasionally amusing urban myths, Vi is not an
>> editor. Its a puzzle game /disguised/ as an editor. Entertaining and
>> even useful to those who have brains capable of performing the
>> hoop-jumping required to pilot such a beast, but a not-very-funny
>> practical joke to those who require their "OMG! Where is the text
>> editor?" save-the-day tool to "just ****ing WORK FFS!" ...
>
> In this light, think of vi as more of an entrance exam.
>
> Nano is the remedial class! ;-)


LOL. You are not a real *nix admin if you don't know vi...
From: Sylvain Robitaille on
On Thu, 26 Nov 2009 12:06:29 -0800, Joe wrote:

>> : charlotte[syl] ~; file Ethernet*.txt
>> Ethernet.txt: ASCII English text
>> Ethernet_dos.txt: ASCII English text, with CRLF line terminators
>
> But in that situation, you have to get the idea first that the line
> endings are the problem. We were troubleshooting the configuration,
> not the file it was in.

Experience goes a long way, I think. If you're troubleshooting a
configuration, and you don't *see* anything that seems wrong, it's time
to look for anything wrong that you don't "see". file and od become
very valuable tools at that point.

Also, in its default configuration, vim will identify the file as "DOS"
formatted, on the status line at the bottom, so you still could have
seen that before much of your time had been wasted:

My example above shows the following when opened in vim:

"Ethernet_dos.txt" [dos] 1695L, 65201C 1,1 Top

--
----------------------------------------------------------------------
Sylvain Robitaille syl(a)encs.concordia.ca

Systems analyst / AITS Concordia University
Faculty of Engineering and Computer Science Montreal, Quebec, Canada
----------------------------------------------------------------------
From: Lew Pitcher on
Joe <me(a)mailinator.com> trolled:
> Dan C wrote on 11/25/09 13:59:

>> Did you miss the part about 'vi' being the de facto standard unix
>> text editor, which will nearly always be available on any *nix
>> system? Not knowing how to use it does yourself a disservice.
>> What will you do if someday you are called upon to fix/edit a
>> real Unix system?

> Yeah, but then the default Linux editor shouldn't be some
> "enhanced" stuff like vim.

The standard unix text editor is ex, not vi.

LewPitcher(a)LewPitcher.ca
--
Official Website -->> http://lewpitcher.ca/
Something to look at: -->> http://www.emusclemag.com/
Lonely in Brampton? -->> http://gaypros.meetup.com/cities/ca/on/brampton/
Peel HIV/AIDS Network -->> http://www.phan.ca/home.html
From: Lew Pitcher on
Res <res(a)ausics.net> trolled:
> On Wed, 25 Nov 2009, Mike Jones wrote:
>
>>>> Reqest to Slackware installation media developers:

>>> That would be volkerdi(a)slackware.com

>> If one wanted to clog up Pat's email with such trivialities. Simple
>> posting to this NG should act as a low priority message-in-a-bottle.

> Nope, Pat does not read this NG, its full of wankers so why would he :)
> Pat alone has the only say of what goes into Slackware.

Who is "Pat?" Are you referring to Mr. Volkerding? Would you have
us believe that you are on a firstname basis?

You have no idea whether "Pat" reads this group. In fact, when he
gets up in the morning "Pat" has no idea what he is going to end up
reading that day.

You are a small impotent little troll, seeking recognition through
implied association with the writer of an old, small, and
essentially failed, linux distribution.


LewPitcher(a)LewPitcher.ca
--
Official Website -->> http://lewpitcher.ca/
Something to look at: -->> http://www.emusclemag.com/
Lonely in Brampton? -->> http://gaypros.meetup.com/cities/ca/on/brampton/
Peel HIV/AIDS Network -->> http://www.phan.ca/home.html
From: Lew Pitcher on
Mike Jones <Not(a)arizona.bay> trolled:

> Contrary to some occasionally amusing urban myths, Vi is not an editor.
> Its a puzzle game /disguised/ as an editor. Entertaining and even useful
> to those who have brains capable of performing the hoop-jumping required
> to pilot such a beast, but a not-very-funny practical joke to those who
> require their "OMG! Where is the text editor?" save-the-day tool to "just
> ****ing WORK FFS!" Nano fulfills this requirement. Vi contributes to
> physically damaged hardware. Emacs, to take this to extremes, is just
> sadism in software form, or masochism, if you're into that kind of thing.

Actually, vi is a mode of the ex editor.

> So, Nano should be the default editor on EVERYTHING, including kettles.

No, nano is junk and everyone knows it.

Use mcwrite or joe if you aren't willing to use vim.

LewPitcher(a)LewPitcher.ca
--
Official Website -->> http://lewpitcher.ca/
Something to look at: -->> http://www.emusclemag.com/
Lonely in Brampton? -->> http://gaypros.meetup.com/cities/ca/on/brampton/
Peel HIV/AIDS Network -->> http://www.phan.ca/home.html