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

 
 

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

Submitted by:  Alexey I. Froloff <raorn>
Submitted on:  Thu 26 Aug 2010 08:02:41 PM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Jessica McKellar <jesstess>
Open/Closed: ClosedRelease: Cur Dev Sources
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission 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>
Project 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:

Correct patch (two parts):

http://git.altlinux.org/people/ldv/packages/?p=screen.git;a=commitdiff;h=4.03-alt6-1-g57f09abc
http://git.altlinux.org/people/ldv/packages/?p=screen.git;a=commitdiff;h=4.03-alt6-2-ge9f7d7d3

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 File(s):
   
   
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
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by ewfalor (Posted a comment)
  • -unavailable- added by jesstess (Updated the item)
  • -unavailable- added by raorn (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):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 25 Apr 2014 05:39:25 PM UTCamadeStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
      Release4.0.3=>Cur Dev Sources
    Thu 11 Nov 2010 02:37:25 AM UTCjesstessStatusNone=>In Progress
      Assigned toNone=>jesstess
    Fri 17 Sep 2010 04:24:14 AM UTCNoneAttached File-=>Added termname-size-display.h.diff, #21477

    Back to the top


    Powered by Savane 3.1-cleanup1