home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
MM1
/
UTIL
/
ZIPDATA.LZH
/
zipcode.doc
Wrap
Text File
|
1995-01-13
|
4KB
|
99 lines
ZipCode Version 1.0
(c) January 1995 by
Joel Mathew Hegberg
ZipCode is a simple utility to quickly look up a person's city and state
given their US Postal zip-code. There are currently two flavors of
ZipCode... one for all OS-9/68000 systems (using termcap), and one for
K-Windows based systems. They both work identically, only the K-Windows
version is a little more flashy.
Before you can use this utility, you must place the (massively large)
zipcodes.txt file in your /dd/SYS directory so ZipCode can find it!
There are two ways you can use this utility. First, you can give it a
zip-code as an argument, and the city/state will be displayed. Like
this:
zc 60115
or
kzc 60115
The second way is giving no arguments. In this case, ZipCode runs like
an application until you exit it. Simply type in a zip-code in the
space provided and press the [ENTER] key to look up the corresponding
city/state. You can then type a new zip-code (over the current one) to
do another search. You may use the left/right arrow keys to edit the
current zip-code if you wish. If you want to clear the zip-code field,
press 'C'. To exit ZipCode, press 'Q'.
You may be confused as to what "copy" (the 'Y' key) does. There is a
Global OS-9 Clipboard proposal in the works to allow OS-9 applications
to share information between one another. ZipCode is compliant with
this proposal. Copy merely copies the city/state information to the
Global OS-9 Clipboard, from which you can paste it into a document (or
whatever) from another OS-9 application which is complaint with the
clipboard proposal.
Finally, some necessary notes regarding this software, source code, and
the zipcodes.txt data file.
ZipCode was written by Joel Mathew Hegberg, (c) January 1995. Both
versions of the utility (zc and kzc) are released to the public domain
for the good of the OS-9 community at large. They may not be sold for
profit. If you wish to include the software for free with another
product, please contact the author via email at "JoelHegberg@delphi.com"
and obtain permission first.
The source code for the termcap version of ZipCode (zc) is also released
to the public domain for educational purposes. To avoid confusion, no
one may not release modified versions of the source code under the name
"ZipCode". If you want to release a modified variation of this utility,
please select a different name.
The 'zipcodes.txt' data file was dug up on the net. Below, please find
the "readme" file which was attached to the file when I found it.
Unfortunately, I do not know who the person is who wrote the "readme"
file.
Best wishes,
Joel Mathew Hegberg
===========================================================
file: zipcodes.readme
===========================================================
This was uploaded last year by myself. Since then I have added a few
new zip codes and have converted the cities to upper and lower case
instead of all caps as in the original copy.
Below is what was originally attached to the zip code file. All credit
is due to the below. I assume NO CREDIT at all! (Or blame)
---------
The zip code file was prepared by Brian Chaumer. He was kind enough to
copy the file from the Master tape distributed by the US Postal Service,
and send it to me. In return for this great favor, I have researched
the copyright status, and obtained permission from the Postal Service to
upload the file to CIS. It is current as of Feb. 1988. There only
restriction is that it cannot be sold, but must be distributed freely.
This only applies to the master file. There is no restriction with what
you do with the data once you include it in a database.
The file is a tab delimited text file. It can be easily imported into
any database or file management software. It consists of 3 fields in
the following order - the zip code, the two letter state code, and the
city. The city names and state codes are all uppercase.
I hope you get some benefit from the file. I know that several of my
potential customers were very excited when I told them that they would
hardly ever have to type in a city and state, and if they did, it would
only be once.