Package: apcupsd
Version: 3.14.10-2
Severity: normal

Dear Maintainer,

   * What led up to the situation?
Run apctest on connected SMART-UPS 2200 XL
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
1) Query the UPS for all known values
   * What was the outcome of this action?
Terminal was messed up
   * What outcome did you expect instead?
Being able to read the output

>From apctest.output:-
1) Query the UPS for all known values
2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
Q) Quit

Select function number: 1

I am going to run through the series of queries of the UPS
that are used in initializing apcupsd.

Simulating UPSlinkCheck ...
Wrote: Y Got: SM
Attempting to use smart_poll() ...
Sent: Y Got: SM  Good -- smart_poll() works!.

Going to ask for valid commands...
Wrote: a Got:
3.?=.^A^N^Z-789>@ABCDEFGKLMNOPQRSUVWXYZ'abcefgjklmnopqrsuxyz~^?
Protocol version is: 3
Alert characters are: ?=
Command characters are:
^A^N^Z-789>@ABCDEFGKLMNOPQRSUVWXYZ'abcefgjklmnopqrsuxyz~
^?

The raw printed ^N in the line starting with "Wrote" is what messes up the
terminal. The line starting with "Command characters" does properly print.
ie: The first line contains chr(1)+chr(14)+chr(26)+"-789...". The second
contains "^A^N^Z-789..."


-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux PRIVATE (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages apcupsd depends on:
ii  libc6     2.13-38+deb7u1
ii  libgcc1   1:4.7.2-5
ii  libwrap0  7.6.q-24

Versions of packages apcupsd recommends:
pn  apcupsd-doc  <none>

Versions of packages apcupsd suggests:
pn  apcupsd-cgi  <none>
ii  udev         175-7.2

-- Configuration Files:
/etc/apcupsd/apcupsd.conf changed [not included]
/etc/default/apcupsd changed [not included]

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to