Mail archive
alpine-devel

Re: [alpine-devel] Some questions about initramfs-init.

From: Magicloud Magiclouds <magicloud.magiclouds_at_gmail.com>
Date: Thu, 18 Apr 2019 23:07:46 +0800

Hum.... I am using 8.1 in Archlinux that has this problem. And I tried
to run vim with sudo to rule out .vimrc, it still broke. Could you
give your vim information so maybe I could get help from VIM side?

$ vim --version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Mar 29 2019 20:08:59)
Included patches: 1-1073
Compiled by Arch Linux
Huge version without GUI. Features included (+) or not (-):
+acl +extra_search +mouse_netterm +tag_old_static
+arabic -farsi +mouse_sgr -tag_any_white
+autocmd +file_in_path -mouse_sysmouse +tcl/dyn
+autochdir +find_in_path +mouse_urxvt +termguicolors
-autoservername +float +mouse_xterm +terminal
-balloon_eval +folding +multi_byte +terminfo
+balloon_eval_term -footer +multi_lang +termresponse
-browse +fork() -mzscheme +textobjects
++builtin_terms +gettext +netbeans_intg +textprop
+byte_offset -hangul_input +num64 +timers
+channel +iconv +packages +title
+cindent +insert_expand +path_extra -toolbar
-clientserver +job +perl/dyn +user_commands
-clipboard +jumplist +persistent_undo +vartabs
+cmdline_compl +keymap +postscript +vertsplit
+cmdline_hist +lambda +printer +virtualedit
+cmdline_info +langmap +profile +visual
+comments +libcall +python/dyn +visualextra
+conceal +linebreak +python3/dyn +viminfo
+cryptv +lispindent +quickfix +vreplace
+cscope +listcmds +reltime +wildignore
+cursorbind +localmap +rightleft +wildmenu
+cursorshape +lua/dyn +ruby/dyn +windows
+dialog_con +menu +scrollbind +writebackup
+diff +mksession +signs -X11
+digraphs +modify_fname +smartindent -xfontset
-dnd +mouse +startuptime -xim
-ebcdic -mouseshape +statusline -xpm
+emacs_tags +mouse_dec -sun_workshop -xsmp
+eval +mouse_gpm +syntax -xterm_clipboard
+ex_extra -mouse_jsbterm +tag_binary -xterm_save
   system vimrc file: "/etc/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 -D_FORTIFY_SOURCE=2
-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
-fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L. -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
-fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.28/core_perl/CORE
-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/local/lib
-Wl,--as-needed -o vim -lm -ltinfo -lelf -lnsl -lacl -lattr
-lgpm -ldl -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.28/core_perl/CORE
-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
-fstack-protector-strong -L/usr/local/lib
-L/usr/lib/perl5/5.28/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt
-lutil -lc -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lm

On Wed, Apr 17, 2019 at 11:21 PM Milan P. Stanić <mps_at_arvanta.net> wrote:
>
> On Wed, 2019-04-17 at 22:27, Magicloud Magiclouds wrote:
> > The problem is on VIM parsing the code. So either fixing VIM to allow
> > this usage, or fixing the code to make VIM work.
>
> Just opened src/mkinitfs-3.2.0/initramfs-init.in with vim in stable
> release and it looks ok, after and before mentioned line.
>
> > I have no idea how VIM works. So I made change on this side.
> >
> > On Wed, Apr 17, 2019 at 6:16 PM Milan P. Stanić <mps_at_arvanta.net> wrote:
> > >
> > > [ Don't CC me, I'm subscribed to list ]
> > >
> > > On Wed, 2019-04-17 at 17:22, Magicloud Magiclouds wrote:
> > > > Sorry, just saw this now. It is just a minor change for VIM syntax highlight.
> > >
> > > No problem.
> > >
> > > > https://github.com/alpinelinux/mkinitfs/pull/50
> > >
> > > I'm not familiar with github PRs, but to me this fix looks it is for
> > > mkinitfs and not for vim. Or I'm wrong?
> > >
> > > > On Wed, Apr 10, 2019 at 9:19 PM Milan P. Stanić <mps_at_arvanta.net> wrote:
> > > > >
> > > > > On Wed, 2019-04-10 at 11:42, Magicloud Magiclouds wrote:
> > > > > > Thanks for the info.
> > > > > [...]
> > > > > > PS: For PR, I am not sure if github works. I had one to fix VIM syntax
> > > > > > highlight issue (very small), but no response for quite a while.
> > > > >
> > > > > Could you post URL of the PR, I'm working on fixes for VIM these days
> > > > > and it would nice to see your work.
> > > > >
> > > > > [...]
> > > > >
> > > > > --
> > > > > regards
> > > > >
> > > > >
> > > > > ---
> > > > > Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> > > > > Help: alpine-devel+help_at_lists.alpinelinux.org
> > > > > ---
> > > > >
> > > >
> > > >
> > > > --
> > > > 竹密岂妨流水过
> > > > 山高哪阻野云飞
> > > >
> > > > And for G+, please use magiclouds#gmail.com.
> > > >
> > > >
> > > > ---
> > > > Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> > > > Help: alpine-devel+help_at_lists.alpinelinux.org
> > > > ---
> > > >
> > >
> > >
> > > ---
> > > Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> > > Help: alpine-devel+help_at_lists.alpinelinux.org
> > > ---
> > >
> >
> >
> > --
> > 竹密岂妨流水过
> > 山高哪阻野云飞
> >
> > And for G+, please use magiclouds#gmail.com.
> >
> >
> > ---
> > Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> > Help: alpine-devel+help_at_lists.alpinelinux.org
> > ---
> >
>
>
> ---
> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> Help: alpine-devel+help_at_lists.alpinelinux.org
> ---
>


-- 
竹密岂妨流水过
山高哪阻野云飞
And for G+, please use magiclouds#gmail.com.
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu Apr 18 2019 - 23:07:46 UTC