[tor-bugs] #28300 [Core Tor/Stem]: Scrolling support for tor-prompt is needed

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 6 18:31:50 UTC 2018


#28300: Scrolling support for tor-prompt is needed
---------------------------+------------------------------
 Reporter:  wagon          |          Owner:  atagar
     Type:  enhancement    |         Status:  closed
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:  Tor: 0.3.4.8
 Severity:  Normal         |     Resolution:  wontfix
 Keywords:  tor-prompt     |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------------

Comment (by atagar):

 > In tor-prompt double Tab key suggests possible completions for commands,
 but this doesn't work in Nyx interpreter. Can it be added to Nyx too? It
 is very convenient feature.

 Thanks wagon, glad you like it! Sadly autocompletion is a feature of
 readline so I can't add it to Nyx (similar to how I can't port scrolling
 to readline). In this case it's technically possible, but it would be
 quite a bit of work.

 > Should these commands be removed from interpreter's /help GETINFO
 listing?

 Thanks! I'll look into it. The GETINFO command list comes from tor itself
 so I'll see if it includes anything saying what commands are deprecated.
 If not then this might require a tor change.

 > [err] sandbox_getaddrinfo(): Bug: (Sandbox) failed to get address
 [hostname redacted]! (on Tor 0.3.4.9 )

 Please file a ticket with the 'Core Tor / Tor' component for this one. It
 sounds like simply calling 'GETINFO address' causes its sandboxing code to
 issue a bug warning. This is either uncovering a bug on their side or this
 log message should be downgraded (ie, not err runlevel or say it's a tor
 bug).

 > There are many commands with * at the end. Does it always mean that some
 value must be substituted instead of *?

 Yup. For more information on all the commands see
 https://gitweb.torproject.org/torspec.git/tree/control-spec.txt

 > In Nyx connections window the value published is printed as information
 about selected relay. What ControlPort command Nyx uses to get its value?

 Nyx gets the published attribute from the consensus ('GETINFO
 ns/id/<fingerprint>' or 'GETINFO ns/name/<nickname>').

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


More information about the tor-bugs mailing list