Here are the :version result on Windows:

VIM - Vi IMproved 7.0 (2006 May 7, compiled May  7 2006 16:23:43)
MS-Windows 32 bit GUI version with OLE support
Compiled by [EMAIL PROTECTED]

I cannot give the result of version of Vim installed on my Slackware
box but it is the default package that shipped with Slackware 10.2.
I've just check at Slackware site and actually it is vim-6.3.086, not
6.8 as I've mentioned previously. Sorry for the mistake.

On 28/11/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
> Hi, folks!
>
> I am using GVim version 7.0 on Microsoft Windows XP box. I have a question
> regarding Vim capability to encrypt a text file (the :X command).
>
> These are steps how I create the encrypted text file:
> - I fire up Vim ;
> - Type :X and enter an encryption key twice ;
> - Type some text ;
> - Write the buffer into a file with :w encrypted_text.txt ;
> - Quit Vim with :q ;
>
> When I fire up Vim back and type :e encrypted_text.txt, it sweetly
> prompts me
> for the encryption key to read the content.
>
> The problem is when I open the from Windows Explorer by right clicking
> on the
> file and choose `Edit with Vim` from the popped menu, Vim display the
> content
> of the file in plain text without prompting for the encryption key that was
> set to the text file.
>
> I checked gui_w32.txt file and read about adding `Edit with Vim` entry via
> registry. I do not see any parameters were set in there so I assumed,
> choosing
> `Edit with Vim` is simple running `gvim.exe file_name.ext`. So, I
> manually try
> running `gvim.exe encrypted_text.txt` from console and yes, it DOES NOT
> prompt
> me for encryption key and the content of the file is displayed in plain
> text.
>
> Curios about this issue, I switch to my GNU/Linux box (Slackware 10.2
> with the
> vim-6.8). I recreate the encrypted_text.txt and by running the command
> `gvim encrypted_text.txt` from console, it DOES PROMPT me efor the
> encryption
> key to view the content.
>
> I have asked folks in #vim on Freenode and one of them said that when
> they do
> the same thing as I've described here, it DOES prompt for the encryption
> key.
>
> My questions are:
> - Is it a `feature`? :) ;
> - Any idea what possibly could cause this if it is not a `feature`?
>
> Many thanks in advanced if any Vim enlightened user would share some
> knowledge.
>

Which version and patchlevel are your Windows Vim and your Linux Vim? (as
obtained from the first five lines of the ":version" output, or from the
second non-blank line in the ":intro" screen)

There never was a Vim 6.8 so that cannot be the actual "Vim" version of your
Slackware Vim.


Best regards,
Tony.

Reply via email to