Pushd/Popd shorthand - (nf)

andree at uokvax.UUCP andree at uokvax.UUCP
Tue Jan 24 14:00:13 AEST 1984


#R:sri-arpa:-1545900:uokvax:6100015:000:1216
uokvax!andree    Jan 22 06:45:00 1984

If you really want a tool for browsing -

A couple of years ago, I rewrote the Purdue help system. The result
displays the current directory [options: all files/no . files, sorted/
unsorted], and asks you to pick a file. You pick a file by name/number (You
have to pick files with numeric names by number). If the file is a
directory, it cd's to it and starts over. It checks for various magic
numbers at the beginning of files, and doesn't show you things that are
probably binary (this was a HELP system to start with - if you really want
to look a the file, you can say !cat !<filenumber>), but says "file is
<executable|archive|whatever>". It will nroff/not nroff files that start
with a ".", etc. A truly nice toy for browsing through the contens of tapes
that come in the mail. As a last touch, the directory menus were written to
stderr, whereas files were written to stdout, so "b directory | lpr" let
you browse things to the printer.

Trouble is, it was written for v6, hacked to v7, and then ported to 4.1.
Someday Real Soon Now, I'll drag it out and rewrite it to 4.2, with hooks
for 4.1/Unix V. If you're interested in copies, let me know. I'll do
something about getting them out when I fix it.

	<mike



More information about the Comp.unix mailing list