Edbrowse, a Command Line Editor Browser

Edbrowse, a Command Line Editor Browser

SourceForge.net Logo Support This Project

Edbrowse is a combination editor, browser, and mail client that is 100% text based.  The interface is similar to /bin/ed, though there are many more features, such as editing multiple files simultaneously, and rendering html.  This program was originally written for blind users, but many sighted users have taken advantage of its unique scripting capabilities, which can be found nowhere else.  A batch job, or cron job, can access web pages on the internet, submit forms, and send email, with no human intervention whatsoever.  edbrowse can also tap into databases through odbc.

The original version, version 1, was written in perl.  You can download version 1.5.17 here, but it is no longer supported or documented.  It also lacks many important features that are present in the C package, such as javascript support, and the aforementioned scripting capabilities.  Still, the perl implementation has one overarching advantage; it is 100% portable.  You can run it on Unix, Linux, Windows, Dos, Mac, OS2 - anything that has perl.  So you may want to play with the perl version, as a demo, to see if you like it.  Then, at your leisure, you can download the C source and build edbrowse version 2 or 3.  Note that the config file, .ebrc, had a different syntax in the perl days, so you should check out this template.

I wrote version 2 in C, and rolled my own javascript compiler and engine from scratch - not a trivial task.  You can download version 2.2.10 as a zip archive here.

My home-grown javascript engine works, sort of, but like any language/standard, javascript evolves, and I just couldn't keep up.  In version 3, I finally got smart and used the Spider Monkey javascript engine from Mozilla.org, which is also open source.  This allowed me to leverage some 30,000 lines of code - more than everything I had written to date.  And somebody else was maintaining it!  That's the power of open source.  You can download edbrowse version 3.4.4 as a zip archive here.

Edbrowse is sometimes described as dense, in its code and in its human interface.  It contains many cryptic one and two letter commands, and few interactive help facilities.  So it is important that you read the user's guide before you take edbrowse out for a spin.  (Also available in French.)  Also view the sample config file.  Remember, this manual describes the C version of edbrowse; the perl version will be lacking in many areas.

Even the C version is a work in progress.  It does not support dynamic document objects, digest authentication, or imap, to name a few.  My time is limited, and I am always looking for developers to help me with this project.  I am particularly interested in porting the C to Windows, and support for Spanish, German, Italian, and other languages.  Please let me know if you can help.

This is intended for Unix-like platforms.  You'll need the packages pcre-devel and openssl-devel to compile this program.  If you didn't say yes to "Software Development" at time of installation, these may not be present on your system, but they should be on your master disks.  Version 3 requires SMJS from Mozilla.org.  All this is described in the README file.

If you're on a Mac, and you have development tools, the above source should compile and run.  Edbrowse is OS-X portable.  However, you will need to bring in pcre and smjs.  If you are on Leopard, you can try these binaries, which include the aforementioned libraries.  Expand the archive in the root directory.  You'll need admin permission, but you don't have to be root.

Send questions or comments to the author, Karl Dahlke.  Thank you.