home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
comm
/
term33in.lha
/
Documentation
/
XPR_Libs
/
xprascii.doc
next >
Wrap
Text File
|
1993-02-13
|
5KB
|
163 lines
xprascii.library -- version 2.3
This is an XPR 2.0 implementation of the ASCII protocol.
based on xprascii.library 0.9 by W.G.J. Langeveld
Source code modifications and additions needed for XPR are:
Copyright ©1992 Ueli Kaufmann, All Rights Reserved.
This software is provided "AS IS" without warranty of any kind, either
expressed or implied, with respect to the programs described herein, their
quality, performance, or fitness for any particular purpose.
In no event will the author(s) be liable for direct, indirect, incidental,
or consequential damages.
redistribution of this software is permitted, provided that:
1. all files are included, and in their original form.
2. if included with a particular product (commercial or
otherwise), proper credit is given to the authors in that
product's documentation.
By using or distributing this software, you agree to understand and accept
the above.
There's nothing really fancy about it..(-:
Configurable options are:
`char delay'
`line delay'
`line-feed translation',
`carriage-return translation',
`uuencode/uudecode files'
`delete received uudecoded files'
`expand blank lines',
`prompt char'
`strip high bit'
(C)har delay: C<ticks>
-------------
A numeric value in ticks (1 tick = 20msecs) which causes XPr-ASCII
to wait (also called "pacing") before transmitting each character.
Values between zero and 500 (10 secs) are valid.
(default: 0).
(L)ine delay: L<ticks>
-------------
Milliseconds to wait between the transmission of each line
of text. The same limits of the character delay option
described in the previous section apply here.
(default: 0)
Carriage-(R)eturn translation: R<n|s|x|a>
------------------------------
The three options available determine how an incoming carriage
return is to be handled. You can either do nothing via the
(N)one option, (S)trip it, e(X)change for a linefeed <LF>,
or (A)dd a linefeed <LF> character to it.
(default: "None")
Line-(F)eed translation: F<n|s|x|a>
------------------------
Like the CR transl. feature described in the paragraph above, you
can also select how an incoming linefeed <LF> character is to be
translated. As above, you can leave it alone (None), (S)trip it,
e(X)change for a <CR> or (A)dd a carriage return <CR> character to it.
(default: "None")
(U)uencode/decode file when sending/receiving: U<0|1>
----------------------------------------------
XPr-Ascii gives you the chance to uuencode binary-files `on the fly'
when they are sent. It's possible to uudecode files after receiving, too.
(default: off)
* `forwarded' from UUCode.doc/UU3722.lha by Klaus Alexander Seistrup
*
* FUNCTION
* These programs/functions are primarily for use with electronic
* mail systems such as FidoNet and UUCP.
*
* UUEncode sort of encrypts a program so that the output will only
* contain printable characters, thus allowing you to post a binary
* file in a message area.
*
* UUDecode does the opposite thing: it decrypts an UUEncode'd ASCII
* file into its binary origin. It is *NOT* necessary to cut out the
* UUEncode'd part of a message in order to decode it - just pass the
* whole msg to UUDecode.
*
* Please note that UUEncode doesn't perform any kind of compression!
* In fact, any UUEncode'd file will be *at least* one third bigger
* than the original file, due to the loss of information by convert-
* ing the file to ASCII.
*
* Please also note that not all moderators welcome UUEncode't files
* and remember that a lot of people will be paying money for down-
* loading your messages - so use it with care, huh? :-)
* The encode file has an ordinary text form and can be edited
* by any text editor to change the mode or remote name.
*
* This version of uuencode automatically adds checksums to
* each line, and an overall file size to the end. Old ver-
* sions of uudecode will ignore this extra information, new
* versions will check it and complain if it is in error.
(D)elete uudecoded file: D<0|1>
------------------------
Delete received uuencoded ascii-file after uudecoding.
(default: off)
(S)trip high bit: S<0|1>
-----------------
Use this option if you want the high bit of each character
reset that is received when using 8N1.
(default: off)
(E)xpand blanks: E<0|1>
----------------
When this feature is selected, XPr-ASCII will send one space
character for lines which contain only an end-of-line
character. Use this option when the on-line text editor
you're using exits its input mode whenever a carriage return
is received without any text preceding it.
(default: on).
(P)rompt char: P<char>
--------------
Instructs XPr-ASCII to wait for a specific character after
transmitting a line of text. If blank, text is sent continuously
without interruption for the duration of the transfer.
special chars are:
\0 = null (prompt-char option is disabled)
\n = newline (ASCII 10)
\r = carriage return (ASCII 13)
\\ = backslash (ASCII 47)
\dNNN = Any decimal ASCII-value fe: \27 Escape (ASCII 27)
(default: null {=\0}).
Send bug-reps, gifts, flames etc. to:
Ueli Kaufmann
uucp: Ueli_Kaufmann@augs1.adsp.sub.org
znet: U.KAUFMANN@LINK-CH1.ZER
fido: 2:802/810.0 Ueli Kaufmann