www.delorie.com/gnu/docs/finger/finger_10.html   search  
 
Buy GNU books!


GNU Finger

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.3 User-defined Targets

Various special targets can be added as executable files in the directory `fingerdir/targets'. Each file name in this directory starts with a letter describing when to execute it, followed by a hyphen and the target name. The three letters are:

`l'
In response to a "long" finger; usually by typing `finger -l'.

`s'
In response to a "short" finger; usually the default if no options are given.

`x'
In response to either a "long" or "short" request.

For instance, the special-target file `x-.help' is run for either `finger .help' or `finger -l .help', whereas the special- target file `l-prices' is run only for `finger -l prices'.

The special-target file is run as super-user, and is given no input. By convention, all GNU Finger sites should support at least:

`.help'
Display message describing what features and special targets exist on this site.

`.site'
Display message describing the site. This may include such things as the company name, its address, and how to contact the system manager.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)