Original Usenet thread from alt.ascii-art, started 29 May 2000.
_ _ _ _ _ _ | | | |___ ___ _ __ ___| |_ / \ _ __ ___| |__ (_)_ _____ | | | / __|/ _ \ '_ \ / _ \ __| / _ \ | '__/ __| '_ \| \ \ / / _ \ | |_| \__ \ __/ | | | __/ |_ / ___ \| | | (__| | | | |\ V / __/ \___/|___/\___|_| |_|\___|\__| /_/ \_\_| \___|_| |_|_| \_/ \___|
REQUESTED ASCII tables for the Windows 98 version of DOS
alt.ascii-art
· 28 messages · 29 May 2000 - 12 Jun 2000
Hi there, once I had the good old DOS operating system on my PC. Now I got Windows 98. The problem is that I still work a lot with DOS. The version included in Windows 98 that is. I wondered if anyone could send me the ASCII list of this version of DOS, as my old list of Dos 6.2 doesn't seem to work anymore. I need it to create bullets and lines in batch files. Thank you very much !!! Scaramanga
> The problem is that I still work a lot with DOS. The version included > in Windows 98 that is. > > I wondered if anyone could send me the ASCII list of this version of DOS, > as my old list of Dos 6.2 doesn't seem to work anymore. 032 [space] 048 0 064 @ 080 P 096 ` 112 p 033 ! 049 1 065 A 081 Q 097 a 113 q 034 " 050 2 066 B 082 R 098 b 114 r 035 # 051 3 067 C 083 S 099 c 115 s 036 $ 052 4 068 D 084 T 100 d 116 t 037 % 053 5 069 E 085 U 101 e 117 u 038 & 054 6 070 F 086 V 102 f 118 v 039 ' 055 7 071 G 087 W 103 g 119 w 040 ( 056 8 072 H 088 X 104 h 120 x 041 ) 057 9 073 I 089 Y 105 i 121 y 042 * 058 : 074 J 090 Z 106 j 122 z 043 + 059 ; 075 K 091 [ 107 k 123 { 044 , 060 < 076 L 092 \ 108 l 124 | 045 - 061 = 077 M 093 ] 109 m 125 } 046 . 062 > 078 N 094 ^ 110 n 126 ~ 047 / 063 ? 079 O 095 _ 111 o You should be able to do your ascii art on every computer, except IBM mainframes like the S/390 or AS/400, because they use "big blue special" EBCDIC :-). Andreas Krennmair
uhm, it should be greater Andreas Krennmair heeft geschreven in bericht <3932c3dd$0$814...@SSP1NO17.highway.telekom.at>... >> The problem is that I still work a lot with DOS. The version included >> in Windows 98 that is. >> >> I wondered if anyone could send me the ASCII list of this version of DOS, >> as my old list of Dos 6.2 doesn't seem to work anymore. >032 [space] 048 0 064 @ 080 P 096 ` 112 p >033 ! 049 1 065 A 081 Q 097 a 113 q >034 " 050 2 066 B 082 R 098 b 114 r >035 # 051 3 067 C 083 S 099 c 115 s >036 $ 052 4 068 D 084 T 100 d 116 t >037 % 053 5 069 E 085 U 101 e 117 u >038 & 054 6 070 F 086 V 102 f 118 v >039 ' 055 7 071 G 087 W 103 g 119 w >040 ( 056 8 072 H 088 X 104 h 120 x >041 ) 057 9 073 I 089 Y 105 i 121 y >042 * 058 : 074 J 090 Z 106 j 122 z >043 + 059 ; 075 K 091 [ 107 k 123 { >044 , 060 < 076 L 092 \ 108 l 124 | >045 - 061 = 077 M 093 ] 109 m 125 } >046 . 062 > 078 N 094 ^ 110 n 126 ~ >047 / 063 ? 079 O 095 _ 111 o > >You should be able to do your ascii art on every computer, except IBM >mainframes like the S/390 or AS/400, because they use "big blue special" >EBCDIC :-). > >Andreas Krennmair > >
> uhm, it should be greater
Nope. ASCII is a 7 bit character set, so 2^7=128, the first 32 characters
are control characters, and no. 127 shouldn't be used, either.
Because the smallest addressable unit on modern PCs is an 8 bit word (aka
byte), the msb is used for a kind of "extended character set" which is not
part of the ASCII standard.
Andreas Krennmair
On Mon, 29 May 2000 17:38:16 GMT, "Scaramanga" <sca...@zonnet.nl> provoked the following text: >Hi there, once I had the good old DOS operating system on my PC. >Now I got Windows 98. > >The problem is that I still work a lot with DOS. The version included >in Windows 98 that is. > >I wondered if anyone could send me the ASCII list of this version of DOS, >as my old list of Dos 6.2 doesn't seem to work anymore. > >I need it to create bullets and lines in batch files. > >Thank you very much !!! Try this in QBASIC: REM Skip the first 31 chars, since they only serve as control characters in DOS. FOR N = 32 TO 256 ? chr$(n); NEXT N Alternatively you can adapt the code so that it will print the whole kaboodle to your printer. -- Peter Punk \ / ---\\\\--- / \ Visit my MIDI-site at http://members.xoom.com/miditation "I gained nothing at all from Supreme Enlightenment, and for that very reason it is called Supreme Enlightenment." -- Gotama Buddha
On Tue, 30 May 2000 23:36:06 GMT ppu...@damnspam.chello.nl (Peter Punk) wrote: >On Mon, 29 May 2000 17:38:16 GMT, "Scaramanga" <sca...@zonnet.nl> provoked >the following text: > >>Hi there, once I had the good old DOS operating system on my PC. >>Now I got Windows 98. >> >>The problem is that I still work a lot with DOS. The version included >>in Windows 98 that is. >> >>I wondered if anyone could send me the ASCII list of this version of DOS, >>as my old list of Dos 6.2 doesn't seem to work anymore. >> >>I need it to create bullets and lines in batch files. >> >>Thank you very much !!! > >Try this in QBASIC: > >REM Skip the first 31 chars, since they only serve as control characters in DOS. >FOR N = 32 TO 256 >? chr$(n); >NEXT N Or this in c++: #include <iostream.h> int main() { for (int i = 32; i<128; i++) cout << (char) i; return 0; } -- ~ _ ~ . ` ' , ^~ ______ ^ >(')_, ~~ _ __, _ '.___ ; *BANG* ~ (_~_/ >(')_, ` (_~_/ >(')_, `'\ \ ^ ~^~~^~ (_~_/ ~^~~^~ (_~_/ ~~ ICQ:11367619 ~ ^~^ ~^~~^~ ~^~ ~^~~^~ email:bateau at jupiterio.net
On Wed, 31 May 2000 08:41:31 +0800, Bateau <Its...@Not-A-Real-Address.com> provoked the following text: >>>Hi there, once I had the good old DOS operating system on my PC. >>>Now I got Windows 98. >>>The problem is that I still work a lot with DOS. The version included >>>in Windows 98 that is. >>>I wondered if anyone could send me the ASCII list of this version of DOS, >>>as my old list of Dos 6.2 doesn't seem to work anymore. >>>I need it to create bullets and lines in batch files. >>>Thank you very much !!! >>Try this in QBASIC: >>REM Skip the first 31 chars, since they only serve as control characters in DOS. >>FOR N = 32 TO 256 >>? chr$(n); >>NEXT N >Or this in c++: >#include <iostream.h> >int main() >{ >for (int i = 32; i<128; i++) >cout << (char) i; >return 0; >} But not every Windows-owner has a C++ compiler :-) -- Peter Punk \ / ---\\\\--- / \ Visit my MIDI-site at http://members.xoom.com/miditation Tussman's Law: Nothing is as inevitable as a mistake whose time has come.
On Thu, 01 Jun 2000 06:37:03 +0800, Bateau <Its...@Not-A-Real-Address.com> provoked the following text: >>>>>Hi there, once I had the good old DOS operating system on my PC. >>>>>Now I got Windows 98. >>>>>The problem is that I still work a lot with DOS. The version included >>>>>in Windows 98 that is. >>>>>I wondered if anyone could send me the ASCII list of this version of DOS, >>>>>as my old list of Dos 6.2 doesn't seem to work anymore. >>>>>I need it to create bullets and lines in batch files. >>>>>Thank you very much !!! >>>>Try this in QBASIC: >>>>REM Skip the first 31 chars, since they only serve as control characters in DOS. >>>>FOR N = 32 TO 256 >>>>? chr$(n); >>>>NEXT N >>>Or this in c++: >>>#include <iostream.h> >>>int main() >>>{ >>>for (int i = 32; i<128; i++) >>>cout << (char) i; >>>return 0; >>>} >> >>But not every Windows-owner has a C++ compiler :-) >Oooh now I feel special ;P Aren't we all special? :-)) -- Peter Punk \ / ---\\\\--- / \ Visit my MIDI-site at http://members.xoom.com/miditation Formatting Universe, 0.00000000000001 percent complete.
On Wed, 31 May 2000 17:44:30 GMT ppu...@damnspam.chello.nl (Peter Punk) wrote: >On Wed, 31 May 2000 08:41:31 +0800, Bateau <Its...@Not-A-Real-Address.com> >provoked the following text: >>>>Hi there, once I had the good old DOS operating system on my PC. >>>>Now I got Windows 98. >>>>The problem is that I still work a lot with DOS. The version included >>>>in Windows 98 that is. >>>>I wondered if anyone could send me the ASCII list of this version of DOS, >>>>as my old list of Dos 6.2 doesn't seem to work anymore. >>>>I need it to create bullets and lines in batch files. >>>>Thank you very much !!! >>>Try this in QBASIC: >>>REM Skip the first 31 chars, since they only serve as control characters in DOS. >>>FOR N = 32 TO 256 >>>? chr$(n); >>>NEXT N >>Or this in c++: >>#include <iostream.h> >>int main() >>{ >>for (int i = 32; i<128; i++) >>cout << (char) i; >>return 0; >>} > >But not every Windows-owner has a C++ compiler :-) Oooh now I feel special ;P -- ~ _ ~ . ` ' , ^~ ______ ^ >(')_, ~~ _ __, _ '.___ ; *BANG* ~ (_~_/ >(')_, ` (_~_/ >(')_, `'\ \ ^ ~^~~^~ (_~_/ ~^~~^~ (_~_/ ~~ ICQ:11367619 ~ ^~^ ~^~~^~ ~^~ ~^~~^~ email:bateau at jupiterio.net
> >>But not every Windows-owner has a C++ compiler :-) > >Oooh now I feel special ;P > > Aren't we all special? :-)) Only if you have a C++ compiler on your system :)) (I have, of course). Andreas Krennmair ObASCII: --o0o-- A man trying to climb over a wall.
On Fri, 2 Jun 2000 19:31:54 +0200, "Andreas Krennmair" <a.k...@aon.at> provoked the following text: >> >>But not every Windows-owner has a C++ compiler :-) >> >Oooh now I feel special ;P >> Aren't we all special? :-)) >Only if you have a C++ compiler on your system :)) (I have, of course). Then you're more special than i :-)) But remember that you are unique, just like everyone else :-)) -- Peter Punk \ / ---\\\\--- / \ Visit my MIDI-site at http://members.xoom.com/miditation Sure I know how to copy disks. Where's the Xerox machine?
Peter Punk wrote: > > On Wed, 31 May 2000 08:41:31 +0800, Bateau <Its...@Not-A-Real-Address.com> > provoked the following text: > > >>>Hi there, once I had the good old DOS operating system on my PC. > >>>Now I got Windows 98. > >>>The problem is that I still work a lot with DOS. The version included > >>>in Windows 98 that is. > >>>I wondered if anyone could send me the ASCII list of this version of DOS, > >>>as my old list of Dos 6.2 doesn't seem to work anymore. > >>>I need it to create bullets and lines in batch files. > >>>Thank you very much !!! > >>Try this in QBASIC: > >>REM Skip the first 31 chars, since they only serve as control characters in DOS. > >>FOR N = 32 TO 256 > >>? chr$(n); > >>NEXT N > >Or this in c++: > >#include <iostream.h> > >int main() > >{ > >for (int i = 32; i<128; i++) > >cout << (char) i; > >return 0; > >} > > But not every Windows-owner has a C++ compiler :-) > -- But not every Windows-owner has QBasic or C/C++ or any other usefull programming language since its not normal to get any higher programming language like C/C++ when "buying" or buying a operating system. If still unknown: www.gnu.org ... and download a programming language of your choice legally. BTW: The C++ from GNU for Windows "owners" is named DJGPP. So every Windows-owner CAN HAVE a C++ compiler for free :-) -- o.-.o ((')) There should be at least one bear in every news group! *)v(* O-^-O Oliver Merkel
On Sat, 03 Jun 2000 00:46:01 +0200 Oliver Merkel <oli...@djh-freeweb.de> wrote: >Peter Punk wrote: >> >> On Wed, 31 May 2000 08:41:31 +0800, Bateau <Its...@Not-A-Real-Address.com> >> provoked the following text: >> >> >>>Hi there, once I had the good old DOS operating system on my PC. >> >>>Now I got Windows 98. >> >>>The problem is that I still work a lot with DOS. The version included >> >>>in Windows 98 that is. >> >>>I wondered if anyone could send me the ASCII list of this version of DOS, >> >>>as my old list of Dos 6.2 doesn't seem to work anymore. >> >>>I need it to create bullets and lines in batch files. >> >>>Thank you very much !!! >> >>Try this in QBASIC: >> >>REM Skip the first 31 chars, since they only serve as control characters in DOS. >> >>FOR N = 32 TO 256 >> >>? chr$(n); >> >>NEXT N >> >Or this in c++: >> >#include <iostream.h> >> >int main() >> >{ >> >for (int i = 32; i<128; i++) >> >cout << (char) i; >> >return 0; >> >} >> >> But not every Windows-owner has a C++ compiler :-) >> -- >But not every Windows-owner has QBasic or C/C++ or any other usefull >programming language since its not normal to get any higher programming >language like C/C++ when "buying" or buying a operating system. I got QBasic again today :P I'm going to h4x0r Akalabeth (Ultima 0). -- ~ _ ~ . ` ' , ^~ ______ ^ >(')_, ~~ _ __, _ '.___ ; *BANG* ~ (_~_/ >(')_, ` (_~_/ >(')_, `'\ \ ^ ~^~~^~ (_~_/ ~^~~^~ (_~_/ ~~ ICQ:11367619 ~ ^~^ ~^~~^~ ~^~ ~^~~^~ email:bateau at jupiterio.net
On Tue, 30 May 2000 23:36:06 GMT, ppu...@damnspam.chello.nl (Peter Punk) posted: >On Mon, 29 May 2000 17:38:16 GMT, "Scaramanga" <sca...@zonnet.nl> provoked >the following text: > >>Hi there, once I had the good old DOS operating system on my PC. >>Now I got Windows 98. >> >>The problem is that I still work a lot with DOS. The version included >>in Windows 98 that is. >> >>I wondered if anyone could send me the ASCII list of this version of DOS, >>as my old list of Dos 6.2 doesn't seem to work anymore. >> >>I need it to create bullets and lines in batch files. >> >>Thank you very much !!! > >Try this in QBASIC: > >REM Skip the first 31 chars, since they only serve as control characters in DOS. >FOR N = 32 TO 256 >? chr$(n); >NEXT N > >Alternatively you can adapt the code so that it will print the whole kaboodle to >your printer. Or, for a neater table, still in QBasic, type: chr$ and with the text cursor over it, press F1. Then, select 'ASCII Character Codes' from the bottom of the online help. They even include the control characters with what they actually are in brackets :) Kind Regards, -Martin |\/| _..__|_o._ /\_|_| o._ _ mart.atkins@-- | |(_|| |_|| | /--\|_|<|| |_> --bigfoot.com
On Wed, 31 May 2000 08:41:31 +0800, Bateau <Its...@Not-A-Real-Address.com> posted: >On Tue, 30 May 2000 23:36:06 GMT ppu...@damnspam.chello.nl (Peter Punk) >wrote: >>On Mon, 29 May 2000 17:38:16 GMT, "Scaramanga" <sca...@zonnet.nl> provoked >>the following text: >> >>>Hi there, once I had the good old DOS operating system on my PC. >>>Now I got Windows 98. >>> >>>The problem is that I still work a lot with DOS. The version included >>>in Windows 98 that is. >>> >>>I wondered if anyone could send me the ASCII list of this version of DOS, >>>as my old list of Dos 6.2 doesn't seem to work anymore. >>> >>>I need it to create bullets and lines in batch files. >>> >>>Thank you very much !!! >> >>Try this in QBASIC: >> >>REM Skip the first 31 chars, since they only serve as control characters in DOS. >>FOR N = 32 TO 256 >>? chr$(n); >>NEXT N > >Or this in c++: >#include <iostream.h> >int main() >{ >for (int i = 32; i<128; i++) >cout << (char) i; >return 0; >} Hah, I guess I might as well make a contribution :) PHP... <html> <head> <title>ASCII Chart</title> </head> <body> <h1>ASCII Chart</h1> <h2>Standard ASCII</h2> <table width="100%"> <tr> <? $charsperrow=10; for ($r=0; $r<$charsperrow; $r++) { for ($q=$r; $q<128; $q=$q+$charsperrow) { for ($qs=$q; strlen($qs)<3; $qs="0".$qs); echo "<td>$qs <tt>".htmlspecialchars(chr($q))."</tt></td>"; } echo "</tr>\n<tr>"; } ?> </tr></table> <h2>Extended ASCII</h2> <table width="100%"> <tr> <? $charsperrow=10; for ($r=0; $r<$charsperrow; $r++) { for ($q=$r+128; $q<256; $q=$q+$charsperrow) { for ($qs=$q; strlen($qs)<3; $qs="0".$qs); echo "<td>$qs <tt>".htmlentities(chr($q))."</tt></td>"; } echo "</tr>\n<tr>"; } ?> </tr> </table> </body> Not the most elegant code in the world... It was the first thing I wrote in php :) Kind Regards, -Martin |\/| _..__|_o._ /\_|_| o._ _ mart.atkins@-- | |(_|| |_|| | /--\|_|<|| |_> --bigfoot.com
On Sat, 03 Jun 2000 14:00:34 GMT, zne...@ovtsbbg.pbz (Martin Atkins) provoked the following text: >>Try this in QBASIC: >>REM Skip the first 31 chars, since they only serve as control characters in DOS. >>FOR N = 32 TO 256 >>? chr$(n); >>NEXT N >>Alternatively you can adapt the code so that it will print the whole kaboodle to >>your printer. > >Or, for a neater table, still in QBasic, type: > >chr$ > >and with the text cursor over it, press F1. Then, select 'ASCII Character >Codes' from the bottom of the online help. They even include the control >characters with what they actually are in brackets :) Yeah, but then you don't feel the satisfaction of having programmed something yourself :-)) -- Peter Punk \ / ---\\\\--- / \ Visit my MIDI-site at http://members.xoom.com/miditation Weiner's Law of Libraries: There are no answers, only cross references.
On Sat, 03 Jun 2000 00:46:01 +0200, Oliver Merkel <oli...@djh-freeweb.de> provoked the following text: >> >>Try this in QBASIC: >> >>REM Skip the first 31 chars, since they only serve as control characters in DOS. >> >>FOR N = 32 TO 256 >> >>? chr$(n); >> >>NEXT N >> >Or this in c++: >> >#include <iostream.h> >> >int main() >> >{ >> >for (int i = 32; i<128; i++) >> >cout << (char) i; >> >return 0; >> >} >> But not every Windows-owner has a C++ compiler :-) >But not every Windows-owner has QBasic or C/C++ or any other usefull >programming language since its not normal to get any higher programming >language like C/C++ when "buying" or buying a operating system. I thought that most people who use WinDOS also have an older version of MS-DOS on their machines, or am i still a fewyears behind in my thinking? >If still unknown: www.gnu.org >... and download a programming language of your choice legally. >BTW: The C++ from GNU for Windows "owners" is named DJGPP. >So every Windows-owner CAN HAVE a C++ compiler for free :-) Thanks for the tip, but after having programmed in BASIC a lot on my trusty old C=64, i never made another program. It's not for me to make programs for the PC, the languages atre moere complex than i care to learn. -- Peter Punk \ / ---\\\\--- / \ Visit my MIDI-site at http://members.xoom.com/miditation Weiner's Law of Libraries: There are no answers, only cross references.
On Sat, 03 Jun 2000 20:28:35 GMT, ppu...@damnspam.chello.nl (Peter Punk) posted: >I thought that most people who use WinDOS also have an older version of MS-DOS >on their machines, or am i still a fewyears behind in my thinking? > Windows 95 and 98 are built on top of a DOS base (called DOS 7) but there is no 'DOS' directory containing fun things like QBASIC.EXE and HELP.COM. Some of the stuff from here moved to C:\WINDOWS\COMMAND while QBASIC.EXE and HELP.COM (along with their associated help files) can be found on the Windows CD in \OTHER\OLDMSDOS Windows NT and 2000 do DOS emulation only afaik, and QBASIC does not come with either. I think everyone should have perl installed, myself :) http://www.activestate.com/ obASCII: . .-. .' ': |"-"| One humped, fat camel. Inspired by the O'Reilly Camel book although the fact that it is a camel is where the similarity ends. Kind Regards, -Martin |\/| _..__|_o._ /\_|_| o._ _ mart.atkins@-- | |(_|| |_|| | /--\|_|<|| |_> --bigfoot.com
On Sun, 04 Jun 2000 12:51:22 GMT, zne...@ovtsbbg.pbz (Martin Atkins) provoked the following text: >>I thought that most people who use WinDOS also have an older version of MS-DOS >>on their machines, or am i still a fewyears behind in my thinking? >Windows 95 and 98 are built on top of a DOS base (called DOS 7) I know, thet's wyhy i called it WinDOS, it wasn't a type-o :-) >but there is >no 'DOS' directory containing fun things like QBASIC.EXE and HELP.COM. I do have that dir, i guess it's still a remnant of my DOS-period before i went over to Win95... >I think everyone should have perl installed, myself :) Great for when you use Linux, but AFAIK it's of no use under Losedows. -- Peter Punk \ / ---\\\\--- / \ Visit my MIDI-site at http://members.xoom.com/miditation Why is "easy listening" music so hard to listen to?
zne...@ovtsbbg.pbz (Martin Atkins) writes: > I think everyone should have perl installed, myself :) ppu...@damnspam.chello.nl (Peter Punk) writes: > Great for when you use Linux, but AFAIK it's of no use under Losedows. Oh, but it is of great use! Like for printing ASCII tables... :-) for $r ( 0 .. 15 ) { for $c ( 0 .. 5 ) { $chr = 32 + $r + 16*$c; printf '%8.03d %c', $chr, $chr if $chr < 127; } print "\n"; } Which prints 032 048 0 064 @ 080 P 096 ` 112 p 033 ! 049 1 065 A 081 Q 097 a 113 q 034 " 050 2 066 B 082 R 098 b 114 r 035 # 051 3 067 C 083 S 099 c 115 s 036 $ 052 4 068 D 084 T 100 d 116 t 037 % 053 5 069 E 085 U 101 e 117 u 038 & 054 6 070 F 086 V 102 f 118 v 039 ' 055 7 071 G 087 W 103 g 119 w 040 ( 056 8 072 H 088 X 104 h 120 x 041 ) 057 9 073 I 089 Y 105 i 121 y 042 * 058 : 074 J 090 Z 106 j 122 z 043 + 059 ; 075 K 091 [ 107 k 123 { 044 , 060 < 076 L 092 \ 108 l 124 | 045 - 061 = 077 M 093 ] 109 m 125 } 046 . 062 > 078 N 094 ^ 110 n 126 ~ 047 / 063 ? 079 O 095 _ 111 o Peter -- Peter J. Acklam - jac...@math.uio.no - http://www.math.uio.no/~jacklam
On Mon, 05 Jun 2000 00:10:06 GMT, ppu...@damnspam.chello.nl (Peter Punk) posted: >On Sun, 04 Jun 2000 12:51:22 GMT, zne...@ovtsbbg.pbz (Martin Atkins) >provoked the following text: > >>>I thought that most people who use WinDOS also have an older version of MS-DOS >>>on their machines, or am i still a fewyears behind in my thinking? >>Windows 95 and 98 are built on top of a DOS base (called DOS 7) > >I know, thet's wyhy i called it WinDOS, it wasn't a type-o :-) > >>but there is >>no 'DOS' directory containing fun things like QBASIC.EXE and HELP.COM. > >I do have that dir, i guess it's still a remnant of my DOS-period before i went >over to Win95... So do I, but then I put it there myself when I was copying a load of legacy stuff from my old DOS 6 laptop :) >>I think everyone should have perl installed, myself :) > >Great for when you use Linux, but AFAIK it's of no use under Losedows. Oh but it is. Think of all of the interesting things you can do with perl on a linux box and then consider how handy it would be to do similarly on a windows machine. With the Windows Script Host and ActiveState's PerlScript you can even make them run 'the windows way'. Another use is of course if you happen to have a web server running on your windows machine (which I do <g>) ... although obviously for most things my linux web server is the one I use. Kind Regards, -Martin |\/| _..__|_o._ /\_|_| o._ _ mart.atkins@-- | |(_|| |_|| | /--\|_|<|| |_> --bigfoot.com
On 05 Jun 2000 13:13:22 +0200, jac...@math.uio.no (Peter J. Acklam) provoked the following text: >> >I think everyone should have perl installed, myself :) >> Great for when you use Linux, but AFAIK it's of no use under Losedows. >Oh, but it is of great use! Like for printing ASCII tables... :-) > for $r ( 0 .. 15 ) { > for $c ( 0 .. 5 ) { > $chr = 32 + $r + 16*$c; > printf '%8.03d %c', $chr, $chr if $chr < 127; > } > print "\n"; > } > >Which prints > > 032 048 0 064 @ 080 P 096 ` 112 p > 033 ! 049 1 065 A 081 Q 097 a 113 q > 034 " 050 2 066 B 082 R 098 b 114 r > 035 # 051 3 067 C 083 S 099 c 115 s > 036 $ 052 4 068 D 084 T 100 d 116 t > 037 % 053 5 069 E 085 U 101 e 117 u > 038 & 054 6 070 F 086 V 102 f 118 v > 039 ' 055 7 071 G 087 W 103 g 119 w > 040 ( 056 8 072 H 088 X 104 h 120 x > 041 ) 057 9 073 I 089 Y 105 i 121 y > 042 * 058 : 074 J 090 Z 106 j 122 z > 043 + 059 ; 075 K 091 [ 107 k 123 { > 044 , 060 < 076 L 092 \ 108 l 124 | > 045 - 061 = 077 M 093 ] 109 m 125 } > 046 . 062 > 078 N 094 ^ 110 n 126 ~ > 047 / 063 ? 079 O 095 _ 111 o So there is a Perl for DOS/Windork? Where can i get it? (and where can i find a good tutorial for beginners? :-)) -- Peter Punk \ / ---\\\\--- / \ Visit my MIDI-site at http://members.xoom.com/miditation The typewriting machine, when played with expression, is no more annoying than the piano when played by a sister or near relation.
ppu...@damnspam.chello.nl (Peter Punk) writes: > So there is a Perl for DOS/Windork? Where can i get it? > (and where can i find a good tutorial for beginners? :-)) The Perl home page, http://www.perl.com Peter -- Peter J. Acklam - jac...@math.uio.no - http://www.math.uio.no/~jacklam
On 06 Jun 2000 16:19:35 +0200, jac...@math.uio.no (Peter J. Acklam) provoked the following text: >> So there is a Perl for DOS/Windork? Where can i get it? >> (and where can i find a good tutorial for beginners? :-)) >The Perl home page, > http://www.perl.com Thanks, i'm DL'ing it now. Who knows, perhaps i'll eventually end up trying to write a program in Perl :-)) -- Peter Punk \ / ---\\\\--- / \ Visit my MIDI-site at http://members.xoom.com/miditation Not tonight dear.... I have a modem.
Peter Punk wrote: > >> So there is a Perl for DOS/Windork? Where can i get it? > >> (and where can i find a good tutorial for beginners? :-)) > >The Perl home page, > > http://www.perl.com > > Thanks, i'm DL'ing it now. > Who knows, perhaps i'll eventually end up trying to write a program in Perl :-)) Well, BTW: Perl is running under the GNU Public License (GPL) :-))) If still unknown: www.gnu.org ... and download a programming language of your choice legally. BTW: The C++ from GNU for Windows "owners" is named DJGPP. So every Windows-owner CAN HAVE a C++ compiler or even Perl for free :-) -- o.-.o ((')) There should be at least one bear in every news group! *)v(* O-^-O Oliver Merkel
On Fri, 9 Jun 2000 00:22:37 +0100, Ben Norwood <bdn...@aber.ac.uk> provoked the following text: >: Windows 95 and 98 are built on top of a DOS base (called DOS 7) >A throwback to the days of Win 3.x (1993ish), which sat on top of DOS >6.22 (which did have most of the 'fun' things, although afaik sadly not >the infamous 'recover' command...) No, but it _did_ have the "undelete" command. -- Peter Punk \ / ---\\\\--- / \ Visit my MIDI-site at http://members.xoom.com/miditation If statistics don't tell a good enough lie, use graphics.
On Tue, 06 Jun 2000 21:27:14 GMT, ppu...@damnspam.chello.nl (Peter Punk) posted: >On 06 Jun 2000 16:19:35 +0200, jac...@math.uio.no (Peter J. Acklam) provoked >the following text: > >>> So there is a Perl for DOS/Windork? Where can i get it? >>> (and where can i find a good tutorial for beginners? :-)) >>The Perl home page, >> http://www.perl.com > >Thanks, i'm DL'ing it now. >Who knows, perhaps i'll eventually end up trying to write a program in Perl :-)) Get ActiveState's port from http://www.activestate.com/ ... it's the most stable Win32 perl available, and it's also pretty damn fine :) (and it supports crypt(), which a lot of others seem to have trouble with) Kind Regards, -Martin |\/| _..__|_o._ /\_|_| o._ _ mart.atkins@-- | |(_|| |_|| | /--\|_|<|| |_> --bigfoot.com
In alt.ascii-art Bob Walton <bwa...@rochester.rr.com> wrote:
: Ilmari Karonen wrote:
:> I'm taking that as a golf challenge:
:>
:> printf "%8.03d %c%s", $_, $_, $_>110&&"\n" for map 16*$_%95+32, 0..94
: map{$_=16*$_%95+32;printf"%8.03d %c%s",$_,$_,$_>110&&"\n"}0..94
after removing unnecessary spaces in the original so it become:
printf"%8.03d %c%s",$_,$_,$_>110&&"\n"for map 16*$_%95+32,0..94
Bob's version gains one space -- between for and map
another space -- between map and 16
3 characters -- "for" no longer needed.
1 character -- a comma before 0..94
total six characters
looses:
{$_=
a semicolon before "printf"
and a closing brace
total six characters.
Other code is byte-by-byet indentical, only permuted somehow :)
DRAW.
brojek.
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this thread.
These messages were posted publicly to the newsgroup
alt.ascii-art
in 2000 and are mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you one of the authors? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.