Software: Apache/2.0.54 (Fedora). PHP/5.0.4 uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/elinks-0.10.3/manual-0.82-en/ drwxr-xr-x |
Viewing file: Select action/file-type: File: links-usage-start.html, Node: Starting Links, Next: Keystrokes, Prev: Using Links, Up: Using Links 1.1 Starting Links[Version 0.82]Page Contents
1.1.1 Starting Links for the first timeWhen you run Links for the first time, the program will create a configuration file in "~/.links/.links.cfg" and you will receive a very short welcome message. If no target file was specified or found, the first screen you will see is blank. Links is not dead, just sleeping; press the <ESC> key and the Links menu will popup. 1.1.2 Starting Links from the command line
If you running Links for the first time in a xterm or rxvt with the default set to anything other than a dark background and light text, use the following command: In a console environment, or xterms set with a dark background, invoke Links with: 1.1.3 Window manager menu entrySetting up a menu entry for your X-windows window manager should not be too difficult, and a breeze if you have done it before.
In fvwm2(1) on a Debian GNU/Linux box, the following entry (in "$HOME/.fvwm2/menudefs.hook") adds a Links menu
entry to the "Apps / Net" menu subtree:
This means that when clicking on the menu entry "Links", a new xterm (sized 100x45 characters) will be invoked with the window title "Links. The WWW Text Browser" and Links will be started with the local file "~/Bookmarks/links_bookmarks.html" loaded. See your own window manager's documentation on how to setup menu entries. 1.1.4 Bash scriptIf you want to start Links with a predefined file or url, a Bash(1) script can do the job for you. There is one provided in the appendix [A.3]. Using this script will mean no more blank screen startups, but keeping the option of starting with another URL or filename. Please make sure that you edit the variables at the top of the script, as well as the $TERM variables toward the bottom. Simply copy the script to somewhere in your path, rename it to something more appropriate, and run it either with or without a file or URL argument; for example: links OR links linuxtoday.com OR links http://www.debian.org 1.1.5 Bash aliasSetting up a Bash(1) alias in "$HOME/bash_profile" is a simple way to start Links with a predefined home page. alias links="xterm -e /usr/local/bin/links $HOME/Bookmarks/links_bookmarks.html" 1.1.6 A Note on Command Line OptionsThere are several command line options available in Links, which are invoked like <path>links -<OPTIONS> [filename|URL] As all the command line options can be changed during runtime using the menu system, or in the "links.cfg" file, a detailed discussion of these parameters is in "Configuring Links" [2.1]. For convenience, here is a list of command line options that work in version 0.82, along with their default values.
-async-dns 1 (i.e. true; false = 0)
Copyright (C) 2000 Cliff Cunnington, <cliff@ccnet.demon.nl> Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0031 ]-- |