Loading ...
Sorry, an error occurred while loading the content.

10711Re: Why copy / paste doesn't work within screen.

Expand Messages
  • björn
    Sep 3 6:11 AM
    • 0 Attachment
      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.diff
      >
      > +#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
      -~----------~----~----~----~------~----~------~--~---
    • Show all 5 messages in this topic