home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boldly Go Collection
/
version40.iso
/
TS
/
25D
/
TSNR2.ZIP
/
IBM2TTY.TAB
< prev
next >
Wrap
Text File
|
1992-02-08
|
3KB
|
201 lines
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; IBM2TTY.TAB
;
; This file is a table for Turbo Search And Replace that converts text
; utilizing the upper IBM characters to a format used in older TTY like
; printers.
;
; Requirements: The target printer is assumed to allow backspacing and
; overtyping. This method is used to implement the
; foreign language characters.
;
; Restrictions: This file translates all line draw characters to lower
; ASCII characters (i.e. +-|). Double line and single line
; are converted to be the same lower ASCII characters.
;
; Other graphics characters are deleted from the input
; file.
;
; Control characters (i.e. < ASCII 32) are also removed
; from the input file.
;
; Note that this file can also be implemented as a one-one table
;
; Copyright (c)1990, Curtis Little
; All Rights Reserved
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
\0= ; Specify we want the lower ASCII characters
\1= ; (less than CHR(32)) to be deleted. This
\2= ; causes the control characters to be
\3= ; deleted.
\4=
\5=
\6=
\7=
\8=
\9=
\10=
\11=
\12=
\13=
\14=
\15=
\16=
\17=
\18=
\19=
\20=
\21=
\22=
\23=
\24=
\25=
\26=
\27=
\28=
\29=
\30=
\31=
;
; We don't specify a translation for characters 32 - 126 (i.e. ' ' to
; '~'). This causes Turbo SNR to leave them alone.
;
\127= ; Now insert normal ASCII letters if we
\128=C\b, ; can't imitate the real letter, otherwise
\129=u ; use backspace magic to imitate.
\130=e\b'
\131=a\b^
\132=a
\133=a\b`
\134=a
\135=c\b,
\136=e\b^
\137=e
\138=e\b`
\139=i
\140i\b^
\141=i\b`
\142=A
\143=A
\144=E\b'
\145=ae ;two chars is the closest we can come to imitate
\146=AE
\147=o\b^
\148=o
\149=o\b`
\150=u\b^
\151=u\b`
\152=y
\153=O
\154=U
\155=C\b|
\156=L\b-
\157=Y\b\=
\158=Pt
\159=f
\160=a\b'
\161=i\b'
\162=o\b'
\163=u\b'
\164=n\b~
\165=N\b~
\166=a\b_
\167=o\b_
\168=? ;can't even imitate this one ¿ so turn it
\169=+
\170=+
\171=1/2
\172=1/4
\173=! ;turn this one over also ¡ (can't imitate)
\174=<<
\175=>>
;
; Now delete the graphics characters and remap all line drawing characters
; to the lower ASCII (best we can do equivalents)
;
\176=
\177=
\178=
\179=|
\180=+
\181=+
\182=+
\183=+
\184=+
\185=+
\186=|
\187=+
\188=+
\189=+
\190=+
\191=+
\192=+
\193=+
\194=+
\195=+
\196=-
\197=+
\198=+
\199=+
\200=+
\201=+
\202=+
\203=+
\204=+
\205=\=
\206=+
\207=+
\208=+
\209=+
\210=+
\211=+
\212=+
\213=+
\214=+
\215=+
\216=+
\217=+
\218=+
\219=
\220=
\221=
\222=
\223=
\224=
\225=
\226=
\227=
\228=
\229=
\230=
\231=
\232=o\b|
\233=O\b-
\234=
\235=
\236=oo
\237=O\b/
\238=C\b-
\239=
\240=\=\b_
\241=+\b_
\242=>\b_
\243=<\b_
\244=
\245=
\246=
\247=
\248=
\249=
\250=
\251=
\252=n
\253=
\254=
\255=