<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>23972</bug_id>
          
          <creation_ts>2010-08-26 22:49:49 +0400</creation_ts>
          <short_desc>Буфер для $TERM слишком маленький</short_desc>
          <delta_ts>2010-09-18 04:53:30 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>screen</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://savannah.gnu.org/bugs/index.php?30880</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sir Raorn">raorn</reporter>
          <assigned_to name="Fr. Br. George">george</assigned_to>
          <cc>evg</cc>
    
    <cc>george</cc>
    
    <cc>mike</cc>
    
    <cc>real.altlinux.org</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>111621</commentid>
    <comment_count>0</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2010-08-26 22:49:49 +0400</bug_when>
    <thetext>Размер поля d_termname в struct display - 20 байт полезных символов.  Название терминала &quot;rxvt-unicode-256color&quot; туда не влезает и в результате невозможно подцепиться к запущенной сессии.


$ find /usr/share/terminfo /lib/terminfo -type f -name &apos;?????????????????????*&apos;
/usr/share/terminfo/s/screen-256color-bce-s
/usr/share/terminfo/r/rxvt-unicode-256color</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112243</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2010-09-17 13:34:30 +0400</bug_when>
    <thetext>Патчи горячо приветствуются.  Может быть, они уже даже существуют.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112244</commentid>
    <comment_count>2</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2010-09-17 13:40:24 +0400</bug_when>
    <thetext>Ну есть один в $URL, только он мне не очень нравится.  Лучше увеличить до 31+1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112248</commentid>
    <comment_count>3</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2010-09-17 15:10:40 +0400</bug_when>
    <thetext>~ $swi screen                       
Cannot find terminfo entry for &apos;rxvt-unicode-256colo&apos;.
~ $rpm -q screen
screen-4.0.3-alt7

(собрано из тега 4.0.3-alt7 за подписью ldv@).

Я пробовал увеличивать d_termname до разных значений - результат вот такой.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112249</commentid>
    <comment_count>4</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2010-09-17 15:18:53 +0400</bug_when>
    <thetext>attacher.c:  strncpy(m.m.attach.envterm, attach_term, sizeof(m.m.attach.envterm) - 1);

screen.h:         char envterm[20 + 1]; /* terminal type */</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112259</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2010-09-17 22:15:04 +0400</bug_when>
    <thetext>screen-4.0.3-alt7 -&gt; sisyphus:

* Fri Sep 17 2010 Dmitry V. Levin &lt;ldv@altlinux&gt; 4.0.3-alt7
- Enlarged internal $TERM string buffers (closes: #23972).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112262</commentid>
    <comment_count>6</comment_count>
    <who name="Evgenii Terechkov">evg</who>
    <bug_when>2010-09-18 04:53:30 +0400</bug_when>
    <thetext>Проверил, работает.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>