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

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

    <bug>
          <bug_id>16140</bug_id>
          
          <creation_ts>2008-06-23 16:14:09 +0400</creation_ts>
          <short_desc>spoils the terminal on exit</short_desc>
          <delta_ts>2012-03-16 13:59:16 +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>aterm</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73043</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-06-23 16:14:09 +0400</bug_when>
    <thetext>lynx-2.8.6-alt3.rel.2
(lynx-2.8.6-alt2.rel.2.1 also had a similar problem)

how to reproduce:

start lynx, press &quot;Q&quot;

result: 

the terminal is spoilt (no echoing of what I type anymore, pressing Enter doesn&apos;t create a new line: a new prompt appears on the same line)

[ivan@dell ~]$ lynx
[ivan@dell ~]$ [ivan@dell ~]$ [ivan@dell ~]$ [ivan@dell ~]$ [ivan@dell ~]$ [ivan@dell ~]$ 


workaround: blindly type &quot;reset&quot; Enter

It happens with bash-3.2.39-alt1, aterm-1.0.1-alt2, 
$ locale
LANG=ru_RU.KOI8-R
LC_CTYPE=&quot;ru_RU.KOI8-R&quot;
LC_NUMERIC=&quot;ru_RU.KOI8-R&quot;
LC_TIME=&quot;ru_RU.KOI8-R&quot;
LC_COLLATE=&quot;ru_RU.KOI8-R&quot;
LC_MONETARY=&quot;ru_RU.KOI8-R&quot;
LC_MESSAGES=POSIX
LC_PAPER=&quot;ru_RU.KOI8-R&quot;
LC_NAME=&quot;ru_RU.KOI8-R&quot;
LC_ADDRESS=&quot;ru_RU.KOI8-R&quot;
LC_TELEPHONE=&quot;ru_RU.KOI8-R&quot;
LC_MEASUREMENT=&quot;ru_RU.KOI8-R&quot;
LC_IDENTIFICATION=&quot;ru_RU.KOI8-R&quot;
LC_ALL=
$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74257</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-07-21 17:23:43 +0400</bug_when>
    <thetext>The same problem with pinfo: https://bugzilla.altlinux.org/show_bug.cgi?id=16407 .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74414</commentid>
    <comment_count>2</comment_count>
    <who name="Denis Smirnov">mithraen</who>
    <bug_when>2008-07-27 13:26:40 +0400</bug_when>
    <thetext>Есть идеи патча?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84421</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-01-14 21:02:20 +0300</bug_when>
    <thetext>A similar problem with mpg123: https://bugzilla.altlinux.org/show_bug.cgi?id=1997 .
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84423</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2009-01-14 21:04:33 +0300</bug_when>
    <thetext>(In reply to comment #2)
&gt; Есть идеи патча?

У меня нет, потому что я пока не пытался понять, что там происходит.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84431</commentid>
    <comment_count>5</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2009-01-14 22:23:58 +0300</bug_when>
    <thetext>Рискну предположить, что всё это происходит в aterm?  Если да, то это его (aterm&apos;а) неадекватная реакция на попытку использования мыши (mousemask() из libncurses).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94877</commentid>
    <comment_count>6</comment_count>
    <who name="Denis Smirnov">mithraen</who>
    <bug_when>2009-07-19 16:03:15 +0400</bug_when>
    <thetext>Так что мне делать с этим багом? :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95104</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-07-23 01:51:08 +0400</bug_when>
    <thetext>Перевесить на aterm, видимо -- у меня тоже подобное в нём и вылазит порой.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106649</commentid>
    <comment_count>8</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2010-02-13 01:02:55 +0300</bug_when>
    <thetext>Предлагаю сменить терминал или прислать патч.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>