Introduction

You can surf the web with the text-based retawq web browser. Text-based means you will not see any graphics. That is a great feature, because it means you will not see any graphical ads while surfing the web :)

Remember the DS has only 4MB of RAM, so some larger pages may crash the browser.

This section assumes you have already successfully connected to your wireless network.

To run the web browser type:

 retawq

Or to have retawq open a web site (e.g. dslinux.org) when it starts up type:

 retawq www.dslinux.org 

This browser intentionally keeps all visited pages in memory as long as they are "referenced", i.e. used in a window. To drop these references and free the memory, close the window with the keyboard command "C". If you have a sequence of pages in a window, you can alternatively use the keyboard command "N" to open a new window which contains only the current page, then close the old window to get rid of all the other pages.

Basic commands

Commands for surfing

Commands for window handling

Informational commands

Run time configuration options

You can create a configuration file to set things like: homepage, search engine, bookmarks, etc. This file must be called 'config'. It is recommended that vi is used to format this file, to avoid formatting issues.

There are many run time configuration options. Not all options are covered here. Please see the sourceforge docmentation for more info.

Some useful options are:

Example config file:

 #This is a commented line.
 bookmarks local:/home/bookmarks.html 
 #then create bookmarks.html and place it in your home directory
 dont-confirm quit close overwrite
 home http://www.dslinux.org
 jumps 
  google www.google.com 
  dslinux www.dslinux.org
  s http://www.foo-search.com/cgi-bin/search.cgi?what=!1&matchnum=42 !1
 #  When you enter "s 'search terms'" w/keyboard command "j" retawq replaces '!1 w/ 'search terms and     
 #  opens the results of the search
  help local:/usr/local/doc/retawq/index.html 
 # Then create the help file index.html and place it in /usr/local/doc/retawq/
 keymap command
  ctrl-n document-search-next #assign a keyboard command to 'find next'
  ctrl-p document-search-previous #assign a keyboard command to 'find previous'
  ctrl-a document-top #since we don't have a home key, reassign keyboard command for home
  ctrl-e document-bottom #since we don't have an end key, reassign keyboard command for end
  ctrl-r form-reset #assign keyboard command to reset html form
  ctrl-s form-submit #assign keyboard command to submit html form
 search-engine www.google.com
 # http-cookies
 #  allow www.yahoo.com # allow cookies for yahoo.com
 #  deny * # deny everything else
 #OR
 http-cookies
  allow * # allow all cookies

Let us say that you created the config file at 'path/to/config'. To have retawq load the config file on start up, use one of the following two commands to start the browser:

 retawq --userdir=path/to

 retawq --userdir=path/to www.dslinux.org

The following keyboard commands require run-time configuration options:

More about retawq

Here is a list of links that will help you find more information about retawq:

Retawq (last edited 2008-01-22 14:02:38 by localhost)