Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283867 - sys-libs/gpm screen support
Summary: sys-libs/gpm screen support
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-06 18:46 UTC by Victor Gaydov
Modified: 2010-12-24 20:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/usr/local/portage/sys-libs/gpm/files/gpm-1.20.6-screen.patch (gpm-1.20.6-screen.patch,5.16 KB, text/plain)
2009-09-06 18:49 UTC, Victor Gaydov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Gaydov 2009-09-06 18:46:38 UTC
hello!

in undone patches of gpm there is one that makes gpm working inside Screen session.
i'm using screen and gpm a lot so i adopted that patch for
sys-libs/gpm 1.20.1-r6 and 1.20.6 and also add one or two fixes.
i've test it with mc, vim, and others.

for now it'll work properly if you export TTY environment variable
in caller program and set it to `tty`.
(for example add export TTY=`tty` to .bashrc)
Comment 1 Victor Gaydov 2009-09-06 18:49:14 UTC
Created attachment 203306 [details]
/usr/local/portage/sys-libs/gpm/files/gpm-1.20.6-screen.patch

patch for gpm-1.20.6
Comment 2 Victor Gaydov 2009-09-06 19:04:24 UTC
ps. add :set ttymouse="" to .vimrc to help vim determine screen pty properly
Comment 3 SpanKY gentoo-dev 2010-12-24 20:35:02 UTC
please send this patch to the upstream authors.  i'm not really qualified to verify the correctness of this patch.

it's simple to post to them:
http://www.nico.schottelius.org/software/gpm/