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

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

    <bug>
          <bug_id>9676</bug_id>
          
          <creation_ts>2006-06-05 19:24:38 +0400</creation_ts>
          <short_desc>Не распознаётся переменная окружения SCMXX_TTY</short_desc>
          <delta_ts>2006-09-12 20:15:28 +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>scmxx</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fr. Br. George">george</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38555</commentid>
    <comment_count>0</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2006-06-05 19:24:38 +0400</bug_when>
    <thetext>В man-е описана переменная окружения SCMXX_TTY, которая делает то же, что и ключ
-d. Раньше она действительно воспринималась. Сейчас -- нет. Проблема в
самодельной системе разбора параметров. Патч прилагается:
========8&lt;=============================================
diff -ur scmxx-0.9.0/src/scmxx/scmxx_opt.c scmxx-0.9.0.new/src/scmxx/scmxx_opt.c
--- scmxx-0.9.0/src/scmxx/scmxx_opt.c   2006-02-06 21:00:19 +0300
+++ scmxx-0.9.0.new/src/scmxx/scmxx_opt.c       2006-06-05 19:17:30 +0400
@@ -214,10 +214,10 @@
 struct args_def args_list[] = {
   {&quot;baud&quot;,&apos;b&apos;,&quot;SCMXX_BAUD&quot;,ARGS_PARAM_REQ,_(&quot;rate&quot;),0,
    _(&quot;specify another than the compiled in baudrate&quot;)},
-  {&quot;binary&quot;,&apos;N&apos;,NULL,ARGS_PARAM_NONE,NULL,2,
-   _(&quot;binary file transfer&quot;)},
   {&quot;device&quot;,&apos;d&apos;,&quot;SCMXX_TTY&quot;,ARGS_PARAM_REQ,_(&quot;device&quot;),0,
    _(&quot;specify another than the compiled in device&quot;)},
+  {&quot;binary&quot;,&apos;N&apos;,NULL,ARGS_PARAM_NONE,NULL,2,
+   _(&quot;binary file transfer&quot;)},
   {&quot;device-timeout&quot;,0,NULL,ARGS_PARAM_REQ,_(&quot;seconds&quot;),0,
    _(&quot;return after this time if there is no answer&quot;)},
   {&quot;dial&quot;,0,NULL,ARGS_PARAM_NONE,NULL,1,
========&gt;8===================================================
Steps to Reproduce:
$ echo $SCMXX_TTY &amp;&amp; scmxx --info
/dev/ttyS0
Using &quot;KOI8-R&quot; as system character set.
Accessing device /dev/ircomm1...done

$ echo $SCMXX_TTY &amp;&amp; scmxx --info -d $SCMXX_TTY 
/dev/ttyS0
Using &quot;KOI8-R&quot; as system character set.
Accessing device /dev/ttyS0...done
OK, a modem device is present.

Actual Results:  
Accessing device /dev/ircomm1...done

Expected Results:  
Accessing device /dev/ttyS0...done</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38600</commentid>
    <comment_count>1</comment_count>
    <who name="Valery Inozemtsev">shrek</who>
    <bug_when>2006-06-07 17:29:27 +0400</bug_when>
    <thetext>исправлено в 0.9.0-alt2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40213</commentid>
    <comment_count>2</comment_count>
    <who name="Fr. Br. George">george</who>
    <bug_when>2006-09-12 20:15:27 +0400</bug_when>
    <thetext>(In reply to comment #1)
&gt; исправлено в 0.9.0-alt2

Я написал в upstream, он там поправил в своём CVS-е. возможно, в новой версии
патч отвалится.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>