home *** CD-ROM | disk | FTP | other *** search
- For those who hate Edit as much as I do, I offer Vi. This "application"
- allows you to open files with vi(1) from the Browser. In order for this
- to work you must have Scott Hess's Stuart terminal emulator. Stuart is
- a replacement for Shell, and is Shareware, available from finer ftp
- archives everywhere.
-
- When you quit (or suspend) vi(1) the Stuart window will be closed.
-
- Some of the compilation process is borrowed from Christopher Lane's old
- Unknown application.
-
- The portions of this program (very little, in fact) that I wrote are in
- the public domain, and you may do whatever you want with them.
-
- COMPILATION
-
- In order to compile Vi, you might need to edit 3 files:
- Vi.iconheader
- Makefile
- Makefile.preamble
-
- In Vi.iconheader, add any additional file types (i.e. file extensions)
- that you want to be able to open with vi(1).
-
- In Makefile, change TIFFFILEDIR to the location where you want to
- store your file type icons. Then, add to ICONSECTIONS any file types
- you added to Vi.iconheader. Note that for any file type you have added
- to Vi.iconheader you *must* have an associated tiff file.
-
- In Makefile.preamble, change SOIL to the location where you have
- soil installed (soil is a utility program that comes with Stuart).
- Change TERMDELAY to the number of miliseconds you want Vi to wait
- between requestions from the Workspace Manager before terminating
- (see the Notes: section for app:openFile:fileType: in Vi.m).
-
- Run make install. Logout and log back in, and Viola!
-
- TIFF FILES
-
- To save space in this distribution, I'm not sending out any tiff files.
- The ones I use I got from the Unknown applicaiton distribution (or made
- them myself). If you can't find the Unknown app at any of the ftp archives
- now, let me know and I'll resubmit this distribution with some tiff files
- in it.
-
- This has only been tested under NS2.1, but I see no reason why it
- won't work under NS3.x.
-
- FUTURE
-
- 1. Once NeXT fixes IB to use a call to open(1) instead of the
- hardcoded call to openfile(1) or directly messaging Edit (I'm not
- sure that's what it's doing but it seems so) opening a header/source
- file in IB will use Vi as well. (I'm told that PB under NS3.x
- will go to the Workspace to open .[hm] files)
-
- 2. For some reason, if I include an icon for a filetype which Edit
- knows how to open, the Workspace uses Edit's icon instead of the
- one I supply. Does anyone know how to change this behavior?
-
- Paul Biron pbiron@gslis.ucla.edu (310) 825-5614
- Graduate School of Library and Information Science
- University of California, Los Angeles
- GSLIS Building
- 300 Circle Dr. North
- Los Angeles, Ca. 90024
-