Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

SendScreen doesnt works on GNU Screen #23

Open
kul opened this issue Aug 22, 2013 · 6 comments
Open

SendScreen doesnt works on GNU Screen #23

kul opened this issue Aug 22, 2013 · 6 comments

Comments

@kul
Copy link

kul commented Aug 22, 2013

I have GNU Screen ( no tmux ) , but ScreenSend just doesnt works for me!
ScreenShell works just fine.

Is this due to my custom screen config? How do i debug this?

Thanks

@ervandew
Copy link
Owner

The issue with gnu screen is that I think the only way to reliably target a window is by its name, so when invoking :ScreenShell, that command will set the resulting window's name to screenshell. The problem you may be running into is that something else may be changing the window name. After running :ScreenShell what is the title you see for that new window?

@kul
Copy link
Author

kul commented Aug 23, 2013

Hello,

Yes i see the following events.
When i issue :ScreenShell python a new tab/pane opens with name screenshell.
But as soon as i launch :ScreenSend it changes to python.
Also If i dont do anything after sometime like 15-20 sec it changes to python.

Also on my screen when i do c and run some program on the new tab, the tab name changes to the running program. Do you know of a workaround?

@kul
Copy link
Author

kul commented Aug 23, 2013

Hey just checked manually setting windows title again using A to screenshell works!

But i am still looking for a better solution.

Also i am open to idea of running tmux inside my screen.vim session ( which is even better as it wont interfere with screen). How do i force screen to use tmux.

@ervandew
Copy link
Owner

If you want to use tmux, you can set the following in your vimrc:

let g:ScreenImpl = 'Tmux'

Tmux should work better in this regard.

@kul
Copy link
Author

kul commented Aug 23, 2013

Just one last thing before i close this, Is it true for using tmux inside screen.vim you have to actually start tmux before entering vim?

@ervandew
Copy link
Owner

You don't have to start tmux first, but if your are in an existing gnu screen session, I don't think screen.vim will work correctly attempting to run ScreenShell with g:ScreenImpl set to Tmux. I may be able to fix that if necessary though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants