Re: [CentOS] vi defaults in 6.x

2012-08-26 Thread me
On Sun, 26 Aug 2012 08:26:48 Markus Falb wrote: > On 20.8.2012 19:16, Gordon Messmer wrote: > > On 08/20/2012 04:07 AM, Joerg Schilling wrote: > >> Gordon Messmer wrote: > >> > Actually, it's a shell alias. And then, only if "vim" is installed, > which it isn't in some configurations.

Re: [CentOS] vi defaults in 6.x

2012-08-26 Thread Markus Falb
On 20.8.2012 19:16, Gordon Messmer wrote: > On 08/20/2012 04:07 AM, Joerg Schilling wrote: >> Gordon Messmer wrote: >> Actually, it's a shell alias. And then, only if "vim" is installed, which it isn't in some configurations. IIRC, desktop systems have him by default, but server i

Re: [CentOS] vi defaults in 6.x

2012-08-20 Thread Gordon Messmer
On 08/20/2012 04:07 AM, Joerg Schilling wrote: > Gordon Messmer wrote: > >> >Actually, it's a shell alias. And then, only if "vim" is installed, >> >which it isn't in some configurations. IIRC, desktop systems have him >> >by default, but server installations do not. > It is neither a symlink no

Re: [CentOS] vi defaults in 6.x

2012-08-20 Thread Les Mikesell
On Mon, Aug 20, 2012 at 10:43 AM, Joerg Schilling wrote: > > People who use the vi however complained that vim is not fully vi compatible > and > that they prefer to have a real vi under the name "vi". People who prefer vim > could still call vim. My complaint that started this thread turns out

Re: [CentOS] vi defaults in 6.x

2012-08-20 Thread Joerg Schilling
wrote: > > You currently may have the vi source from aprox. 1979 under a 4 clause BSD > > license or the current Solaris vi under the CDDL. The latter was POSIX > > compliant approved. > > And so you assert that if you don't have a version of vi that is strictly > compatible with the 1979 source,

Re: [CentOS] vi defaults in 6.x

2012-08-20 Thread m . roth
Joerg Schilling wrote: > wrote: > >> This just verifies that you're playing word games. If you want vi that's >> not vim, may I ask which *version* of vi you would consider to be vi - >> one >> from, say, Sun OS 3? Or from the Irix that ran on our Indigo in the >> early/mid-nineties? or one from T

Re: [CentOS] vi defaults in 6.x

2012-08-20 Thread Joerg Schilling
wrote: > This just verifies that you're playing word games. If you want vi that's > not vim, may I ask which *version* of vi you would consider to be vi - one > from, say, Sun OS 3? Or from the Irix that ran on our Indigo in the > early/mid-nineties? or one from Tru-64 in the late nineties? or we

Re: [CentOS] vi defaults in 6.x

2012-08-20 Thread m . roth
Joerg Schilling wrote: > William Hooper wrote: >> On Mon, Aug 20, 2012 at 7:19 AM, Joerg Schilling >> wrote: >> > Reindl Harald wrote: >> > > you are aware that you are posting to the CENTOS-list? >> > >> > Of course >> > >> > > the topic is about "vi default in CENTOS 6.x" so what >> > >> > You

Re: [CentOS] vi defaults in 6.x

2012-08-20 Thread Joerg Schilling
Reindl Harald wrote: > > This just verifies that you don't have a vi > > boah how often should we explain it until you > understand taht on CENTOS there is NO vi package > > there is only VIM Nice to see, that you finally realized it too. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (

Re: [CentOS] vi defaults in 6.x

2012-08-20 Thread Joerg Schilling
William Hooper wrote: > On Mon, Aug 20, 2012 at 7:19 AM, Joerg Schilling > wrote: > > > > Reindl Harald wrote: > > > you are aware that you are posting to the CENTOS-list? > > > > Of course > > > > > the topic is about "vi default in CENTOS 6.x" so what > > > > You seem to missunderstand that t

Re: [CentOS] vi defaults in 6.x

2012-08-20 Thread William Hooper
On Mon, Aug 20, 2012 at 7:19 AM, Joerg Schilling wrote: > > Reindl Harald wrote: > > you are aware that you are posting to the CENTOS-list? > > Of course > > > the topic is about "vi default in CENTOS 6.x" so what > > You seem to missunderstand that there is a program called "vi" and another > pr

Re: [CentOS] vi defaults in 6.x

2012-08-20 Thread Joerg Schilling
Reindl Harald wrote: > > > Am 20.08.2012 13:07, schrieb Joerg Schilling: > > Gordon Messmer wrote: > > > >> On 08/16/2012 04:55 PM, SilverTip257 wrote: > >>> vi is generally a symlink to vim these days. > >> > >> Actually, it's a shell alias. And then, only if "vim" is installed, > >> which i

Re: [CentOS] vi defaults in 6.x

2012-08-20 Thread Joerg Schilling
Gordon Messmer wrote: > On 08/16/2012 04:55 PM, SilverTip257 wrote: > > vi is generally a symlink to vim these days. > > Actually, it's a shell alias. And then, only if "vim" is installed, > which it isn't in some configurations. IIRC, desktop systems have him > by default, but server install

Re: [CentOS] vi defaults in 6.x

2012-08-19 Thread Les Mikesell
On Sun, Aug 19, 2012 at 2:31 AM, Gordon Messmer wrote: > On 08/16/2012 04:55 PM, SilverTip257 wrote: >> vi is generally a symlink to vim these days. > > Actually, it's a shell alias. And then, only if "vim" is installed, > which it isn't in some configurations. IIRC, desktop systems have him > b

Re: [CentOS] vi defaults in 6.x

2012-08-19 Thread Gordon Messmer
On 08/16/2012 04:55 PM, SilverTip257 wrote: > vi is generally a symlink to vim these days. Actually, it's a shell alias. And then, only if "vim" is installed, which it isn't in some configurations. IIRC, desktop systems have him by default, but server installations do not.

Re: [CentOS] vi defaults in 6.x

2012-08-18 Thread Daniel De Marco
* Les Mikesell [08/16/2012 14:23]: > When I use copy/paste text into a window running vi, if there is a > single line starting with '#', in the pasted content, it adds a # to > all subsequent lines and indents each an additional level. Is there > some way to eliminate this bizarre behavior, prefe

Re: [CentOS] vi defaults in 6.x

2012-08-17 Thread Ron Loftin
On Fri, 2012-08-17 at 11:02 -0500, Les Mikesell wrote: > On Fri, Aug 17, 2012 at 10:35 AM, John Doe wrote: > >>> > When I use copy/paste text into a window running vi, if there is a > single line starting with '#', in the pasted content, it adds a > >> # to > all subsequent line

Re: [CentOS] vi defaults in 6.x

2012-08-17 Thread Les Mikesell
On Fri, Aug 17, 2012 at 10:35 AM, John Doe wrote: >>> When I use copy/paste text into a window running vi, if there is a single line starting with '#', in the pasted content, it adds a >> # to all subsequent lines and indents each an additional level. Is there some way to

Re: [CentOS] vi defaults in 6.x

2012-08-17 Thread John Doe
From: Les Mikesell > On Fri, Aug 17, 2012 at 5:22 AM, John Doe wrote: >> From: Les Mikesell >> >>> When I use copy/paste text into a window running vi, if there is a >>> single line starting with '#', in the pasted content, it adds a > # to >>> all subsequent lines and indents each an add

Re: [CentOS] vi defaults in 6.x

2012-08-17 Thread Les Mikesell
On Fri, Aug 17, 2012 at 5:22 AM, John Doe wrote: > From: Les Mikesell > >> When I use copy/paste text into a window running vi, if there is a >> single line starting with '#', in the pasted content, it adds a # to >> all subsequent lines and indents each an additional level. Is there >> some way

Re: [CentOS] vi defaults in 6.x

2012-08-17 Thread John Doe
From: Les Mikesell > When I use copy/paste text into a window running vi, if there is a > single line starting with '#', in the pasted content, it adds a # to > all subsequent lines and indents each an additional level.  Is there > some way to eliminate this bizarre behavior, preferably globally

Re: [CentOS] vi defaults in 6.x

2012-08-16 Thread Phil Dobbin
SilverTip257 wrote: > +1 for .vimrc config files > vi is generally a symlink to vim these days. > > @Les, > I've seen the auto-comment behavior you speak of. You may want to set > formatoptions [0] in your .vimrc > > [0] http://vimdoc.sourceforge.net/htmldoc/change.html#fo-table > > @Joseph: >

Re: [CentOS] vi defaults in 6.x

2012-08-16 Thread SilverTip257
+1 for .vimrc config files vi is generally a symlink to vim these days. @Les, I've seen the auto-comment behavior you speak of. You may want to set formatoptions [0] in your .vimrc [0] http://vimdoc.sourceforge.net/htmldoc/change.html#fo-table @Joseph: You have autoindent specified twice - once

Re: [CentOS] vi defaults in 6.x

2012-08-16 Thread Michael Hennebry
On Thu, 16 Aug 2012, Les Mikesell wrote: > It is probably trying to be smarter than we are and doing something > context-sensitive. Try naming the file you are editing something.pl. That is exactly what it isdoing. A .pl file will probably syntaxted as a perl script. >From man vim: > /usr/share

Re: [CentOS] vi defaults in 6.x

2012-08-16 Thread m . roth
Les Mikesell wrote: > On Thu, Aug 16, 2012 at 1:44 PM, wrote: >> >> When I use copy/paste text into a window running vi, if there is a single line starting with '#', in the pasted content, it adds a # to all subsequent lines and indents each an additional level. Is there some

Re: [CentOS] vi defaults in 6.x

2012-08-16 Thread Les Mikesell
On Thu, Aug 16, 2012 at 1:44 PM, wrote: > >> >>> When I use copy/paste text into a window running vi, if there is a >>> single line starting with '#', in the pasted content, it adds a # to >>> all subsequent lines and indents each an additional level. Is there >>> some way to eliminate this biza

Re: [CentOS] vi defaults in 6.x

2012-08-16 Thread Joseph Spenner
> From: Les Mikesell > To: CentOS mailing list > Sent: Thursday, August 16, 2012 11:23 AM > Subject: [CentOS] vi defaults in 6.x > When I use copy/paste text into a window running vi, if there is a > single line starting with '#', in the pasted content, it ad

Re: [CentOS] vi defaults in 6.x

2012-08-16 Thread m . roth
Frank Cox wrote: > On Thu, 16 Aug 2012 13:23:28 -0500 > Les Mikesell wrote: > >> When I use copy/paste text into a window running vi, if there is a >> single line starting with '#', in the pasted content, it adds a # to >> all subsequent lines and indents each an additional level. Is there >> some

Re: [CentOS] vi defaults in 6.x

2012-08-16 Thread Frank Cox
On Thu, 16 Aug 2012 13:23:28 -0500 Les Mikesell wrote: > When I use copy/paste text into a window running vi, if there is a > single line starting with '#', in the pasted content, it adds a # to > all subsequent lines and indents each an additional level. Is there > some way to eliminate this biz