News for hackers. Stuff that matters.
Re:htty, the HTTP TTY by parenthesis on Tuesday September 07, 2010 @09:21AM (#1668789)
Re:htty, the HTTP TTY by telemachos on Tuesday September 07, 2010 @01:03PM (#1669392)
This is interesting, but I'm curious: what do people think are the advantages or disadvantages of using this instead of Ruby's own readline support?

(My first thought: rlwrap already exists. Add one point. A disadvantage is that rlwrap makes the readline support depend on an external, third-party program which would need to be installed separately. Subtract one?)

Re:htty, the HTTP TTY by njonsson on Tuesday September 07, 2010 @02:46PM (#1669707)
I agree. Minimizing external dependencies (with a particular focus on the OS X experience) was a guiding principle of the project.

I will probably use Ruby Readline (http://bogojoker.com/readline) to implement this. Another planned feature will likely require using Curses. It would be nice to reduce these two dependencies to one, but I'm not sure I'll start by reimplementing Ruby Readline in Curses.

Re:htty, the HTTP TTY by steve19 on Tuesday September 07, 2010 @03:41PM (#1669874)
rlwrap is useful, but it lacks command tab completion.

Typing

http://www.google.com>; co[tab]-a

is much easier than typing

http://www.google.com>; cookies-a

Re:htty, the HTTP TTY by parenthesis on Tuesday September 07, 2010 @04:41PM (#1670023)
rlwrap can do completion, given a little setting-up: http://utopia.knoware.nl/~hlub/rlwrap/rlwrap.html