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

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

    <bug>
          <bug_id>16407</bug_id>
          
          <creation_ts>2008-07-21 17:23:04 +0400</creation_ts>
          <short_desc>spoils the terminal on exit</short_desc>
          <delta_ts>2012-03-16 13:59:21 +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>pinfo</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></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>18409</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Afanasov Dmitry">ender</assigned_to>
          <cc>ender</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>74256</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-07-21 17:23:04 +0400</bug_when>
    <thetext>pinfo-0.6.9-alt1

Just the same as https://bugzilla.altlinux.org/show_bug.cgi?id=16140 for lynx.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74741</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-08-02 22:29:10 +0400</bug_when>
    <thetext>This bad behavior is not observed in ALT Lite 4.0.3 --
ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/4.0/Desktop/4.0.3/iso/altlinux-4.0.3-lite-i586-install_ru-cd.iso
; the version there: pinfo-0.6.9-alt1, so the problem is perhaps not in pinfo, but 
in something it depends upon. In ALT Lite 4.0.3 (where it works OK) the versions are:

apt&gt; depends pinfo
pinfo-0.6.9-alt1
  Depends: url_handler
  PreDepends: &lt;/sbin/install-info&gt;
    info-install-4.8-alt4
  PreDepends: &lt;/bin/sh&gt;
    sh-3.1.17-alt3
  PreDepends: &lt;/bin/sh&gt;
    sh-3.1.17-alt3
  Depends: &lt;libc.so.6(GLIBC_2.0)&gt;
    glibc-core-6:2.5-alt4
  Depends: &lt;libc.so.6(GLIBC_2.1)&gt;
    glibc-core-6:2.5-alt4
  Depends: &lt;libc.so.6(GLIBC_2.3)&gt;
    glibc-core-6:2.5-alt4
  Depends: &lt;libc.so.6(GLIBC_2.3.4)&gt;
    glibc-core-6:2.5-alt4
  Depends: &lt;libncurses.so.5&gt;
    libncurses-5.6-alt3
  Depends: &lt;libtinfo.so.5&gt;
    libtinfo-5.6-alt3
apt&gt; 

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74742</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-08-02 22:32:16 +0400</bug_when>
    <thetext>(In reply to comment #1)

&gt; the problem is perhaps not in pinfo, but 
&gt; in something it depends upon.

In the system where I noticed the problem the versions of the dependencies are:

apt&gt; depends pinfo
pinfo-0.6.9-alt1
  Depends: url_handler
  PreDepends: &lt;/sbin/install-info&gt;
    info-install-4.11-alt3
  PreDepends: &lt;/bin/sh&gt;
    sh-3.2.39-alt1
  PreDepends: &lt;/bin/sh&gt;
    sh-3.2.39-alt1
  Depends: &lt;libc.so.6(GLIBC_2.0)&gt;
    glibc-core-6:2.5.1-alt5
  Depends: &lt;libc.so.6(GLIBC_2.1)&gt;
    glibc-core-6:2.5.1-alt5
  Depends: &lt;libc.so.6(GLIBC_2.3)&gt;
    glibc-core-6:2.5.1-alt5
  Depends: &lt;libc.so.6(GLIBC_2.3.4)&gt;
    glibc-core-6:2.5.1-alt5
  Depends: &lt;libncurses.so.5&gt;
    libncurses-5.6-alt4
  Depends: &lt;libtinfo.so.5&gt;
    libtinfo-5.6-alt4
apt&gt; 


&gt; In ALT Lite 4.0.3 (where it works OK) the versions are:
&gt; 
&gt; apt&gt; depends pinfo
&gt; pinfo-0.6.9-alt1
&gt;   Depends: url_handler
&gt;   PreDepends: &lt;/sbin/install-info&gt;
&gt;     info-install-4.8-alt4
&gt;   PreDepends: &lt;/bin/sh&gt;
&gt;     sh-3.1.17-alt3
&gt;   PreDepends: &lt;/bin/sh&gt;
&gt;     sh-3.1.17-alt3
&gt;   Depends: &lt;libc.so.6(GLIBC_2.0)&gt;
&gt;     glibc-core-6:2.5-alt4
&gt;   Depends: &lt;libc.so.6(GLIBC_2.1)&gt;
&gt;     glibc-core-6:2.5-alt4
&gt;   Depends: &lt;libc.so.6(GLIBC_2.3)&gt;
&gt;     glibc-core-6:2.5-alt4
&gt;   Depends: &lt;libc.so.6(GLIBC_2.3.4)&gt;
&gt;     glibc-core-6:2.5-alt4
&gt;   Depends: &lt;libncurses.so.5&gt;
&gt;     libncurses-5.6-alt3
&gt;   Depends: &lt;libtinfo.so.5&gt;
&gt;     libtinfo-5.6-alt3
&gt; apt&gt; 
&gt; 

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74743</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-08-02 22:36:25 +0400</bug_when>
    <thetext>(In reply to comment #1)

&gt; so the problem is perhaps not in pinfo, but 
&gt; in something it depends upon.

The other thing that differs between the two cases is the locale.

In the &quot;bad&quot; case:

LANG=ru_RU.KOI8-R
LC_MESSAGES=POSIX

in the good case:

LANG=ru_RU.UTF-8

.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83688</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-12-31 00:11:23 +0300</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #1)
&gt; 
&gt; &gt; so the problem is perhaps not in pinfo, but 
&gt; &gt; in something it depends upon.
&gt; 
&gt; The other thing that differs between the two cases is the locale.

No, it is not the reason (the locale or old libs): this problem is also observed in a clean Desktop 4.1.1RC system in ru_RU.UTF-8: https://bugzilla.altlinux.org/show_bug.cgi?id=18409 .

&gt; 
&gt; In the &quot;bad&quot; case:
&gt; 
&gt; LANG=ru_RU.KOI8-R
&gt; LC_MESSAGES=POSIX
&gt; 
&gt; in the good case:
&gt; 
&gt; LANG=ru_RU.UTF-8
&gt; 
&gt; .
&gt; 

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84432</commentid>
    <comment_count>5</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2009-01-14 22:24:16 +0300</bug_when>
    <thetext>Рискну предположить, что всё это происходит в aterm?  Если да, то это его (aterm&apos;а) неадекватная реакция на попытку использования мыши (mousemask() из libncurses).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89953</commentid>
    <comment_count>6</comment_count>
    <who name="Afanasov Dmitry">ender</who>
    <bug_when>2009-04-23 15:22:03 +0400</bug_when>
    <thetext>исправление https://bugzilla.altlinux.org/show_bug.cgi?id=19732 заодно исправило и эту ошибку.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90014</commentid>
    <comment_count>7</comment_count>
    <who name="Afanasov Dmitry">ender</who>
    <bug_when>2009-04-24 09:22:37 +0400</bug_when>
    <thetext>сборка добежала до сизифа, на utf8 консолях чисто, в других локалях прошу проверки.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90060</commentid>
    <comment_count>8</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2009-04-24 18:15:21 +0400</bug_when>
    <thetext>ru_RU.KOI8-R - полёт нормальный.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90062</commentid>
    <comment_count>9</comment_count>
    <who name="Afanasov Dmitry">ender</who>
    <bug_when>2009-04-24 18:31:07 +0400</bug_when>
    <thetext>значит закрываю :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>