Re: problems with vim

2007-05-15 Thread A.J.Mechelynck

Nageshwar M wrote:

Hello,

I compiled the vim 7.1 source for unix and installed it in my fedora
core 4 pc. When I pressed arrows its printing A,B,C,D's(in insert
mode) , backspace is not working and when I pressed delete
continuously the gvim is closing down. Someone please help me.

The information that vim is showing for :version is

Normal version with GTK2 GUI.  Features included (+) or not (-):

[...]

This is usually due to a termcap problem. In which case(s) do you see the 
problem (among the following)?


- in GUI mode (e.g. Alt-F2 then gvim)

- in console mode in a terminal displaying through X (and which one: xterm? 
konsole? gnome-terminal? other[and which one]?)


- in the pure text linux console (hit Ctrl-Alt-Fn with n in the range 
[1..6], log in if necessary, then invoke vim)




Best regards,
Tony.
--
A nymph hits you and steals your virginity.


Re: problems with vim

2007-05-15 Thread Nikolai Weibull

On 5/15/07, A.J.Mechelynck [EMAIL PROTECTED] wrote:

Nageshwar M wrote:
 Hello,

 I compiled the vim 7.1 source for unix and installed it in my fedora
 core 4 pc. When I pressed arrows its printing A,B,C,D's(in insert
 mode) , backspace is not working and when I pressed delete
 continuously the gvim is closing down. Someone please help me.

 The information that vim is showing for :version is

 Normal version with GTK2 GUI.  Features included (+) or not (-):
[...]

This is usually due to a termcap problem. In which case(s) do you see the
problem (among the following)?

- in GUI mode (e.g. Alt-F2 then gvim)

- in console mode in a terminal displaying through X (and which one: xterm?
konsole? gnome-terminal? other[and which one]?)

- in the pure text linux console (hit Ctrl-Alt-Fn with n in the range
[1..6], log in if necessary, then invoke vim)


:set esckeys

may also help.

nikolai


Re: problems with vim

2007-05-15 Thread Nageshwar M

Hello,

I tried in xterm, konsole, and yakuake but got the same problem. I
guess the problem is with compilation options... When I used :set
esckeys arrow keys working properly but not backspace (in gvim also i
faced the same problem). Also the command completion is not working ..
i typed :he and pressed tab.. it didn't give me available commands

On 5/15/07, A.J.Mechelynck [EMAIL PROTECTED] wrote:

Nageshwar M wrote:
 Hello,

 I compiled the vim 7.1 source for unix and installed it in my fedora
 core 4 pc. When I pressed arrows its printing A,B,C,D's(in insert
 mode) , backspace is not working and when I pressed delete
 continuously the gvim is closing down. Someone please help me.

 The information that vim is showing for :version is

 Normal version with GTK2 GUI.  Features included (+) or not (-):
[...]

This is usually due to a termcap problem. In which case(s) do you see the
problem (among the following)?

- in GUI mode (e.g. Alt-F2 then gvim)

- in console mode in a terminal displaying through X (and which one: xterm?
konsole? gnome-terminal? other[and which one]?)

- in the pure text linux console (hit Ctrl-Alt-Fn with n in the range
[1..6], log in if necessary, then invoke vim)



Best regards,
Tony.
--
A nymph hits you and steals your virginity.




--
--
Best Regards,
Nageshwar M


patch 7.1.002

2007-05-15 Thread Bram Moolenaar

Patch 7.1.002
Problem:Oracle Pro*C/C++ files are not detected.
Solution:   Add the missing star. (Micah J. Cowan)
Files:  runtime/filetype.vim


*** ../vim-7.1.001/runtime/filetype.vim Thu May 10 20:42:30 2007
--- runtime/filetype.vimTue May 15 09:12:06 2007
***
*** 1,7 
   Vim support file to detect file types
  
   Maintainer: Bram Moolenaar [EMAIL PROTECTED]
!  Last Change:2007 May 10
  
   Listen very carefully, I will say this only once
  if exists(did_load_filetypes)
--- 1,7 
   Vim support file to detect file types
  
   Maintainer: Bram Moolenaar [EMAIL PROTECTED]
!  Last Change:2007 May 15
  
   Listen very carefully, I will say this only once
  if exists(did_load_filetypes)
***
*** 1286,1292 
  au BufNewFile,BufRead *.it,*.ih   setf ppwiz
  
   Oracle Pro*C/C++
! au BufNewFile,BufRead .pc setf proc
  
   Privoxy actions file
  au BufNewFile,BufRead *.actionsetf privoxy
--- 1286,1292 
  au BufNewFile,BufRead *.it,*.ih   setf ppwiz
  
   Oracle Pro*C/C++
! au BufNewFile,BufRead *.pcsetf proc
  
   Privoxy actions file
  au BufNewFile,BufRead *.actionsetf privoxy
*** ../vim-7.1.001/src/version.cMon May 14 19:35:51 2007
--- src/version.c   Tue May 15 09:13:11 2007
***
*** 668,669 
--- 668,671 
  {   /* Add new patch number below this line */
+ /**/
+ 2,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
132. You come back and check this list every half-hour.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\download, build and distribute -- http://www.A-A-P.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///


Re: [Patch] proper detection of ProC files.

2007-05-15 Thread Bram Moolenaar

Micah Cowan wrote:

 Fixes an apparent typo in filetype.vim.
 
 Per https://bugs.launchpad.net/ubuntu/+source/vim/+bug/86916.

Must have been there for a while.  Thanks for the fix!

-- 
In a world without fences, who needs Gates and Windows?

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\download, build and distribute -- http://www.A-A-P.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///


Re: patch 7.1.002

2007-05-15 Thread Micah Cowan
Bram Moolenaar wrote:
 Patch 7.1.002
 Problem:Oracle Pro*C/C++ files are not detected.
 Solution:   Add the missing star. (Micah J. Cowan)

Just to be clear: while I reformatted the solution in patch-form, it was
Arturo Olguín Cruz who first found the bug and determined its fix:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/86916

-- 
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/



signature.asc
Description: OpenPGP digital signature


Re: Stable Vim version 7.1 has been released

2007-05-15 Thread Bram Moolenaar

Francois Pinard wrote:

 [Bram Moolenar]
 
 Hmm, in my POV a rule like:
 
  target: one two three
 
 means that one, two and three are build in sequence, not at the
 same time.  I suppose adding the -jN argument changes the semantics of
 the Makefile, and that causes it to break.
 
 In fact, so far that I know (and everything I know is debatable! :-), 
 the in sequence is not part of the semantic of Makefiles, and should 
 never be relied upon.  Of course, if you experiment with various make 
 implementations, you may observe that dependencies are usually build in 
 sequence, but this should be seen as an accident, and not as a proof.

So how do I tell make that I want to build three targets in sequence
then?  For generice make, not GNU make.

-- 
Birthdays are healthy.  The more you have them, the longer you live.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\download, build and distribute -- http://www.A-A-P.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///


Re: problems with vim

2007-05-15 Thread Nageshwar

Thanks,
The problem was sloved by keeping these two lines in .vimrc
set backspace=2
set nocompatible


Thanks once again..

--
Nageshwar M


Re: Stable Vim version 7.1 has been released

2007-05-15 Thread François Pinard

[Bram Moolenar]


So how do I tell make that I want to build three targets in sequence
then?  For generice make, not GNU make.


It was once forbidden to depend on GNU make in GNU packages.  I guess 
the first package to blatantly break this rule has been GNU libc.  So,

most of our habits were developed for generic make.

When one wants to build three targets in sequence, there is some reason 
for needing to build one before another, such needs are dependencies 
indeed, to be expressed explicitly as such.  So, instead of:


  goal: a b c
   ACTIONS

one writes, after having identified the real needs:

  goal: c
   ACTIONS

  c: b

  b: a

Another approach I saw at times, but not so commendable, is:

  goal:
   $(MAKE) a
   $(MAKE) b
   $(MAKE) c
   ACTIONS

--
François Pinard   http://pinard.progiciels-bpi.ca


new text object feature request

2007-05-15 Thread Larson, David
I often need to replace parameter text and usually try to remember the
text object that selects the inner parameter, only to come up short
since that type isn't defined. It seems natural to have a parameter
text object, where it would act on the text between commas or
parentheses, i.e. from (, to ,).

What say you? Something worthy of the todo list?

David



RE: new text object feature request

2007-05-15 Thread Larson, David
Hi Peter,

It can (see below), but then again, the other text objects could be
implemented as vimscript as well. Extending the existing text objects to
include parameters seems like a natural fit.

David

nmap silent cim :call ChangeInnerParam()cr

function ChangeInnerParam()
   call s:selectInnerParam()
   normal x
   startinsert
endfunction

function s:selectInnerParam()
   call search('[(,]', bW)
   normal lv
   call search('[(,)]', W)
   let c = getline(.)[col(.)-1]
   if (c == '(')
   skip over a nested param list
  normal %
  call search('[,)]', W)
   endif
   normal h
endfunction

-Original Message-
From: Peter Hodge [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 15, 2007 4:34 PM
To: Larson, David; vim-dev@vim.org
Subject: Re: new text object feature request

--- Larson, David [EMAIL PROTECTED] wrote:

 I often need to replace parameter text and usually try to remember the
 text object that selects the inner parameter, only to come up short
 since that type isn't defined. It seems natural to have a parameter
 text object, where it would act on the text between commas or
 parentheses, i.e. from (, to ,).
 
 What say you? Something worthy of the todo list?

Hello,

I believe that can be done using Vimscript, so you could try that first.

regards,
Peter



 

___
How would you spend $50,000 to create a more sustainable environment in
Australia?  Go to Yahoo!7 Answers and share your idea.
http://advision.webevents.yahoo.com/aunz/lifestyle/answers/y7ans-babp_re
g.html