Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr1848 :: Introduction to w3m, a Command Line Web Browser

A brief introduction to using w3m, a command line web browser with tab and image support.

<< First, < Previous, , Latest >>

Thumbnail of Frank Bell
Hosted by Frank Bell on Wednesday, 2015-09-02 is flagged as Explicit and is released under a CC-BY-SA license.
web browser, text web browser, tabs. 2.
The show is available on the Internet Archive at: https://archive.org/details/hpr1848

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:15:01

general.

W3M is a text browser with image and tab support which supports both keyboard and mouse navigation. (Image support is not available in some terminals, but does work in Xterm and rxvt, but images may be opened in a external viewer)). Mouse and keyboard navigation are supported, but I recommend learning the keybindings. Keybindings are case sensitive.

The manual is 12 pages long and quite exhaustive. Here are some useful keybindings to get started with.

  • Open new tab: SHIFT-T
  • Close tab: CTRL-Q

  • Open URL: U (opens text dialog at bottom of window)
  • See URL of current page: u (displays current URL at bottom of window)
  • Close tab: CTRL Q

  • Go left one tab: {
  • Go right one tab: }

  • Back in the same page: b

  • Page Up: - (hyphen) or PG UP
  • Page Down: SPACE or PG DOWN

  • Previous page ("Buffer"): B
  • There is no "forward" button, but you can use view History: CTRL-h

  • Search in page: / (opens search dialog at bottom of window)

  • Help: H

  • Add bookmark: ESC-a
  • View bookmarks: ESC-v

  • Run shell command: # (Opens a dialog at the bottom of the window. Exit with B.)

  • Paste into dialogs (e. g., passwords): Middle mouse button.

  • Scroll left: . (period)
  • Scroll right: , (comma)


Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2015-10-01 20:00:12 by tom_len

automatize login from command line

Hi, I just discovered this tool, w3m, and I was wondering if it could be possible to access to a page that requires login and password. i need it to be done automatically from commandline (i.e I wouldnt be pressing any keys, it's a headless server). Do you know if that's possible? I would need to grab some text, but once logged in (the url once in remains the same: https://www.paket.de/pkp/appmanager/pkp/desktop?_nfpb=true&_pageLabel=pkp_portal_page_start). Thanks in advance

Comment #2 posted on 2015-10-27 19:34:17 by Frank

According to the man page, you can automatically log into a proxy. Perhaps you can bend that to your will. See the "-pauth" argument in the man page. I'm skeptical that it will do what you wish, but it's worth a shot.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
Who is the host of this show?
What does HPR mean to you?