bugGNU Screen - Bugs: bug #24204, Screen should advertise mouse...


bug #24204: Screen should advertise mouse support

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Thu 04 Sep 2008 04:58:29 PM UTC  
Category: Feature RequestSeverity: 3 - Normal
Priority: 5 - NormalStatus: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
Fixed Release: NonePlanned Release: 4.1.0
Work Required: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Thu 09 Feb 2017 01:30:31 PM UTC, comment #2:

This seems to be already added in ncurses distributed terminfo files, which are used for screen on most systems.

% infocmp screen|grep kmous
khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
% infocmp screen-256color|grep kmous
khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
% infocmp screen-16color|grep kmous
khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~,

Amadeusz Sławiński <amade>
Project Administrator
Thu 12 Nov 2009 09:43:43 PM UTC, comment #1:

For this, is it enough to just add the entry in terminfo/screeninfo.src (and screencap)? Or is there something else to be done?

As I can see it, Screen cannot change the terminfo for the windows (new or existing) depending on the capabilities of the display, and I can't think of anything else to be done.

Sadrul Habib Chowdhury <sadrul>
Project Administrator
Thu 04 Sep 2008 04:58:29 PM UTC, original submission:

Using kmous/Km.

Possibly should be a separate terminfo entry, in case advertising mouse support triggers dependency on the mouse in the app, when screen isn't actually running in a display that supports mice. Or, it could go into the primary entry, and a new alternative entry could remove the feature.

See also https://savannah.gnu.org/bugs/index.php?24075 for using kmous/Km to detect mouse support.

Micah Cowan <micahcowan>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by sadrul (Posted a comment)
  • -unavailable- added by micahcowan (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1