/usr/share/doc/lynx/samples
NameSizeModeActions
blue-background.lss32110644editdlrm
bright-blue.lss22740644editdlrm
cernrules.txt345610644editdlrm
home.htm7430644editdlrm
installdirs.html7010644editdlrm
jumps.htm6540644editdlrm
jumpsUnix.html36860644editdlrm
jumpsVMS.html14170644editdlrm
keepviewer6060755editdlrm
lynx-demo.cfg10470644editdlrm
lynx-keymaps52490644editdlrm
lynx.com21920644editdlrm
lynx.ico51740644editdlrm
lynx.lss35810644editdlrm
lynxdump3980755editdlrm
lynx_bookmarks.htm8250644editdlrm
mailcap47720644editdlrm
mailto-form.pl94160644editdlrm
midnight.lss20600644editdlrm
mild-colors.lss18580644editdlrm
mime.types10220644editdlrm
oldlynx5180755editdlrm
opaque.lss10940644editdlrm
Edit: /usr/share/doc/lynx/samples/keepviewer (606B)
#!/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 " exit 1 fi