Here is how I run it:
$ elinks news.ycombinator.com
Then:
Select story/comment : "Up" and "Down" arrows.
Open story/comment : "Enter"
Go back to previous page : "Back" arrow.
Quit : "q"I've joined github, and this will be the first thing that I put there, so check http://github.com/scottjacksonx or http://scottjackson.org/software/hnsh/ in a few days and we'll see what I did!
Oh, how I wish there was an API... I kept the HTML-getting stuff in its own class, so if HN ever adds an API, I can slot that right in there instead.
I think hnsh is a command-line app. It uses text-based input to do things based on that input -- sometimes opening other applications, and sometimes printing things to the screen.
A terminal app (or a console app), while also accessed from one's shell, is not reliant solely on the shell's command line. It can have an interface of it's own, like 'hnsh' does, or like 'qbasic' in DOS does (did?).
By these definitions, all command-line apps are a subset of terminal/console apps, and not the other way around.
Personally, I do not think the difference is pedantic, but the terms do seem to get confused and muddled together frequently.
Hacker News, all keyboard, no mouse. Let me know what you think, HN.
I'll have to head off in a while (it's just past midnight here in Australia), but I'll definitely get back to any comments I miss.
http://quandyfactory.com/projects/32/stack_trace_for_hnshpy_...
Thanks for the stack trace -- having that makes a big difference :)
I'm not sure I can make it work with an arbitrary proxy, but I'm pretty sure I could get it to work with a proxy you know the address of. Proxies aren't my strong suit, sorry. We'll see what happens!
Could you be more specific about the feature you're describing? Comments are an area I'd like to look at expanding on. I guess you mean tracking whether or not there are new comments on a story?
Ideally:
1) highlight comments that are new since the last time I viewed the comments,
2) alert me when a new comment has been added a specific thread
It might also prod pg or whoever to use better markup so you don't see "[greyarrow]" as link text instead of "upvote".
(totally legitimate question, btw -- I'm interested in this stuff.)
w3m http://news.ycombinator.com
image: http://bayimg.com/DAGbdAACJ
shortcuts: H : Help
TAB: Move to the next link
ENTER: Go to the current link
B: Go to the previous link
move around the text: hjkl
You can use the mouse of course.Good job scott! (nice name by the way)