diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2008-12-08 01:31:28 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2008-12-08 01:31:28 -0500 |
commit | fe7fe1904f61ce9b03d28f34640687d887cca01c (patch) | |
tree | d34e27795f9e1ac515c64f2f0e77d63534e60fd8 /samples | |
parent | 711a9d1b98ce96d750833e0782afad12c3cfb286 (diff) | |
download | lynx-snapshots-fe7fe1904f61ce9b03d28f34640687d887cca01c.tar.gz |
snapshot of project "lynx", label v2-8-7dev_10c
Diffstat (limited to 'samples')
-rwxr-xr-x | samples/keepviewer | 20 | ||||
-rw-r--r-- | samples/mime.types | 26 |
2 files changed, 0 insertions, 46 deletions
diff --git a/samples/keepviewer b/samples/keepviewer deleted file mode 100755 index f5c0b2c1..00000000 --- a/samples/keepviewer +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# This script can be invoked as a wrapper for an external viewer by lynx, e.g., -# given this line in lynx.cfg -# XLOADIMAGE_COMMAND:keepviewer xli %s & -# it will invoke xli on a hardlink to the file (which is assumed to be in the -# temporary directory created by lynx), and clean up when the viewer exits. -# -# Parameters: -# $1 is viewer -# $2 is filename -if test $# = 2 ; then - chmod 600 $2 - myfile=`echo $2 | sed -e 's@\(.*/tmp/\)\([^/]*/\)\?\(.*\)@\1my\3@'` - ln $2 $myfile || exit 1 - trap "rm -f $myfile" 0 1 2 5 15 - eval $1 $myfile -else - echo "Usage: keepviewer <viewer> <filename>" - exit 1 -fi diff --git a/samples/mime.types b/samples/mime.types deleted file mode 100644 index 6393c307..00000000 --- a/samples/mime.types +++ /dev/null @@ -1,26 +0,0 @@ -# example mime.types file. -# see the NCSA X Mosaic documentation at -# http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/extension-map.html -# for more details -# [Lynx uses mime.types mapping for ftp and local files only, -# http server does specify MIME type in the Content-Type header]. - -application/postscript ai eps ps -application/rtf rtf -application/x-tex tex -application/x-texinfo texinfo texi -application/x-troff t tr roff -audio/basic au snd -audio/x-aiff aif aiff aifc -audio/x-wav wav -image/gif gif -image/ief ief -image/jpeg jpeg jpg jpe -image/tiff tiff tif -image/x-xwindowdump xwd -text/html html -text/plain txt c cc h -video/mpeg mpeg mpg mpe -video/quicktime qt mov -video/x-msvideo avi -video/x-sgi-movie movie |