1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
$Id: dir.html,v 1.12 2019/04/13 17:06:26 tom Exp $
-->
<html>
<head>
<meta name="generator" content=
"HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">
<title>Directory-Browser Perl-extension for Vile</title>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
<link rel="author" href="mailto:dickey@invisible-island.net">
<link rel="SHORTCUT ICON" href="/img/icons/vile.ico" type=
"image/x-icon">
<link rel="stylesheet" href="/css/simplestyle.css" type=
"text/css">
</head>
<body>
<hr>
<a href="/">http://invisible-island.net/</a><a href=
"/vile/">vile/</a><a href="/vile/vile-toc.html">vile-toc</a><br>
<hr>
<h1 id="toplevel-toc"><a name="toplevel" id=
"toplevel">Directory-Browser Perl-extension for
Vile</a></h1>There is a directory browser extension for vile
written with the perl interface.
<h2 id="features-toc"><a name="features" id=
"features">Features</a></h2>The main features of the directory
browser are:
<ul>
<li>two panel display for separate listing of directories and
files</li>
<li>configurable color hilighting based on the type of the
file</li>
<li>recognizes broken symlinks</li>
<li>hypertext based directory traversal and file viewing</li>
<li>mime aware capabilities to view files using appropriate
applications</li>
<li>plugins extension to the mime library to allow to view
certain files within vile after passing through a vile based
perl filter routine.</li>
</ul>
<h2 id="details-toc"><a name="details" id=
"details">Details</a></h2>The package contains the following
three perl files.
<ul>
<li>directory.pl</li>
<li>mime.pl</li>
<li>plugins.pl</li>
</ul>
<p>Detailed pod documentation is contained within each file.</p>
<p>The package also contains sample files for:</p>
<ul>
<li>~/.vile/mailcap</li>
<li>~/.vile/mime.types</li>
</ul>
<h2 id="gettingstarted-toc"><a name="gettingstarted" id=
"gettingstarted">Getting Started</a></h2>To get started off
without reading the documentation:
<ol>
<li>put all the three perl files in ~/.vile/perl</li>
<li>put the sample mailcap and mime.types files in ~/.vile</li>
<li>put the following lines in your .vilerc <!--{{atr2html-->
<p style="font-family: monospace;">
<strong><font color=
"#008080">22</font></strong> <strong><font color=
"#000080">store-macro</font></strong><br>
<font color="#008000">~force</font> <strong><font color="#000080">execute-hypertext-command</font></strong><br>
<font color="#008000">~if</font> <font color="#008080">&not</font> <font color="#008080">$status</font><br>
<font color="#008000">~force</font> <strong><font color="#000080">forward-character-to-eol</font></strong><br>
<font color="#008000">~endif</font><br>
<font color=
"#008000">~endm</font><br>
<strong><font color=
"#000080">bind-key</font></strong> <strong><font color=
"#000080">execute-macro-22</font></strong> <font color=
"#800080">^M</font><br>
<strong><font color=
"#000080">perl</font></strong> <font color=
"#800080">"use directory"</font><br>
<!--atr2html}}--></p>
</li>
<li>open up vile and type <!--{{atr2html-->
<p style="font-family: monospace;">
:<strong><font color=
"#000080">directory</font></strong><br>
<!--atr2html}}--></p>
</li>
<li>Press <RETURN> on directory name to change to that
directory and on the file name to view that file.</li>
</ol>
<h2 id="credits-toc"><a name="credits" id=
"credits">Credits</a></h2>The perl directory-browser script was
written by Kuntal M Daftary in 1998. Kevin Buettner provided help
with bug-fixes.
</body>
</html>
|