bugGNU Screen - Bugs: bug #30880, Unable to start when $TERM is...

 
 

bug #30880: Unable to start when $TERM is longer than 20 characters

Submitter:  Alexey I. Froloff <raorn>
Submitted:  Thu 26 Aug 2010 08:02:41 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  jesstess
Open/Closed:  Closed Release:  Cur Dev Sources
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 25 Apr 2014 05:39:25 PM UTC, comment #8: 

Fixed in screen-v4 branch will be released in v.4.2.1

Amadeusz Sławiński <amade>
Group administrator
Wed 04 Jul 2012 04:43:26 AM UTC, comment #7: 

While the patches supplied in comment #4 no longer apply cleanly, the indicated changes still fix the this problem.

Can we have this easy fix committed to git?

Erik Falor <ewfalor>
Thu 09 Dec 2010 08:50:39 AM UTC, comment #6: 

I've tried, it does not support character recoding.  Session in started from ru_RU.UTF-8 locale, sometimes I attach to session from ru_RU.KOI8-R locale.  Works with screen, fails with tmux (all non-ascii characters displayed as underscore).

P.S. You can catch me on irc.freenode.net

Anonymous
Wed 08 Dec 2010 10:01:25 PM UTC, comment #5: 

You might try "tmux", instead.

Anonymous
Sun 19 Sep 2010 10:20:46 PM UTC, comment #4: 
Alexey I. Froloff <raorn>
Fri 17 Sep 2010 07:14:09 AM UTC, comment #3: 

I am certainly can, but "rxvt-unicode-256color" is a default terminal name for rxvt-unicode when it is compiled with 256-color support.  Foreign 256-color patch was merged upstream - http://cvs.schmorp.de/rxvt-unicode/src/rxvt.h?r1=1.398&r2=1.399

I don't think it's fair if I will enjoy pretty 256-color terminal while others are suffering without screen...

Alexey I. Froloff <raorn>
Fri 17 Sep 2010 04:24:14 AM UTC, comment #2: 

Hello

d_termname size is limited (without any visible particular reason) to 20 chars (plus '\0').

You can manually fix it (see display.h) or use attached patch to increase its size to 21 (length of rxvt-unicode-256color) or any other you like.



(file #21477)

Anonymous
Wed 08 Sep 2010 11:44:22 AM UTC, comment #1: 

Any progress on this issue?

Alexey I. Froloff <raorn>
Thu 26 Aug 2010 08:02:41 PM UTC, original submission:  

I am unable to use screen in "rxvt-unicode-256color" terminal.  It dies with "$TERM too long - sorry." message.

Alexey I. Froloff <raorn>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #21477:  termname-size-display.h.diff added by None (514B - text/x-patch)

 

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 ewfalor (Posted a comment)
  • -email is unavailable- added by jesstess (Updated the item)
  • -email is unavailable- added by raorn (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.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-25 amade StatusIn Progress Fixed
        Open/ClosedOpen Closed
        Release4.0.3 Cur Dev Sources
    2010-11-11 jesstess StatusNone In Progress
        Assigned toNone jesstess
    2010-09-17 None Attached File- Added termname-size-display.h.diff, #21477

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code