MacVim not work under tmux

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

MacVim not work under tmux

Tanky Woo
MacVim:  macvim: stable 7.4-101, HEAD (installled from brew)

tmux: tmux: stable 2.1 (bottled), HEAD

All operation is under iterm(terminal)

If there is no macvim process, and I run mvim under tmux to open file, press any key(such as `i`, or `:`) not response。

But If I open a macvim process without tmux, and then I run tmux and open file under tmux, it is work, and use the previous macvim process。

Here is the debug log:

Apr 26 22:38:06  Vim[44339] <Debug>: void gui_macvim_after_fork_init()@151:
Apr 26 22:38:06  Vim[44339] <Info>: void gui_macvim_after_fork_init()@194: Use renderer=1
Apr 26 22:38:07  Vim[44339] <Debug>: int gui_mch_init()@222:
Apr 26 22:38:07  MacVim[44340] <Info>: -[MMAppController applicationDidFinishLaunching:]@389: MacVim finished launching
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMAppController connectBackend:pid:]@1244: pid=44339
Apr 26 22:38:07  MacVim[44340] <Info>: -[MMVimView initWithFrame:vimController:]@93: Use renderer=1
Apr 26 22:38:07  Vim[44339] <Debug>: void gui_mch_new_colors()@610: back=0 norm=15395562
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMAppController(Private) addVimController:]@2283: Add Vim controller pid=44339 id=1
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMAppController(Private) activateWhenNextWindowOpens]@2045: Activate MacVim when next window opens
Apr 26 22:38:07  Vim[44339] <Debug>: int gui_mch_init_font(char_u *, int)@987: font_name='Monaco:h12' fontset=0
Apr 26 22:38:07  Vim[44339] <Debug>: void gui_mch_get_screen_dimensions(int *, int *)@1605: Columns=150 Rows=60
Apr 26 22:38:07  Vim[44339] <Debug>: void gui_mch_set_shellsize(int, int, int, int, int, int, int)@1655: width=150 height=60 min_width=12 min_he
ight=2 base_width=0 base_height=0 direction=15
Apr 26 22:38:07  Vim[44339] <Debug>: -[MMBackend flushQueue:]@671: Flushing queue: SetVimStateMsgID SetDefaultColorsMsgID SetDefaultColorsMsgID
AdjustLinespaceMsgID SetFontMsgID SetWideFontMsgID ShowToolbarMsgID SetTextDimensionsMsgID OpenWindowMsgID SetTooltipMsgID BatchDrawMsgID AddMen
uItemMsgID(412) AddMenuMsgID(32) EnableMenuItemMsgID(56) SetScrollbarPositionMsgID(1) SetScrollbarThumbMsgID(1) ShowScrollbarMsgID(4) CreateScro
llbarMsgID(3)
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMAppController processInput:forIdentifier:]@1284: QUEUE for identifier=1: <<< SetVimStateMsgID SetDef
aultColorsMsgID SetDefaultColorsMsgID AdjustLinespaceMsgID SetFontMsgID SetWideFontMsgID ShowToolbarMsgID SetTextDimensionsMsgID OpenWindowMsgID
 SetTooltipMsgID BatchDrawMsgID AddMenuItemMsgID(412) AddMenuMsgID(32) EnableMenuItemMsgID(56) SetScrollbarPositionMsgID(1) SetScrollbarThumbMsg
ID(1) ShowScrollbarMsgID(4) CreateScrollbarMsgID(3) >>>
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMWindowController setTextDimensionsWithRows:columns:isLive:keepOnScreen:]@388: setTextDimensionsWithR
ows:60 columns:150 isLive:0 keepOnScreen:1
Apr 26 22:38:07  Vim[44339] <Info>: -[MMBackend registerServerWithName:]@1458: Registered server with name: VIM
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMVimController sendMessage:data:]@338: msg=BackingPropertiesChangedMsgID (isInitialized=1)
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMVimController sendMessage:data:]@338: msg=SetWindowPositionMsgID (isInitialized=1)
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMWindowController(Private) resizeWindowToFitContentSize:keepOnScreen:]@1399: Set window frame: {{1903, -128}, {1068, 985}}
Apr 26 22:38:07  Vim[44339] <Debug>: void gui_mch_settitle(char_u *, char_u *)@1696: title='[No Name] - VIM' icon='[No Name]'
Apr 26 22:38:07  Vim[44339] <Debug>: -[MMBackend flushQueue:]@671: Flushing queue: SetVimStateMsgID SetServerNameMsgID SetPreEditPositionMsgID SetBuffersModifiedMsgID SetWindowTitleMsgID SetDocumentFilenameMsgID SetPreEditPositionMsgID BatchDrawMsgID SetScrollbarPositionMsgID(1) SetScrollbarThumbMsgID(1) ShowScrollbarMsgID(1)
Apr 26 22:38:07  Vim[44339] <Debug>: -[MMBackend(Private) processInputQueue]@1850: (1) BackingPropertiesChangedMsgID
Apr 26 22:38:07  Vim[44339] <Debug>: -[MMBackend(Private) processInputQueue]@1850: (3) SetWindowPositionMsgID
Apr 26 22:38:07  Vim[44339] <Debug>: -[MMBackend(Private) handleInputEvent:data:]@2076: SetWindowPositionMsgID: x=1903 y=128
Apr 26 22:38:07  Vim[44339] <Debug>: -[MMBackend flushQueue:]@671: Flushing queue: SetVimStateMsgID SetPreEditPositionMsgID SetPreEditPositionMsgID BatchDrawMsgID SetScrollbarPositionMsgID(1) SetScrollbarThumbMsgID(1) ShowScrollbarMsgID(1)
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMVimController sendMessage:data:]@338: msg=GotFocusMsgID (isInitialized=1)
Apr 26 22:38:07  Vim[44339] <Debug>: -[MMBackend(Private) processInputQueue]@1850: (1) GotFocusMsgID
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMAppController processInput:forIdentifier:]@1284: QUEUE for identifier=1: <<< SetVimStateMsgID SetServerNameMsgID SetPreEditPositionMsgID SetBuffersModifiedMsgID SetWindowTitleMsgID SetDocumentFilenameMsgID SetPreEditPositionMsgID BatchDrawMsgID SetScrollbarPositionMsgID(1) SetScrollbarThumbMsgID(1) ShowScrollbarMsgID(1) >>>
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMWindowController(Private) resizeWindowToFitContentSize:keepOnScreen:]@1399: Set window frame: {{1903, -128}, {1068, 985}}
Apr 26 22:38:07  MacVim[44340] <Debug>: -[MMAppController processInput:forIdentifier:]@1284: QUEUE for identifier=1: <<< SetVimStateMsgID SetPreEditPositionMsgID SetPreEditPositionMsgID BatchDrawMsgID SetScrollbarPositionMsgID(1) SetScrollbarThumbMsgID(1) ShowScrollbarMsgID(1) >>>
Apr 26 22:38:08  MacVim[44340] <Debug>: -[MMTextViewHelper keyDown:]@129: NSEvent: type=KeyDown loc=(0,985) time=116533.1 flags=0x100 win=0x7fc5e9c34480 winNum=14013 ctxt=0x0 chars="i" unmodchars="i" repeat=0 keyCode=34
Apr 26 22:38:08  MacVim[44340] <Debug>: -[MMTextViewHelper keyDown:]@129: NSEvent: type=KeyDown loc=(0,985) time=116533.3 flags=0x100 win=0x7fc5e9c34480 winNum=14013 ctxt=0x0 chars="i" unmodchars="i" repeat=0 keyCode=34
Apr 26 22:38:08  MacVim[44340] <Debug>: -[MMTextViewHelper keyDown:]@129: NSEvent: type=KeyDown loc=(0,985) time=116533.5 flags=0x100 win=0x7fc5e9c34480 winNum=14013 ctxt=0x0 chars="i" unmodchars="i" repeat=0 keyCode=34
Apr 26 22:38:08  MacVim[44340] <Debug>: -[MMTextViewHelper keyDown:]@129: NSEvent: type=KeyDown loc=(0,985) time=116533.7 flags=0x100 win=0x7fc5e9c34480 winNum=14013 ctxt=0x0 chars="i" unmodchars="i" repeat=0 keyCode=34
Apr 26 22:38:10  MacVim[44340] <Debug>: -[MMAppController applicationShouldTerminate:]@588: Terminate pid=44339
Apr 26 22:38:10  MacVim[44340] <Debug>: -[MMVimController sendMessage:data:]@338: msg=TerminateNowMsgID (isInitialized=1)
Apr 26 22:38:10  Vim[44339] <Debug>: void gui_mch_free_font()@935: font=0x7fe463c90880
Apr 26 22:38:10  Vim[44339] <Debug>: void gui_mch_exit(int)@283: rc=0
Apr 26 22:38:10  MacVim[44340] <Info>: -[MMAppController applicationWillTerminate:]@622: Terminating MacVim...

--
--
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: MacVim not work under tmux

Nicola
On 2016-04-26 14:48:00 +0000, Tanky Woo said:

> MacVim:  macvim: stable 7.4-101, HEAD (installled from brew)
>
> tmux: tmux: stable 2.1 (bottled), HEAD
>
> All operation is under iterm(terminal)
>
> If there is no macvim process, and I run mvim under tmux to open file,
> press any key(such as `i`, or `:`) not response。

I cannot reproduce (MacVim 7.4-102). Are you using
reattach-to-user-space in .tmux.conf (I do)?

Nicola


--
--
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: MacVim not work under tmux

Tanky Woo
在 2016年5月6日星期五 UTC+8上午4:50:08,Nicola写道:

> On 2016-04-26 14:48:00 +0000, Tanky Woo said:
>
> > MacVim:  macvim: stable 7.4-101, HEAD (installled from brew)
> >
> > tmux: tmux: stable 2.1 (bottled), HEAD
> >
> > All operation is under iterm(terminal)
> >
> > If there is no macvim process, and I run mvim under tmux to open file,
> > press any key(such as `i`, or `:`) not response。
>
> I cannot reproduce (MacVim 7.4-102). Are you using
> reattach-to-user-space in .tmux.conf (I do)?
>
> Nicola

I think it not about tmux, I have try running tmux with no custom config(by default), and it still not work. and I haven't use reattach-to-user-namespace

--
--
You received this message from the "vim_mac" 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_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.