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

ascii 2 html

0 views
Skip to first unread message

Meir Bar-Ilan

unread,
Jan 25, 1996, 3:00:00 AM1/25/96
to HTML, group
Hi,
Could one of the pros will tell me how should I present a cupture sceen
in DOS where ther are line-tables like ==== or ---- or + and so on.
If you put such a screen in html with <pre> it changes into some
IIIIII or some ugly strings.
Meir Bar-Ilan
bar-Ilan University
Israel
http://www.biu.ac.il/~barilm/home.html


Meir Bar-Ilan

unread,
Jan 25, 1996, 3:00:00 AM1/25/96
to HTML, group

Meir Bar-Ilan

unread,
Jan 25, 1996, 3:00:00 AM1/25/96
to iona...@mv.mv.com
Please forward my letter to the whole group.
And another favor: send me the address of the listserv of HTML group

Partl

unread,
Jan 26, 1996, 3:00:00 AM1/26/96
to
Meir Bar-Ilan (bar...@ashur.cc.biu.ac.il) wrote:
> Could one of the pros will tell me how should I present a cupture sceen
> in DOS where ther are line-tables like ==== or ---- or + and so on.
> If you put such a screen in html with <pre> it changes into some
> IIIIII or some ugly strings.

This is because these are special "non-printing" codes that
are part of the DOS character set only, but not of the ISO-Latin
character set used in the WWW.

--
Hubert Partl pa...@mail.boku.ac.at
ZID BOKU Wien http://www.boku.ac.at/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if ( music == food(love) ) then; play on; endif; /* night[12] */

Filip M Gieszczykiewicz

unread,
Jan 29, 1996, 3:00:00 AM1/29/96
to
In Article '<4eaarj$i...@mail.boku.ac.at>', through puissant locution, 'pa...@hp01.boku.ac.at' soliloquized:

>Meir Bar-Ilan (bar...@ashur.cc.biu.ac.il) wrote:
>> Could one of the pros will tell me how should I present a cupture sceen
>> in DOS where ther are line-tables like ==== or ---- or + and so on.
>> If you put such a screen in html with <pre> it changes into some
>> IIIIII or some ugly strings.
>
>This is because these are special "non-printing" codes that
>are part of the DOS character set only, but not of the ISO-Latin
>character set used in the WWW.

Greetings. Feel free to hack on this hack I whipped up to
convert some PC8 (extended character) IC chip pinouts
dbase into stripped-ASCII text... funky corners become "+"es
etc.

See where this was needed at URL:
http://www.paranoia.com/~filipg/HTML/LINK/GIICM/F_GIICM.html

Here's the C code... uuencoded because the PC8 chars are
embedded in the source - bite me!

-----------------chop-with-axe----------------chop-with-axe---------------------
begin 644 giicmT.c
<uuencoded_portion_removed>
K9G!R:6YT9BAS=&1O=70L(B5C(BQX;&%T95MC:%TI.PH@("!]"B!]"GT*"@D)
`
end
-----------------chop-with-axe----------------chop-with-axe---------------------

No warranty made.. NOT portable... and dumber still:

$ cat file | ./a.out > file.txt

(ie. doesn't allow params... just a dumb pipe)

Take care
--
+-->Filip "I'll buy a vowel" Gieszczykiewicz | E-mail: fil...@paranoia.com
| http://www.paranoia.com/~filipg/| Sci.Electronics, RC, Misc FAQs + MORE!
| Enjoy your job, work within the law, make lots of money : Choose any two.
| I think for myself. I listen. I make decisions. I speak what I believe.

0 new messages