Sunday, October 22, 2023

Re: Edit edit tar.gz file

I get this:

 :~# vi --version
VIM - Vi IMproved 9.0 (2022 Jun 28, compiled May 04 2023 10:24:44)
Included patches: 1-1378, 1499
Modified by team+vim@tracker.debian.org
Compiled by team+vim@tracker.debian.org
Tiny version without GUI.  Features included (+) or not (-):
+acl               +file_in_path      -mouse_urxvt       -tcl
-arabic            -find_in_path      +mouse_xterm       -termguicolors
+autocmd           +float             +multi_byte        -terminal
-autochdir         -folding           -multi_lang        +terminfo
-autoservername    -footer            -mzscheme          +termresponse
-balloon_eval      +fork()            -netbeans_intg     +textobjects
-balloon_eval_term -gettext           +num64             -textprop
-browse            -hangul_input      -packages          -timers
++builtin_terms    +iconv             +path_extra        +title
-byte_offset       +insert_expand     -perl              -toolbar
-channel           -ipv6              -persistent_undo   +user_commands
+cindent           -job               -popupwin          -vartabs
-clientserver      +jumplist          -printer           +vertsplit
-clipboard         -keymap            -profile           +vim9script
+cmdline_compl     -lambda            -python            -viminfo
+cmdline_hist      -langmap           -python3           +virtualedit
+cmdline_info      -libcall           -quickfix          +visual
+comments          -linebreak         -reltime           +visualextra
-conceal           +lispindent        -rightleft         +vreplace
-cryptv            +listcmds          -ruby              +wildignore
-cscope            +localmap          +scrollbind        +wildmenu
+cursorbind        -lua               -signs             +windows
-cursorshape       -menu              +smartindent       +writebackup
-dialog            -mksession         -sodium            -X11
-diff              +modify_fname      -sound             +xfontset
-digraphs          +mouse             -spell             -xim
-dnd               -mouseshape        -startuptime       -xpm
-ebcdic            -mouse_dec         -statusline        -xsmp
-emacs_tags        -mouse_gpm         -sun_workshop      -xterm_clipboard
-eval              -mouse_jsbterm     -syntax            -xterm_save
+ex_extra          -mouse_netterm     +tag_binary
-extra_search      +mouse_sgr         -tag_old_static
-farsi             -mouse_sysmouse    -tag_any_white
   system vimrc file: "/etc/vim/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -Wdate-time -g -O2 -ffile-prefix-map=/build/vim-JA6Vy9/vim-9.0.1378=. -fstack-protector-strong -Wformat -Werror=format-security -DSYS_VIMRC_FILE=\"/etc/vim/vimrc\" -DSYS_GVIMRC_FILE=\"/etc/vim/gvimrc\" -DTINY_VIMRC -DSYS_TINYRC_FILE=\"/etc/vim/vimrc.tiny\" -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lselinux -lacl -lattr

On Sunday, October 22, 2023 at 8:45:30 PM UTC+7 Tony Mechelynck wrote:
On Sat, Oct 21, 2023 at 3:34 PM Lifepillar <lifep...@lifepillar.me> wrote:
>
> On 2023-10-21, Nutcha Schonn <aplushos...@gmail.com> wrote:
> > About 3-4 years ago I remember that I could edit a edit tar.gz file with vi
> > command.
> > When trying that today it does not work, is there something I can do to get
> > it to work with the latest VIM 9 version?
>
> It works with Vim 9.0.1946. Besides:
>
> :echo g:loaded_tarPlugin
>
> prints `v32`.
>
> Either your runtime does not have the plugin (try `:e
> $VIMRUNTIME/plugin/tarPLugin.vim`), or your configuration is preventing
> the plugin from loading (for instance, if you set g:loaded_tarPlugin=1
> in your vimrc).
>
> You mention vi rather than vim: that may make a difference.
>
> Hope this helps,
> Life.

Yeah, if you type :version (followed by <Enter>), vim (or vim
masquerading as vi) answers with about a page of information beginning
(in Vim on my system) with

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct 22 2023 01:25:49)
Included patches: 1-2059
Compiled by antoine.m...@gmail.com
Huge version with GTK3 GUI. Features included (+) or not (-):

In a typical "Vim built as vi" the fourth line above typically begins
instead "Tiny version without GUI", like this:

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct 22 2023 01:25:29)
Included patches: 1-2059
Compiled by antoine.m...@gmail.com
Tiny version without GUI. Features included (+) or not (-):

A tiny version of Vim is built with no expression evaluation (lower
down, in the part I didn't paste, it says -eval rather than +eval as
in a full-featured Vim or gvim), and that prevents some plugins
(including IIRC the tar plugin) from running.

Best regards,
Tony.

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/1de29c76-9eeb-4aca-8746-4ad12cb59ae7n%40googlegroups.com.

No comments: