Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Xgopher1.3 and FTP Directories

0 views
Skip to first unread message

Gilles Deniaud

unread,
Dec 23, 1993, 9:08:35 AM12/23/93
to

I'am using the gopher 1.3 client to look at FTP directories containing different
types of files (.shar.Z, .ps.Z, .txt.Z...).

For example, I have in my gopher window :

INDEX
<bin> netfone.shar


But, the real file is :

Gopher Item Information
-----------------------

Name: 'netfone.shar'
Type: 9 (binary file)

Host: 'gopher.inria.fr'
(Computer where information is maintained)
Port: 70
(Network connection port)

Path: '9/.ftp/network/multimedia/netfone.shar.Z'
(Tells host where to find the information)


I've lost the .Z extention and I really don't know Why !!!


My extention in the config file for the Gopher1.12S server is :

# Map filename extensions to gopher-types
#
# Format is
# "extension <case insensitive filename ender> <gophertype> <pfx> <gopher+type>
#

ext: .hqx 4 0 HQX

ext: .gif I 9 image/gif
ext: .pcx I 9 image/pcx
ext: .pict I 9 image/PICT
ext: .tiff I 9 image/TIFF
ext: .jpg I 9 image/JPEG
#
ext: .au s s audio/basic
ext: .snd s s audio/basic
ext: .html h GET /h WWW
ext: .src 7 waissrc: application/WAIS

ext: .tar.Z 9 9 TARZ
ext: .Z 9 9 Z
ext: .shar.Z 9 9 SHELLZ
ext: .gz 9 9 GZIP
ext: .zoo 5 9 Zoo
ext: .arc 5 9 Arc
ext: .lzh 5 9 Lharc
ext: .exe 5 9 PC_executable
ext: .ps 0 0 application/postscript
ext: .ps.Z 9 9 application/postscriptZ
ext: .shar 9 9 SHELL
ext: .txt.Z 9 9 textZ
ext: .mindex 7 mindex: Index/fanout


How can I do to see the complete extention ???

So, that's all... Does anybody have an idea ?


Thanks in advance.


Logan Joshua Ratner

unread,
Dec 23, 1993, 3:49:08 PM12/23/93
to
In article <2fc8p3$p...@news-rocq.inria.fr> den...@cartoon.inria.fr (Gilles Deniaud) writes:
>
>I'am using the gopher 1.3 client to look at FTP directories containing different
>types of files (.shar.Z, .ps.Z, .txt.Z...).
>
> Gopher Item Information
> -----------------------
>
>Name: 'netfone.shar'
>Type: 9 (binary file)
>
>Host: 'gopher.inria.fr'
> (Computer where information is maintained)
>Port: 70
> (Network connection port)
>
>Path: '9/.ftp/network/multimedia/netfone.shar.Z'
> (Tells host where to find the information)
>
>
>I've lost the .Z extention and I really don't know Why !!!
>How can I do to see the complete extention ???
>
You can't. The fault is not with your client, the server
you are connecting to is removing the .Z extention, and, in
most cases ZCAT'ing the file for you too.

This feature is hard-coded into the server, (at least in Gopher,
I don't know about Gopher+) and can only be overridden by the
administrator through .caps files (or by hacking the code and
recompiling.)

Note that .tar.Z is an exception to this, the software specifically
treats .tar.Z special by *not* dropping the extention nor ZCAT'ing.

If your just cruising through the net with your client, there's
nothing to be done about it.

So, that's all... Does anybody have an idea ?
>Thanks in advance.

--ratner

0 new messages