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

 
 

bug #24204: Screen should advertise mouse support

Submitter:  Micah Cowan <micahcowan>
Submitted:  Thu 04 Sep 2008 04:58:29 PM UTC
   
 
Category:  Feature Request Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Fixed Release:  None Planned Release:  4.1.0
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code