Showing posts with label web browser. Show all posts
Showing posts with label web browser. Show all posts

Command line web browser in Linux

Lynx is a command line web browser used in many platform other than Linux. Current versions of Lynx run on Unix, VMS, Windows 95/NT, 386DOS and OS/2 EMX. It also support other protocol other than http such as Gopher, FTP, WAIS, and NNTP servers.


In the beginning, Lynx was developed by University of Kansas to distribute campus information. Later, Lynx has been added a feature to browse the Internet by a student named Lou Montulli, and it was released in March 1993.


Here is an example of using Lynx to open a website in the Internet:


luzar@ubuntu:~$ lynx http://computer-help-tips.blogspot.com.com

Here is a screenshot of Lynx opened a website in the Internet:



Use Lynx to open Google search engine:


luzar@ubuntu:~$ lynx -accept_all_cookies http://www.google.com

This is a Google search engine screenshot when open with Lynx:


Ubuntu lynx installation guide

Lynx is a web browser in command line terminal. That means, even in the Ubuntu command line terminal, you can still surf internet and view websites. Lynx is not installed by default during Ubuntu installation. You need to manually install lynx using apt-get install or aptitude install.




Here is an example of lynx installation using apt-get install lynx command:




luzar@ubuntu:~$ sudo apt-get install lynx

[sudo] password for luzar:

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following NEW packages will be installed:

lynx

0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.

Need to get 1168kB of archives.

After this operation, 4997kB of additional disk space will be used.

Get:1 http://us.archive.ubuntu.com hardy/main lynx 2.8.6-2ubuntu2 [1168kB]

Get:2 http://us.archive.ubuntu.com hardy/main lynx 2.8.6-2ubuntu2 [1168kB]

Get:3 http://us.archive.ubuntu.com hardy/main lynx 2.8.6-2ubuntu2 [1168kB]

Get:4 http://us.archive.ubuntu.com hardy/main lynx 2.8.6-2ubuntu2 [1168kB]

Get:5 http://us.archive.ubuntu.com hardy/main lynx 2.8.6-2ubuntu2 [1168kB]

Get:6 http://us.archive.ubuntu.com hardy/main lynx 2.8.6-2ubuntu2 [1168kB]

Get:7 http://us.archive.ubuntu.com hardy/main lynx 2.8.6-2ubuntu2 [1168kB]

Fetched 143kB in 30min22s (79B/s)

Selecting previously deselected package lynx.

(Reading database ... 28836 files and directories currently installed.)

Unpacking lynx (from .../lynx_2.8.6-2ubuntu2_i386.deb) ...

Setting up lynx (2.8.6-2ubuntu2) ...

luzar@ubuntu:~$




That's all. Now we've got Lynx installed in our system.

Internet Explorer Browser Slowly Losing Users

According to StatCounter.com, Microsoft’s Internet Explorer is losing web browser users.
The web analytics revealed that the amount of Internet Explorer users has fallen to below 50% in the month of September. Although Internet Explorer is still the leader in the web browser market, the combined market of web browsers is now larger than Microsoft’s browser.

At one point in time, Internet Explorer controlled over 90% of the web browsing market (mostly because most Windows computers were preloaded with Internet Explorer as the web browser). However, antitrust suits filed against Microsoft in the United States and European Union forced the company to offer Windows customers a list of web browsing operating systems to choose from.

Additionally, there are more web browsers in market now that are more sophisticated than Internet Explorer and are catching the eyes of many users, such as Apple’s Safari, Google’s Chrome, and Mozilla’s Firefox.
To stay in the game, Microsoft has noted the features it’s rivals offer (but they don’t) and rolled it into their latest version of product, Internet Explorer 9.

According to Aodhan Cullen, StatCounter’s CEO, “Just two years ago IE dominated the worldwide market with 67%.”

Source: Concept News

Microsoft offers web browser choice to IE users

Millions of European Internet Explorer (IE) users will have the option to choose an alternative browser from 1 March, Microsoft has announced.

It follows a legal agreement between Microsoft and Europe's Competition Commission in December 2009.

Microsoft committed to letting Windows PC users across Europe install the web browser of their choice, rather than having Microsoft IE as a default.

Figures suggest that over half the world's internet users have IE.

Testing for the update is already underway in the UK, Belgium and France.

The software update choice will arrive automatically for Windows XP, Windows Vista and Windows 7 customers, according to a blog post by Dave Heiner, Microsoft's vice president and deputy general counsel.

The blog also contains screen grabs of the message as it will appear.

"Users who get the choice screen will be free to choose any browser or stick with the browser they have, as they prefer," wrote Mr Heiner.

Google Chrome, Firefox, Safari and Opera are among the alternative browsers that people will be offered.

"Millions of people who have never really thought about which browser to use will now be forced to make a choice," said BBC technology correspondent Rory Cellan-Jones on his blog.

"That presents Microsoft's rivals with a unique marketing opportunity."

Mozilla Foundation chair Mitchell Baker described the news as "an important milestone towards helping people take control of their online lives."

Ubuntu w3m web browser tutorial

Ubuntu server default web browser is w3m. You may already know that Ubuntu server didn't come with x-window, that means no gnome or kde. So as you have guess, w3m is a text-based web browser. And when I said w3m is a default Ubuntu web browser, that means it's already in the system when you finished installed Ubuntu server.
Other than being a web browser, w3m also capable of viewing a text file or a local html file. That means w3m can be a pager too such as less or more command. Let's look at w3m syntax.

Syntax:
usage: w3m [options] [URL or filename]

The options is optional. To view a webpage, you just type w3m www.website.com. Here is a screenshot example of a google search engine opened using w3m:


To quit w3m, press q:

Do you want to exit w3m? (y/n)

Answer n to quit w3m.
Below are options available to use with w3m. You can view w3m options with w3m -help command.


luzar@ubuntu:~$ w3m -help
w3m version w3m/0.5.2, options lang=en,m17n,image,color,ansi-color,mouse,gpm,menu,cookie,ssl,ssl-verify,
external-uri-loader,w3mmailer,nntp,gopher,ipv6,alarm,mark,migemo
usage: w3m [options] [URL or filename]
options:
-t tab set tab width
-r ignore backspace effect
-l line # of preserved line (default 10000)
-I charset document charset
-O charset display/output charset
-B load bookmark
-bookmark file specify bookmark file
-T type specify content-type
-m internet message mode
-v visual startup mode
-M monochrome display
-N open URL of command line on each new tab
-F automatically render frame
-cols width specify column width (used with -dump)
-ppc count specify the number of pixels per character (4.0...32.0)
-ppl count specify the number of pixels per line (4.0...64.0)
-dump dump formatted page into stdout
-dump_head dump response of HEAD request into stdout
-dump_source dump page source into stdout
-dump_both dump HEAD and source into stdout
-dump_extra dump HEAD, source, and extra information into stdout
-post file use POST method with file content
-header string insert string as a header
+ goto line
-num show line number
-no-proxy don't use proxy
-4 IPv4 only (-o dns_order=4)
-6 IPv6 only (-o dns_order=6)
-no-mouse don't use mouse
-cookie use cookie (-no-cookie: don't use cookie)
-pauth user:pass proxy authentication
-graph use graphic character
-no-graph don't use graphic character
-s squeeze multiple blank lines
-W toggle wrap search mode
-X don't use termcap init/deinit
-title[=TERM] set buffer name to terminal title string
-o opt=value assign value to config option
-show-option print all config options
-config file specify config file
-help print this usage message
-version print w3m version
-reqlog write request logfile
-debug DO NOT USE
luzar@ubuntu:~$