Monday, February 8, 2016

Re: Can you edit EBCDIC files on non-OS390 builds of VIM?

On 8 February 2016, Justin Dearing <zippy1981@gmail.com> wrote:
> On Mon, Feb 8, 2016 at 3:14 PM Nikolay Aleksandrovich Pavlov <
> zyx.vim@gmail.com> wrote:
>
> > Also do you have an access to such mainframe and can you test
> > whether *Vim* compiles there with EBCDIC macros defined?
>
>
> I'm not a mainframe guy I'm dealing with the IBM i (formerly
> AS/400). That's a midrange. Completely different OS. It runs on Power
> chips. VIM runs inside of an AIX-like subsystem. I would ask the
> people that run pub1.de for access to a box running 7.2 of the OS to
> test neovim compilation there.
>
> Now if you want a windows machine to test compiling NeoVIM with the
> ability to read EBCDIC pages on, I can perhaps be of some assistance.

I haven't paid much attention to this discussion, but perhaps this
might help. Vim can edit gzipped files. To do that, it decompresses
the file, it lets you edit it, and compresses it back. Perhaps you can
do the same with encoding instead of compression.

For encoding conversion, you might look at umap(1) from Perl's
Unicode::Map8. It seems to know about a few EBCDIC encodings, maybe one
of them is suitable for your files.

/lcd

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment