Duaine Hechler said the following on 02/28/2013 02:30 PM:
On 02/28/2013 12:04 PM, Per Jessen wrote:
Anton Aylward wrote:
[snip, snip, snippty snip]
I wonder why Duaine wants to regress? He doesn't want to regress, he wants to be effective. He is used to working with those editors and feel that they are way superior to vi et al. I completely understand where he is coming from. I have yet to reach the same level of fluency with vi that I had/have with the ISPF editor or the LPEX ditto. That is correct. In fact so superior, since it interacts with REXX, you can write shell scripts to copy and invoke the editor, for the lack of a better turn, in "script" mode, manipulate files and do what you want with them afterwords.
Now, THIS, is just one of the other capabilities I'm used to - which I can't find in Linux - yet !
Examples:
Not a problem! VI and variants support the ability to pipe the file though a (possibly parametrized) script. VI (and variants) also have embedded scripting. It has its own scripting language which is often used to extend its functionality http://www.ibm.com/developerworks/linux/library/l-vim-script-1/index.html http://vim.wikia.com/wiki/VimTip1359 and there's an archive of scripts http://www.ibm.com/developerworks/linux/library/l-vim-script-1/index.html On top of this, there are versions of VI (and variants) which have the common *NIX scripting languages as plug-ins -- perl, python and even ruby. More examples at the wiki, for example, you were talking about manipulating blocks... http://vim.wikia.com/wiki/Applying_substitutes_to_a_visual_block When I run "zypper search vim" I get many plugins. And yes, you can run VI in binary more and use it as a hex editor. I’m sorry, Duaine, anything you're going to say you can do with your mainframe editors I can do with VI (and variants). The fact that I do it differently is not really relevant; UNIX/LINUX is not a copy of VM/CMS or VAX/VMS and shouldn't be. Languages like perl and ruby are more modern and sweeter than REXX and more familiar to many Linux users. But if you insist on REXX, then yes, there's a Linux version: http://regina-rexx.sourceforge.net/ as well as http://www.cs.ox.ac.uk/people/ian.collier/Rexx/rexximc.html and YES you can invoke it from VI (and variants) -- How inappropriate to call this planet `Earth' when it is quite clearly `Ocean'. -- Arthur C Clarke -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org