[tor-bugs] #28297 [Applications]: Control interpreter in nyx does not do line splitting

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Nov 3 09:09:31 UTC 2018


#28297: Control interpreter in nyx does not do line splitting
--------------------------+------------------------------
 Reporter:  wagon         |          Owner:  atagar
     Type:  defect        |         Status:  assigned
 Priority:  Medium        |      Component:  Applications
  Version:  Tor: 0.3.4.8  |       Severity:  Normal
 Keywords:  nyx           |  Actual Points:
Parent ID:                |         Points:
 Reviewer:  atagar        |        Sponsor:
--------------------------+------------------------------
 When `GETINFO circuit-status` is typed in control interpreter of `nyx`
 (2.0.4), long lines are not split. Therefore, full `tor`'s reply cannot be
 seen. It looks like (names of Tor nodes are fake):

 {{{
 >>> GETINFO circuit-status
 250+circuit-status=
 XXXX BUILT $FINGERPRINT~NODENAME,$FINGERPRINT~nodeone,$FINGE
 XXXX BUILT $FINGERPRINT~NODENAME,$FINGERPRINT~nodetwotwo2,$F
 XXXX BUILT $FINGERPRINT~NODENAME,$FINGERPRINT~node11,$FINGER
 XXXX BUILT $FINGERPRINT~NODENAME,$FINGERPRINT~nodethree1,$FI
 XXXX BUILT $FINGERPRINT~NODENAME,$FINGERPRINT~tnode,$FINGERP
 XXXX BUILT $FINGERPRINT~NODENAME,$FINGERPRINT~Unnamed,$FINGE
 XXXX BUILT $FINGERPRINT~NODENAME,$FINGERPRINT~anothernode,$F
 XXXX BUILT $FINGERPRINT~NODENAME,$FINGERPRINT~nodenew2,$FING
 .
 250 OK
 }}}

 Other commands which output long lines may also have this problem.

 Interestingly, contrary to `nyx`, `tor-prompt` do line splitting
 correctly.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28297>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list