browse revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
# the next line restarts using wish \
exec wish "$0" "$@"
# browse --
# This script generates a directory browser, which lists the working
# directory and allows you to open files or subdirectories by
# double-clicking.
#
# SCCS: @(#) browse 1.8 96/02/16 10:49:18
# Create a scrollbar on the right side of the main window and a listbox
# on the left side.
# The procedure below is invoked to open a browser on a given file; if the
# file is a directory then another instance of this program is invoked; if
# the file is a regular file then the Mx editor is invoked to display
# the file.
if [file isdirectory $file] {
} else {
} else {
}
} else {
}
}
}
# Fill the listbox with a list of all the files in the directory (run
# the "ls" command to get that information).
}
# Set up bindings for the browser.