Computer History - Herong's Notes - Version 3.11, by Dr. Herong Yang
".names" File Example
This section provides an example of .names files used by a Gopher server to build a Gopher menu. Entries in a .names file can be local files, directories or links from other Gopher servers.
Gopher server uses an optional index file called .names to build gopher menus in each document directory. If the .names file does not exist in a directory, Gopher server will build the menu based the list of files and sub directories.
Using .names files will help Gopher server building better Gopher menus. Links to other Gopher servers can also be added in .name files. Here is an example of a .names file:
# Name=Welcome to the my Gopher server Path=./welcome.txt Type=0 Numb=10 # Name=My tutorial notes Path=./tutorials Type=1 Numb=20 # Name=Computer Papers Host=gopher.tc.umn.edu Port=70 Path=1/Computers/Papers Type=1 Numb=30 # Name=List of All Gopher Servers Host=gopher.tc.umn.edu Port=70 Path=1/Other Gopher and Information Servers Type=1 Numb=90 # Name=UofMN Lumina System (telnet) #100 Host=pubinfo.ais.umn.edu Port=23 Path= Type=8 Numb=100
Table of Contents