I haven't tried it yet, but what if you were to call: _vprocmgr_switch_to_session(VPROCMGR_SESSION_LOGINWINDOW, 0);
On MacVim startup? On Sep 3, 3:11 pm, björn <[email protected]> wrote: > 2009/9/3 IdaRub: > > > > > > > > > This was killing me, so I spent a bit of time looking at it. It is an > > Apple specific patch to screen: > > >http://opensource.apple.com/source/screen/screen-16/patches/screen.c.... > > > +#ifdef __APPLE__ > > + if (_vprocmgr_detach_from_console(0) != NULL) > > + errx(1, "can't detach from console"); > > +#endif > > > ... > > > vproc_err_t > > _vprocmgr_detach_from_console(vproc_flags_t flags __attribute__ > > ((unused))) > > { > > return _vprocmgr_switch_to_session > > (VPROCMGR_SESSION_BACKGROUND, 0); > > } > > > This means you're no longer attached to login session / context, and > > can't talk to the pasteboard. I am going to try to monkey patch > > screen and see how that works out. > > Hi, > > I just tried starting MacVim from within "screen" on Snow Leopard and > found that copy and paste _does_ work. > > Everybody using "screen" should update _now_ (that was a joke). :-O > > Björn --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
