This is an unsupported port of the Internet Gopher Curses Client. The gopher client was ported to DOS and PC/TCP by the Steven E. Newton of the University of Texas Health Science Center Office of Academic Computing. The Lan Workplace and PC-NFS versions were done by Stan Barber of Baylor College of Medicine. You may send email to gopher@oac.hsc.uth.tmc.edu for questions or bug reports. The WATTCP version was done by Wayne Buttles who can be contacted at lynx-help@wsb.champlain.edu. Internet Gopher Curses Client University of Minnesota University of Texas Houston - Health Science Center WATTCP Version I. Overview of the Internet Gopher Curses Client. The Internet Gopher is a distributed document delivery service. It allows a neophyte user to access various types of data residing on multiple hosts in a seamless fashion. This is accomplished by presenting the user a hierarchical arrangement of documents and by using a client-server communications model. The Internet Gopher Curses Client allows a user on a terminal to access the vast array of information available on various gopher servers. II. Installing Gopher Copy GOPHER.EXE, _GOPHER.RC and GOPHER.HLP to any directory together. The program expects to find its help and rc files in the same directory as the executable. You will need a WORKING WATTCP.CFG (a working DOSLYNX.CFG copied to WATTCP.CFG should suffice). You will also need a working packet driver interface (Basically, you should be able to run DOSLYNX or BOBCAT). III. Using Gopher To use the gopher just type "gopher -b". This will start the client with the bookmark file as the home document. You can aim the Gopher client at an alternative server if you wish. Just give the parameters on the command line like this: gopher cwis.uth.tmc.edu 70 There are several options available. The '-s' option flag disables saving and printing in the client. This is quite useful for gopher clients that are publicly accessable. The '-p path' flag specifies the initial directory path for the initial server. The '-t title' flag replaces the default initial title with the one specified on the command line. The '-b' flag starts ugopher up with the bookmark list as the first menu. The following commands are available in the browsing mode. l View current item. Move to a line #. k C-p Move pointer up. j C-n Move pointer down. > Previous Page. < Next Page. h u Go up a level. / Search current menu for a string. n Find next search item. a Add Item to bookmarks A Add this Menu to bookmarks v View bookmarks B Show build date d Delete current bookmarks item m Go to the first screen. Q Exit Internet Gopher. O Change Gopher Options. ! Shell to DOS (unless in Secure Mode) ? This help screen. Note that the hjkl grouping is backup/down/up/forward. Each object can be identified by it's "extension" / Item is a directory. . Item is a text file. Item is a search index. Item is a CSO phone book. Item is a telnet session. Item is a GIF file. Item is an image. Item is a MIME message. <) Item is a sound (looks like a speaker) Notes on the DOS {PC/TCP,WATTCP} port: The Internet Gopher program is copyright (C) 1991, 1992 University of Minnesota Microcomputer Workstations and Networks Center. This port is essentially true to the unix curses version. A curses emulation for DOS by Bjorn Larsson was used, with a bit of tweaking to make it properly recognize screens with more than the normal 24 lines if you have EGA or better. The sound option is enabled, but not set to anything. If you have utilities to play sounds on your PC you may use them. In addition, support for getting and viewing image files has been added. The image viewer can be set in the options screen. During my work porting v. 0.9 to DOS, the folks at Minnesota release v 1.0. Of the changes included in that release, I implemented these: You can use environment variables to set up the various commands. PAGER - text file browser. PLAYER - audio player. VIEWER - image viewer. MAILER - mail command. TELNET - telnet command. TN3270 - 3270 emulator command. MIMECMD - MIME pager (Multipurpose Internet Mail Extensions) These are all optional, you may use the defaults or set them with the options screen in ugopher. Two environment variables can be set to tell ugopher where to put certain files: TEMP or TMP - gopher with write temporary files here. If not set gopher will use whatever the current directory is. HOME - gopher will look for and write its config file, _gopher.rc, in this directory if set, otherwise the file resides in the directory the executable is in. That is, if ugopher.exe is in C:\DWSNET, _gopher.rc will be there, too. Again, these are both optional gopher will work fine if they are not set. User can now escape from the Telnet/TN3270 connection screen. Client now does nifty twirl output to let you know it's up to something. It currently does this for directories (one twirl per entry) and textfiles/cso searches (one twirl per 25 lines) This stuff is adapted from the panda code. Added more information on connections. It displays "connecting..." before it displays "retrieving directory..." Client beeps at you if you press the wrong keys now. The client doesn't redisplay the menu when an invalid key is pressed. Added fix from John Sellens that allows the user to escape from a CSO query. Made the interface more consistent. Pressing 'l' will let you enter into an item (just like return and the right arrow..) Pressing 'h' will go up a level. (Glenn F. Leavell). Changes from 1.00 to 1.01, August 11, 1993: Changed Mygetstr() to allow entering characters > ASCII 127. This is only applicable to international users. Changes from 0.96 to 1.00, August 1, 1993: Pointer now wraps from last/first and vice versa. Can use Control-G or ESCape to cancel searches, saves and stuff. Saves the PAGER command in the _gopher.rc file. Support for ISO 8859-1 to IBM default character set. BOOKMARKS! Changes from v0.95 to v0.96, August 23, 1992: Allow for Saving of configuration using _gopher.rc in either the same directory as the executable or $HOME if set. Make tmpfiles that don't step on each other -- allow for multiple instances running from the same disk. Temporary files will be put in the directory specified by TEMP or TMP one exists. Next will use any TMPdir found in _gopher.rc. Otherwise files will be created in the current directory. GOPHERHELP expected to be in the directory the executable is in instead of the current directory. Fixed bug where sometimes builtin pager skips past the quit/mail/save prompt. Made sure install.bat puts gopher.hlp and gopher.pif in c:\dwsnet Fixed controlc() so that the right filename is removed (usually). Improved performance in return of item listings and text files by implementing read ahead buffering of data from the net. Last file name used to save a file was showing up as email address to mail to -- file name is zeroed out now, email address is kept. Changes September 29, 1992 Support for Multimedia Internet Mail Extension files has been added. Support for the IMAGE type, treated identically to GIF. Support for TN3270. Typing '!' will shell to DOS unless you are running in Secure Mode. Can now search the directory entries -- use '/' for the first search, then 'n' for more of the same (like in vi). ----