From: yaom@phyast.la.asu.edu (MINGHUI YAO)
Subject: Re: Any FTP site where I can get chinese word processor software?
Organization: National Center for HREM
News-Software: VAX/VMS VNEWS 1.41    
Date: Wed, 14 Oct 1992 05:42:00 GMT
X-Posted-From: phyast.la.asu.edu
NNTP-Posting-Host: sol.ctr.columbia.edu



                            HXWZ FTP Help

Table of Contents:
-------------------------------------------------------------------------
1. What is anonymous FTP ............................................ 020
2. How to get files from anonymous FTP .............................. 031
3. What do I need to read HXWZ and Where can I get them ............. 094
4. Some common formats in anonymous FTP ............................. 178
5. How to get past issues of HXWZ ................................... 233
6. Other methods to retrieve files .................................. 260
7. Some frequently asked questions .................................. 283
-------------------------------------------------------------------------

Minghui Yao  ~{R&Cw;T~}    <yaom@csss.la.asu.edu>
4/19/1991
Last revised  7/3/1992

-------------------------------------------------------------------------
1. What is anonymous FTP?
-------------------------------------------------------------------------

FTP stands for File Transfer Protocol.  It  is a subsystem to allow user to
transfer file between two  remote  systems.    On  internet, there are many
public file servers that archive  data  files and free/shareware of various
kinds. People can login these accounts as 'anonymous' (anonymous must be in
lower case for those servers on unix systems) and retrieve files from these
'anonymous' accounts.

-------------------------------------------------------------------------
2. How to use anonymous FTP
-------------------------------------------------------------------------

Users on internet systems (such  as .edu, .ca, .gov, .se ,.ch, .fi etc) can
access anonymous  file  server  via  FTP.  Many  bitnet  nodes  are also on
internet at the same time. To  see  if you have internet access, type 'ftp'
or 'telnet' at system prompt, if you get a system message stating that your
command is wrong, then you  probably  don't  have ftp access, otherwise you
will be in ftp subsystem.

To login anonymous server on a  remote  machine, type in the following line
at your system prompt:
ftp Host name
Example: To connect to anonymous ftp at ahkcus.org, type
ftp ahkcus.org  (or ftp 192.55.187.25)
After connecting to remote system, enter
user anonymous
On some systems, user is automatically prompted. In that case, just type
anonymous
Then you will be prompted for  password.  You can enter your e-mail address
as password.

A typical ftp session looks like this:

ftp ahkcus.org        (this command connect you to ahkcus.org)
user anonymous        (login anonymous account )
anything              (enter something as pw, your user id is preferred)
dir                   (list available directories and files)
cd gb/cnd-cm          (change directory to gb/cnd-cm subdir)
binary                (specify binary mode)
get cm9201a.gb        (retrieve file cm9201a.gb in binary mode)
quit                  (quit ftp session, return to your local system)

The first command  you  use  after  login  is  usually  'dir'. You use this
command to list available directories and files. Files in anonymous ftp are
organized in different directories. For example, all GB files in ahkcus.org
are  in  gb/  directory.   Under   gb/   directory,  there  are  some  more
subdirctories, one is gb/cnd-cm/ where  CND-CM  past  issues in GB code are
archived. another is gb/poem/ where Chinese  poems  in GB are stored. cd ..
is the command that get you  up  one  level in the directory structure. For
example, if you are currently in  src/pc/  dirctory,  cd .. will let you go
back to src/.

The command to retrieve files is 'get'  or 'mget'. For example, if you want
to get CMindx91.gb of cnd-cm. type the following in gb/cnd-cm directory:
bin
get CMindx91.gb
Note that file name should be typed in exactly the same way as it is listed
in the directory. UNIX system is CASE SENSITIVE.

If the file is text(ASCII) file, you don't need to specify the transmission
mode(the default is ascii). But if the  files you are going to retrieve are
binary ones such as  .exe,  .gb,  .zip,  .tar.Z,  .gif,  you should issue a
command 'binary' before getting the file.  If  you  want to get a number of
files, you may use mget. Example:
mget src/pc/BYX/*.*
This command will get  you  all  byx  files  in src/pc/BYX/ subdirectory at
ahkcus.org.

The last command in a ftp  session  is  'quit'. It will disconnect you from
remote machine.

-------------------------------------------------------------------------
3. What do I need the to read HXWZ?
-------------------------------------------------------------------------

To read HXWZ, you need a Chinese text browser or editor. If you get HXWZ by
E-mail, you also need a uudecoder.

There are quite a lot Chinese word  processors out there for ftp. Here I am
listing SOME of them available in ahkcus.org.  You need only ONE of them to
read HXWZ.

(1)IMB PC and its compatible:

(a)BYX1.1      ( dir: src/pc/BYX/*.*    )
It supports EGA/VGA. Pinyin/GuoBiao/ASCII inputs.

(b)NJSTAR2.1   ( dir: src/pc/NJSTAR/*.* )
It is  a  shareware.  Regular  users  need  to  register.  The Chinese word
processor supports Mouse, and more than 10 input methods.EGA/VGA needed.

(c)CWP1.20     ( dir: src/pc/CWP/*.* )
It supports CGA, EGA, VGA and Herlcule graphics.

(d)VIEWGB      ( dir: src/pc/viewgb.zip )
A simple GuoBiao coded  Chinese  viewer,  works  in MS Windows3. No editing
function.

(e)C-ELVIS     ( dir: src/pc/celvis.zip )
Chinese-Elvis PC version. Support both GB and BIG5.

(f)ZWDOS       ( dir: src/zw/zwdos.zip )
One can read HZ coded HXWZ on usenet group alt.chinese.text with zwdos.  No
Chinese editor/viewer is needed.   Read/edit Chinese in rn, mail, vi, more,
EDT and other English text editor.

(g)Laser Printing Programs (dir: src/pc/hz24.zip,  src/pc/cpl-11.zip.)

Both programs work on HP laser printer. Fast.

(2)Machintosh system:

Not too many FREE Chinese Word Processor available for ftp yet. MacHanzi is
a viewer for GB and BIG5 coded Chinese text. No Chinese operating system is
needed. There  are  also  some  programs  for  Chinese  Operating System in
src/Mac/ directory.

(3)Unix system:

(a)CXTERM   (dir: src/unix/cxterm-11.5.1.tar.Z )
Chinese GB/BIG5 editor in X-win.

(b)XHZVIEW  (dir: src/unix/xhzview.2-0.tar.Z)
Chinese GB/BIG5 browser in X-win.

(c)ChiRK    (dir: src/unix/ChiRK1.1.tar.Z)
Chinese browser for unix. Works on VT240 and other TeKtonics type terminals.

(4)ATARI ST
There are two Chinese GB browsers available is src/atari/ subdirectory.

(5)Postscript conversion programs

(a)GB2PS  (dir: src/unix/gb2ps.tar.Z and src/vms/gb2ps.exe )
Convert GB coded Chinese to PostScript files.

(b)HZ2PS  (dir: src/unix/hz2ps-2.0.tar.Z )
Convert GB/BIG5 to  Postscript.  Support  horizontal and vertical printing,
page number, etc.

(7)VMS system

No public domain Chinese editor for VMS yet. src/vms/viewgb.exe is a simple
Chinese browser for VT240/VT320  on  VMS  system.  But  it is only good for
reading some short article.(The displaying is very slow.)

There are many other programs that  we  don't  have space to list here. You
are encouraged to browse  the  anonymous  ftp  and  find one that suit your
need. For usages of  listed  program,  please  read "readme" files in these
program packages. Send your  suggestions  and  questions  to the authors of
these programs directly.   The help files for various systems are available
in  listserv@uga.bitnet  (listserv@uga.uga.edu).   To get a list of files,
send command "index ccman-l" to the above address.     The command to get a
file is get 'filename'.

-------------------------------------------------------------------------
4. Some common formats in public domain
-------------------------------------------------------------------------

To save diskspace and transfer  time,    most files in anonymous ftp server
are compressed in certain way. Here are some common compression format:

(1)ZIP format

This is the most common one for  PC.    You need  unzip utility to retrieve
files. The one we provided in  ahkcus.org is pkunzip.exe. pkunzip.exe is in
the self-extracting package pk110eu.exe.  For self-extracting packages, you
don't need any utilities to unarchive them.  Just type the file name at the
DOS prompt, files in  the  package  will be extracted automatically. BYX1.1
packages in ahkcus.org are self-extracting ones.

There are also  zip/unzip  utilities  for  unix  and  vms systems. They are
available in src/unix/ and  src/vms/  at  ahkcus.org.  You  can use them to
unzip files on your mainframe machines.

(2)Unix Compressed files:

Unix compressed file has an  extension   .Z.  For example, cnd-g archive in
ahkcus.org  is  .Z  compressed.  Those   files    can  be  uncompressed  by
'uncompress' command on Unix.  .tar.Z  is  compressed unix tape archive. To
extract files from such an  archive  file, uncompress first, then untar the
 .tar file. Example:
uncompress gb2ps.tar.Z
tar xf gb2ps.tar

There are also unix compression  utilities  for vms system. compress.exe in
src/vms directory is one of them.  So you can uncompress  a unix .Z file on
a VMS system too.

(3)Compression on Mac:

Mac files in  anonymous  ftp  often  have  .sit  or  sit.hqx extensions. To
uncompress/unarchive these files, use StuffIt and Binhex. Details are given
in MacHelp in src/Mac directory at ahkcus.org.

(4)Other formats:

The other compression formats  often  seen  in  anonymous servers are .lzh,
arc, .zoo.

HXWZ uses extension .gb to  indicate  GB  coded  Chinese.  If a file has an
extension BIG or BIG5, it is BIG5 coded Chinese.

GIF stands for Graphic Interchange Format. xxxx.gif's are pictures.

All these compressed files such  as  .zip,  .Z, .lzh, .sit are binary ones.
They should be transferred in  binary  mode.  .gif and .exe are also binary
files. .hqx,.uue, and .txt are  text  files.  They  should be transfered in
ascii mode.

-------------------------------------------------------------------------
5. How to get past issues of HXWZ ?
-------------------------------------------------------------------------

HXWZ files are available  both  in  listserv  database system and anonymous
ftp. To get  the  back  issue  from  listserv,  send 'get ccman-l logyymmw'
command to listserv@uga.bitnet. Example:
get ccman-l log9201a
where ccman-l is the list name. log9201a is the log file of ccman-l for the
first week (a) in the first month (01) of 1992.
The files in listserv database  are  uuencoded(ascii), You need to uudecode
them before viewing.

If you have internet ftp  access,  you  can  use anonymous ftp. They are in
gb/cnd-cm  directory at ahkcus.org and CND-CM directory at sdsc.edu.  There  
are also  some other sites that  archive  HXWZ.  For  example,  You can get
HXWZ  back  issues  under   pub/Chinese-Files/Hua-Xia-Digest/  directory at  
grumpy.ssc.gov.  Readers in  Europe  may feel more convenient to  ftp  HXWZ
back issues from  lunix.met.kth.se  under
pub/hxwz/ directory. Files with .gb extension are binary. You DON'T need to
uudecode these files. The uuencode cnd-cm files (ascii) are also  available
in  ahkcus  /cnd-cm dir. They  are the  same as  those archived in listserv
database at uga.bitnet.

PostScript version of HXWZ is available in gb/cnd-cm/ directory.  The files
are named HXWZxxx.tar.Z.  Each issue is only kept for one week because  of
disk space limit.

-------------------------------------------------------------------------
6. Other methods to retrieve files
-------------------------------------------------------------------------

If you don't have interactive ftp  access,  you can still use anonymous ftp
via BITFTP. BITFTP is  a  mail  interface  at  pucc.bitnet to allow user to
access internet remote systems by  mail.  The commands are similar to those
in ftp. You write down all the  commands  in  a file, then mail the file to
bitftp@pucc.bitnet. BITFTP will  retrieve  the  files  for  you from remote
system and send them to you  in  requested format. For more details, send a
mail to bitftp@pucc.bitnet. The mail should contain the following line:
help  (don't write anything else except commands)

The other ftp mail server that I know of is  ftpmail@decwrl.dec.com. If you
are denied of access to bitftp, try this ftp mail server. 

To get BYX1.1, try ftp first, if  it  does not work, try bitftp. If it is
still too difficult for you, then you can send a mail to
sendme-byx@ahkcus.org.
This is a mail server set up by  Aaron of  AHKCUS. The mail subject and body
send to sendme-byx@ahkcus.org can be anything. The server will send you back
BYX1.1 and uudecoder in 9 big packages.

-------------------------------------------------------------------------
7. Frequently asked questions:
-------------------------------------------------------------------------

(1)I got a message 'xxx host unknown', what should I do?

A: Try IP(Internet Protocal) numbers. eg,
ftp 192.55.187.25

(2)I got a message 'network unreachable', what should I do?

Wait until the network is back up, or try other anonymous ftp that archive
the same files you wanted.

(3)My system does not allow the  file  name  such as gb2ps.tar.Z. How can I
get files with this kind of names to my system?

On some system(eg, VMS), xxx.tar.Z  is  not a valid filename. When fetching
these .tar.Z file, change .tar.Z to .tar_z. For example:
get HXWZ45_1.tar.Z HXWZ45_1.tar_z
The remote file  HXWZ41_1.tar.Z  will  be  saved  as HXWZ45_1.tar_z on your
local disk.

(4)I just downloaded program xxx, but when  I run it, it simply hang my PC.
What's the problem?

Most probably you forgot to use binary mode during either ftp or mainframe
to pc downloading. The file is corrupted.

(5)I got a message saying  "program  too large  for the memory"  When I run
program xxx on my PC?

Perhaps it's the same problem as in (4).

(4)Are there any other ftp servers that archive Chinese software?

Yes. There are quite a few. For example:
   blackbox.hacc.washington.edu [128.95.200.1]
   crl.nmsu.edu [128.123.1.1.4]
   cs.purdue.edu [128.10.2.1]
   ftphost.cac.washington.edu [128.95.112.1]
   hanauma.stanford.edu [36.51.0.16]
   kth.se [130.237.72.201]
   lunix.met.kth.se [130.237.16.204]

(5)Where can I get a list of  anonymous ftp sites? How can I search certain
program available on internet?

You can use Internet anonymous FTP database to get various useful info. To
access those "Archie" servers, login as archie  (by telnet or rlogin). The
following are some of archie servers:

telnet archie.mcgill.ca or [132.206.2.3] (Can./USA)
telnet archie.funet.fi  or [128.214.6.100] (Finland)
telnet archie.au        or [128.184.1.4] (Aussie/NZ)
telnet archie.ans.net   or [147.225.1.2]  (North America)
telnet archie.doc.ic.ac.uk or [146.169.3.7] (UK/Europe)

You can get help on how to use archive after login. If you know a program's
name, but don't know where it is available,   archie can help you to locate
it on interenet.

Those who don't have ftp or telnet access may send commands by mail to
archie@[one of the above addresses].

--------------------------------------------------------------------------
(1) We would like to Thank AHKCUS for hosting HXWZ archives.
(2) Please be considerate to other users and our host when ftp'ing.
    Don't use ftp heavily during prime time. Thanks!

Newsgroups: alt.chinese.text