www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/22/16:08:15

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=yGdlsQHoNohII3o0OyfJyY/ehl8+I
AkYtzZCAhs+trUOnK1wa2BhD0HNV2JDv8QR8bnDd+KQQD8RPlPi30x/mE8oe6gfR
QmFIaFVF2miXY9s/vgqjipgenrndID7eGH9vlr8ot37wD0kqbK6GEMdvCHG4XLTu
fsGG47X/fae/f0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=0u8m1Ndt6n7BWAEO0pfikWUN9MQ=; b=rYI
57JKO7h7/Q1zQ0Md5IhyGjy4/XUK49sZGYzFp5NbXZJo/3qohi9D7+DTVCckKB79
pR5FLz/79y8r+CVPRq+/koLtA1fDGwqKXb0jMbwvi1YcTsJq3KqVPeCBpfLDjMRv
DSloXyeqA7T4+mSDgb0MwuMDwubi3UF70NL+57IU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_40,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=signs, visual, arabic, gui
X-HELO: mail-wm0-f45.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=HvZ08mb0QfGFDoEffreFGhFaBeVBachBqXkaoX0vaXw=; b=Et89F5maFhl2fiVwNIbxXLxwxAzq1+rAxtfwgaLVYZmuPZBrCkhoes+ZY50zz2Vl72 ziARhfKG3fMHjgSCQjdoP90oADFPfKsmgD7VkQ8oY4hMnnpDTut1dI5TMYR17eig00dt R5xnwR/cF0sutFros5T77H+A6KbFtSRL64KojygKo5IcUt/05DWIxGd9t2ZY+eGpViTA jE4kb6loyrvaPem3Y6vBX1rSMHMFe63N2KJAFGmfAMbyBhU71Ob69K74xiNhZcNK/YVC tSUNspflvjUErVjkcgzsu95Jx6X+KMMQTAWrkGSfr/Y0OMLw9xWvVc7eVbWrRqqTJ/i/ 8mYg==
X-Gm-Message-State: AG10YOQ9HdHzQXG+BKHiXD+4urFLKZdizwbNEBaqEhMmkCtITu+lWaCbRHeBZ0MfVdl7YQfR2muyMOSJ8zc8cQ==
X-Received: by 10.28.227.67 with SMTP id a64mr5531648wmh.74.1453496871187; Fri, 22 Jan 2016 13:07:51 -0800 (PST)
MIME-Version: 1.0
From: "Martin T." <mrt181 AT gmail DOT com>
Date: Fri, 22 Jan 2016 22:07:11 +0100
Message-ID: <CA+0ahmY14EurL_woe3z5f8n7h6wgMhZQtC_Vrhf3rZ23SqoY+Q@mail.gmail.com>
Subject: How to compile vim so that the server feature works?
To: cygwin AT cygwin DOT com

I want to run vim in servermode.
I need the +clientserver feature for this to work, so I have to
compile vim myself.

I have done this but servermode does not work.

this is what I have done

$ ./configure --with-x --with-features=huge --enable-luainterp
--with-luajit --enable-pythoninterp --enable-python3interp clean
$ make && make install
$ where vim
C:\cygwin64\usr\local\bin\vim.exe
C:\cygwin64\bin\vim.exe
$ which vim
/usr/local/bin/vim
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 21 2016 23:08:34)
Included patches: 1-1148
Compiled by username AT machine
Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +syntax
+arabic          +file_in_path    +mouse_sgr       +tag_binary
+autocmd         +find_in_path    -mouse_sysmouse  +tag_old_static
-balloon_eval    +float           +mouse_urxvt     -tag_any_white
-browse          +folding         +mouse_xterm     -tcl
++builtin_terms  -footer          +multi_byte      +terminfo
+byte_offset     +fork()          +multi_lang      +termresponse
+cindent         -gettext         -mzscheme        +textobjects
+clientserver    -hangul_input    +netbeans_intg   +title
+clipboard       -iconv           +path_extra      -toolbar
+cmdline_compl   +insert_expand   -perl            +user_commands
+cmdline_hist    +jumplist        +persistent_undo +vertsplit
+cmdline_info    +keymap          +postscript      +virtualedit
+comments        +langmap         +printer         +visual
+conceal         +libcall         +profile         +visualextra
+cryptv          +linebreak       +python/dyn      +viminfo
+cscope          +lispindent      +python3/dyn     +vreplace
+cursorbind      +listcmds        +quickfix        +wildignore
+cursorshape     +localmap        +reltime         +wildmenu
+dialog_con      +lua             +rightleft       +windows
+diff            +menu            -ruby            +writebackup
+digraphs        +mksession       +scrollbind      +X11
-dnd             +modify_fname    +signs           +xfontset
-ebcdic          +mouse           +smartindent     -xim
+emacs_tags      -mouseshape      -sniff           +xsmp_interact
+eval            +mouse_dec       +startuptime     +xterm_clipboard
+ex_extra        -mouse_gpm       +statusline      -xterm_save
+extra_search    -mouse_jsbterm   -sun_workshop    -xpm
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking:
 gcc   -L/usr/local/lib -Wl,--as-needed -o vim.exe    -lSM -lICE -lXt
-lX11 -lXdmcp -lSM -lICE  -lm -lncurses     -L/usr/lib -lluajit-5.1

$ /bin/vim --servername foo
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct  8 2015 00:46:23)
Unknown option argument: "--servername"
More info with: "vim -h"
$ /usr/local/bin/vim --servername foo
# starts vim

new bash instance

$ vim --serverlist

no foo server listed

What do I need to do to get that feature working in cygwin?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019