screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: all apps in my screen lost across X reboot


From: Gerald Young
Subject: Re: all apps in my screen lost across X reboot
Date: Fri, 29 Jul 2011 13:35:53 -0500
User-agent: KMail/1.9.9

Hi Ping,

Fakeclip plugin works nicely for me within GNU screen:
http://www.vim.org/scripts/script.php?script_id=2098

Might want to try it as a workaround in case you can't get clipboard to work 
otherwise.

Gerald

On Friday 29 July 2011 1:16:51 pm Kevin Van Workum wrote:
> Ping,
>
> I'm not a vim user, so I don't know what that code is supposed to do or how
> to use it. Can you provide the step by steps to reproduce the issue. You
> should be able to use the copy/paste feature of your window manager or X11.
> For me, I can highlight text with the mouse and then paste it with the
> middle mouse button.
>
> Kevin
>
> On Thu, Jul 28, 2011 at 5:46 PM, ping <address@hidden> wrote:
> >  hi kevin:
> > I tried that and it looks good, in terms that my apps inside screen now
> > get retained across X reboot...but then I find another issue that make it
> > hard to use this approach in practice:
> > it looks now I can't copy$paste between vim and other apps, or even
> > between vim instances I was running inside screen...
> > previously I can at least achieve that with following vim config:
> >
> > if match($TERM, "screen")!=-1
> >   set term=xterm
> >   let g:GNU_Screen_used = 1
> > else
> >   let g:GNU_Screen_used = 0
> > endif
> >
> >
> > function! InScreen(command)
> >   return g:GNU_Screen_used ? 'screen '.a:command : a:command
> > endfunction
> >
> > I double maybe this related to the fact that, with this approach now
> > screen (and all its child) is not a child of X, so it has problem to
> > access the X selections or clipboards...
> > any idea?
> >
> > regards
> > ping
> >
> >
> >
> > On 07/07/2011 03:21 PM, ping wrote:
> >
> > hi Kevin:
> > thanks and that sounds exactly what my issue was.
> > I'll try start screen from outside of X and see if it is ok.
> >
> > regards
> > ping
> >
> > On 07/07/2011 09:37 AM, Kevin Van Workum wrote:
> >
> > Ping,
> >
> >  If you start screen from an X session,  then screen is a child of X. So
> > when X dies, so does screen. To do what you want, you would have to start
> > screen outside of X.
> >
> >  There are many ways to do this. For example, you could start a screen
> > session at boot time from rc.local. Or you could just switch to a
> > different tty (e.g. ctrl-alt-F2) and start a new screen session there.
> > Then go back to X (ctrl-alt-F7) and reattach to that screen session.
> >
> >  Kevin
> >
> > On Mon, Jul 4, 2011 at 2:44 PM, ping <address@hidden> wrote:
> >>  guys:
> >> I use screen for years and I'm happy with it.
> >> one thing annoyed me a lot is everytime when i need to reload X (it's
> >> not stable), and when I come back and find everything in my screen (vim,
> >> news, mutt, telnet, ssh,...everything) also went away, the
> >> session/windows are there though. searching the internet I haven't got
> >> much useful info. people are saying they use screen to get persistent
> >> sessions across X...how can i archive that?
> >>
> >> thanks!
> >>
> >> regards
> >> ping
> >>
> >> _______________________________________________
> >> screen-users mailing list
> >> address@hidden
> >> https://lists.gnu.org/mailman/listinfo/screen-users
> >
> > --
> > Kevin Van Workum, PhD
> > Sabalcore Computing Inc.
> > Run your code on 500 processors.
> > Sign up for a free trial account.
> > www.sabalcore.com
> > 877-492-8027 ext. 11





reply via email to

[Prev in Thread] Current Thread [Next in Thread]