dbTalk Databases Forums  

VFP 6: Good Non-GUI Editor to Use

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP 6: Good Non-GUI Editor to Use in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gene Wirchenko
 
Posts: n/a

Default VFP 6: Good Non-GUI Editor to Use - 01-12-2005 , 02:07 PM






The editor that I have been happily using for ages (WordStar
2000, since 1988) will not work on the new system that I am using.
Apparently, it and Windows have issues.

I want to find a suitable replacement. My most important
criteria are:

Non-GUI: Selected text does not work well for me for block operations
as I frequently do find start of text, mark start of block, find end
of text, mark end of block, perform block operation. I need to be
able to search between defining the start and end of the block.

Inexpensive: shareware, freeware, public domain, or the like.

Configurable keys: This would be very useful though not mandatory.
Failing this, the editor should use control key combinations rather
than function keys.

If you use an editor like this, what is your choice? Why? Where
is it available from?

Sincerely,

Gene Wirchenko


Reply With Quote
  #2  
Old   
Olaf Doschke
 
Posts: n/a

Default Re: VFP 6: Good Non-GUI Editor to Use - 01-12-2005 , 02:41 PM






Hi Gene,

Quote:
If you use an editor like this, what is your choice? Why? Where
is it available from?
vi(m) or Emacs are first choice editors on linux
and vi can be used via cygwin. From Emacs there
should be a windows version available.

These are editor you should like, as they are
supporting this type of working without the
mouse, block operations, regular expressions
for search/replace etc.

Sourceforge should be a source for vi and emacs
binaries or even sources.

Perhaps make a search at www.download.com
for the most popular (windows) editors.

Bye, Olaf.




Reply With Quote
  #3  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP 6: Good Non-GUI Editor to Use - 01-12-2005 , 02:53 PM



On Wed, 12 Jan 2005 12:07:36 -0800, Gene Wirchenko
<genew (AT) ucantrade (DOT) com.NOTHERE> wrote:

Quote:
The editor that I have been happily using for ages (WordStar
2000, since 1988) will not work on the new system that I am using.
Apparently, it and Windows have issues.

I want to find a suitable replacement. My most important
criteria are:

Non-GUI: Selected text does not work well for me for block operations
as I frequently do find start of text, mark start of block, find end
of text, mark end of block, perform block operation. I need to be
able to search between defining the start and end of the block.

Inexpensive: shareware, freeware, public domain, or the like.

Configurable keys: This would be very useful though not mandatory.
Failing this, the editor should use control key combinations rather
than function keys.
And let me add: the ability to edit more than one file at a time.

Quote:
If you use an editor like this, what is your choice? Why? Where
is it available from?
Sincerely,

Gene Wirchenko



Reply With Quote
  #4  
Old   
Neil Waterworth
 
Posts: n/a

Default Re: VFP 6: Good Non-GUI Editor to Use - 01-12-2005 , 02:54 PM



When you mentioned non-GUI editors I automatically thought of vi
(Linux/Unix). It takes a while to get acquainted properly, but it's a very
functional editor. There's a Windows emulator at

http://home.snafu.de/ramo/en/

Google might reveal some others.

Going years back (to my dBase III days) , there was a program called
Sidekick (Borland?) I used. I think the keystrokes were quite similar to
WordStar. Same goes for the old Turbo Pascal editor.

Got no idea if vi will meet your requirements, but good luck.

Neil

"Gene Wirchenko" <genew (AT) ucantrade (DOT) com.NOTHERE> wrote

Quote:
The editor that I have been happily using for ages (WordStar
2000, since 1988) will not work on the new system that I am using.
Apparently, it and Windows have issues.

I want to find a suitable replacement. My most important
criteria are:

Non-GUI: Selected text does not work well for me for block operations
as I frequently do find start of text, mark start of block, find end
of text, mark end of block, perform block operation. I need to be
able to search between defining the start and end of the block.

Inexpensive: shareware, freeware, public domain, or the like.

Configurable keys: This would be very useful though not mandatory.
Failing this, the editor should use control key combinations rather
than function keys.

If you use an editor like this, what is your choice? Why? Where
is it available from?

Sincerely,

Gene Wirchenko




Reply With Quote
  #5  
Old   
Martin Gebert
 
Posts: n/a

Default Re: VFP 6: Good Non-GUI Editor to Use - 01-13-2005 , 02:28 AM



Olaf Doschke schrieb:
Quote:
Hi Gene,


If you use an editor like this, what is your choice? Why? Where
is it available from?


vi(m) or Emacs are first choice editors on linux
and vi can be used via cygwin. From Emacs there
should be a windows version available.
You don't need Cygwin to use Vim, there's a generic version of GVim for
Windows which I use with VFP 6 all the time. It surely takes some time
to get used to it, but it can do all the stuff Gene is asking for, and
much more. Don't wanna miss it - once in you can do everything by keyboard.

Download here: <http://www.vim.org/download.php#pc>

To call GVim (or some other external editor) instead of the default
editor add this to your config.fpw file in the VFP dir:

TEDIT=/n c:\Programme\Vim\GVim.exe

This, of course, doesn't work for runtime errors where a window with the
failing code is popped up...

Martin


Reply With Quote
  #6  
Old   
Martin Gebert
 
Posts: n/a

Default Re: VFP 6: Good Non-GUI Editor to Use - 01-13-2005 , 02:59 AM



Gene Wirchenko schrieb:

Quote:
Non-GUI: Selected text does not work well for me for block operations
as I frequently do find start of text, mark start of block, find end
of text, mark end of block, perform block operation. I need to be
able to search between defining the start and end of the block.
Easy in [G]Vim:

- Search begin: type "/begin_phrase"
- Mark start of block: type "v" (for visual mode - Vims term for a
marked section).
- Search end: type "/end_phrase" (or use any other keystroke/command for
moving around)
- Mark end of block: type "v" again
- Execute block operation (e. g. indenting according to your settings:
type ">")

Quote:
Inexpensive: shareware, freeware, public domain, or the like.
Vim is free in both senses.

Quote:
Configurable keys: This would be very useful though not mandatory.
Failing this, the editor should use control key combinations rather
than function keys.
Read about the map facility of Vim, esp. nmap (in Vim, just type ":help
nmap"). There's about nothing you can't map: automatic brackets, F3 for
continuing search, etc.

Quote:
And let me add: the ability to edit more than one file at a time.
Easy:

- Open GVim and type the command ":args the_files_you_want_to_edit", and
move between the buffers by ":n" and ":N"
- Alternatively, open another file with the split command ":sp
file_name" and move between the windows with CTRL-W UP|DOWN

Quote:
Why?
Best text editor for Windows I could find :-)
Drawbacks: No Intellisense in VFP 8, and some minor catches with the
integration into the VFP IDE.

Quote:
Where
is it available from?
See my previous post. And somewhere in the net there's a syntax file for
the highlighting; search for "foxpro.vim". You may also ask me, I've
added some missing terms to it so far.
Addendum: If you've never used Vim before, you want to read a tutorial
before even starting it. Look at the Vim site for one.

Martin


Reply With Quote
  #7  
Old   
Martin Gebert
 
Posts: n/a

Default Re: VFP 6: Good Non-GUI Editor to Use - 01-13-2005 , 03:10 AM



Martin Gebert schrieb:

Quote:
- Search begin: type "/begin_phrase"
- Mark start of block: type "v" (for visual mode - Vims term for a
marked section).
- Search end: type "/end_phrase" (or use any other keystroke/command for
moving around)
- Mark end of block: type "v" again
Ooops, my fault: skip the second "v", just do the block operation when
you placed the cursor at the end of the block.

Quote:
- Execute block operation (e. g. indenting according to your settings:
type ">")
[...]

Quote:
- Open GVim and type the command ":args the_files_you_want_to_edit", and
move between the buffers by ":n" and ":N"
Addendum: You can also do this and *then* split the window with ":sp"
and move between the buffers independently.

Quote:
- Alternatively, open another file with the split command ":sp
file_name" and move between the windows with CTRL-W UP|DOWN
Martin

--
So much to code, so little time.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.