* Ada telnet protocol engine @ 2001-09-23 1:40 minyard 2001-09-23 3:04 ` Darren New 2001-10-01 21:07 ` Tarjei Tj�stheim Jensen 0 siblings, 2 replies; 8+ messages in thread From: minyard @ 2001-09-23 1:40 UTC (permalink / raw) Hello all, I've been playing with Ada a little lately, and I have implemented a telnet protocol engine in Ada95. It's pretty complete, but it's still beta. With this, it would be pretty simple to implement a telnet client or server. It's on my web page at http://members.home.net/minyard. The build process is not complete. I'm not sure what to do with this. I could add it to my Ada structured library, I guess, or maybe it could be part of adasockets. It seems a little small to package by itself. Any advice on this? I'm also planning to work on a command processor that can sit on top of an Ada stream (like the telnet protocol engine, for instance). -Corey ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ada telnet protocol engine 2001-09-23 1:40 Ada telnet protocol engine minyard @ 2001-09-23 3:04 ` Darren New 2001-09-23 4:12 ` David Starner 2001-10-01 21:07 ` Tarjei Tj�stheim Jensen 1 sibling, 1 reply; 8+ messages in thread From: Darren New @ 2001-09-23 3:04 UTC (permalink / raw) > I've been playing with Ada a little lately, and I have implemented a > telnet protocol engine in Ada95. Just out of curiousity, is there anything in Ada (I've not found it) that maps ASCII to the local character set? That is, a "65" octet on a telnet connection is still going to mean "A" even if my local machine is using EBCDIC on the screen. Similarly, is there any standard for what a "wide character" means? Is it guaranteed to be Unicode encoded? -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. Who is this Dr. Ibid anyway, and how does he know so much? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ada telnet protocol engine 2001-09-23 3:04 ` Darren New @ 2001-09-23 4:12 ` David Starner 0 siblings, 0 replies; 8+ messages in thread From: David Starner @ 2001-09-23 4:12 UTC (permalink / raw) On Sun, 23 Sep 2001 03:04:40 GMT, Darren New <dnew@san.rr.com> wrote: > Just out of curiousity, is there anything in Ada (I've not found it) > that maps ASCII to the local character set? That is, a "65" octet on a > telnet connection is still going to mean "A" even if my local machine is > using EBCDIC on the screen. I would guess most systems that need that, have functions in system libraries that can be easily interfaced. The bigger problem is the fact that character is theoritically Latin-1, which even if you have converters is going to only completely map if you're converting to Unicode or Latin-1 (I believe there's an EBCDIC standard whose character set is the same as Latin-1.) > Similarly, is there any standard for what a > "wide character" means? Is it guaranteed to be Unicode encoded? Yes. Check out the Ada standard or a good Ada book for more details. (The main catch being that Wide_Character only encodes the BMP, and defines the block of surrogate characters as graphic.) -- David Starner - dstarner98@aasaa.ofe.org Pointless website: http://dvdeug.dhis.org When the aliens come, when the deathrays hum, when the bombers bomb, we'll still be freakin' friends. - "Freakin' Friends" ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ada telnet protocol engine 2001-09-23 1:40 Ada telnet protocol engine minyard 2001-09-23 3:04 ` Darren New @ 2001-10-01 21:07 ` Tarjei Tj�stheim Jensen 2001-10-01 21:54 ` David Botton 2001-10-01 22:45 ` minyard 1 sibling, 2 replies; 8+ messages in thread From: Tarjei Tj�stheim Jensen @ 2001-10-01 21:07 UTC (permalink / raw) minyard@acm.org wrote: > I'm also planning to work on a command processor that can sit on top of > an Ada stream (like the telnet protocol engine, for instance). Somebody beat you to it. I quote from a recent announcement from Ken O. Burtch on the gnatlist: In the next day I will be posting the source code for my AdaScript shell BUSH. This should be considered a release candidate and I'm looking for any obvious bugs that need fixing prior to the official release of version 0.8. BUSH is available at http://www.vaxxine.com/pegasoft. BUSH is a Linux/UNIX shell which uses a subset of Ada 95. Version 0.8 is a major upgrade over 0.1, and many sections of the source code have been completely rewritten. New features are too numerous to list, but include: * works as a login shell * standard Text_IO, numeric and string functions implemented * while, case, loop, enumerated for loop implemented * TCP/IP sockets * much greater reliability and performance * better documentation and improved help command * no longer a front-end to BASH, now a true shell * sample shell script: Eliza, the famous AI program Address any feedback to kburtch@sympatico.ca along with examples to duplicate any problems. Thanks. Ken O. Burtch: System Manager in a Box / Lintel : Pegasoft http://www.vaxxine.com/pegasoft;ken@tiamet.vaxxine.com: R.R.#1 Bio: 34;BSc,UI,Lang,Games;Toons,Elves,SF,Pizza;Xian : Jordan Station, ON ``````````````````````````````````````````````````````` Canada L0R 1S0 end of quote. Greetings, ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ada telnet protocol engine 2001-10-01 21:07 ` Tarjei Tj�stheim Jensen @ 2001-10-01 21:54 ` David Botton 2001-10-02 21:34 ` Tarjei Tj�stheim Jensen 2001-10-01 22:45 ` minyard 1 sibling, 1 reply; 8+ messages in thread From: David Botton @ 2001-10-01 21:54 UTC (permalink / raw) To: comp.lang.ada Which gnatlist is this, I don't recall seeing this? Thanks, David Botton ----- Original Message ----- From: "Tarjei Tj�stheim Jensen" <tarjei@online.no> Newsgroups: comp.lang.ada To: <comp.lang.ada@ada.eu.org> Sent: Monday, October 01, 2001 5:07 PM Subject: Re: Ada telnet protocol engine > minyard@acm.org wrote: > > I'm also planning to work on a command processor that can sit on top of > > an Ada stream (like the telnet protocol engine, for instance). > > Somebody beat you to it. I quote from a recent announcement from Ken O. > Burtch on the gnatlist: > > > In the next day I will be posting the source code for my AdaScript shell > BUSH. This should be considered a release candidate and I'm looking for > any obvious bugs that need fixing prior to the official release of > version > 0.8. BUSH is available at http://www.vaxxine.com/pegasoft. > > BUSH is a Linux/UNIX shell which uses a subset of Ada 95. Version 0.8 > is > a major upgrade over 0.1, and many sections of the source code have been > completely rewritten. > > New features are too numerous to list, but include: > > * works as a login shell > * standard Text_IO, numeric and string functions implemented > * while, case, loop, enumerated for loop implemented > * TCP/IP sockets > * much greater reliability and performance > * better documentation and improved help command > * no longer a front-end to BASH, now a true shell > * sample shell script: Eliza, the famous AI program > > Address any feedback to kburtch@sympatico.ca along with examples to > duplicate any problems. > > Thanks. > > Ken O. Burtch: System Manager in a Box / Lintel : Pegasoft > http://www.vaxxine.com/pegasoft;ken@tiamet.vaxxine.com: R.R.#1 > Bio: 34;BSc,UI,Lang,Games;Toons,Elves,SF,Pizza;Xian : Jordan Station, > ON > ``````````````````````````````````````````````````````` Canada L0R 1S0 > > > end of quote. > > > Greetings, > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ada telnet protocol engine 2001-10-01 21:54 ` David Botton @ 2001-10-02 21:34 ` Tarjei Tj�stheim Jensen 0 siblings, 0 replies; 8+ messages in thread From: Tarjei Tj�stheim Jensen @ 2001-10-02 21:34 UTC (permalink / raw) David Botton wrote: > > Which gnatlist is this, I don't recall seeing this? > From the header: > >Subject: [gnatlist] BUSH 0.8 beta release >Date: Sun, 30 Sep 2001 16:01:03 -0400 (EDT) >To: "GNAT Discussion List" <gnatlist@lyris.seas.gwu.edu> > Greetings, ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ada telnet protocol engine 2001-10-01 21:07 ` Tarjei Tj�stheim Jensen 2001-10-01 21:54 ` David Botton @ 2001-10-01 22:45 ` minyard 2001-10-02 21:38 ` Tarjei Tj�stheim Jensen 1 sibling, 1 reply; 8+ messages in thread From: minyard @ 2001-10-01 22:45 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 680 bytes --] "Tarjei Tj�stheim Jensen" <tarjei@online.no> writes: > minyard@acm.org wrote: > > I'm also planning to work on a command processor that can sit on top of > > an Ada stream (like the telnet protocol engine, for instance). > > Somebody beat you to it. I quote from a recent announcement from Ken O. > Burtch on the gnatlist: > I didn't see this, but it looks pretty cool. I'm not sure this is really the same as my command processor, mine is more like a command processor you can link into your program and build debug/control commands into your program. It looks like BUSH is a full-fledged shell. But if it can replace my simplistic thing, that would be great. -Corey ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Ada telnet protocol engine 2001-10-01 22:45 ` minyard @ 2001-10-02 21:38 ` Tarjei Tj�stheim Jensen 0 siblings, 0 replies; 8+ messages in thread From: Tarjei Tj�stheim Jensen @ 2001-10-02 21:38 UTC (permalink / raw) minyard@acm.org wrote: > I didn't see this, but it looks pretty cool. I'm not sure this is > really the same as my command processor, mine is more like a command > processor you can link into your program and build debug/control > commands into your program. It looks like BUSH is a full-fledged > shell. But if it can replace my simplistic thing, that would be > great. If you have a command interpreter which can load and use shared libraries (DLLs in windowspeak) then you may not need to embed the interpreter. And you avoid having to recompile the interpreter every time you need to add a facility. This seems to work very well with OS/2 Rexx. In my opinion the language itself is crap, but the dynamic library handling is well worth stealing. Greetings, ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2001-10-02 21:38 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-09-23 1:40 Ada telnet protocol engine minyard 2001-09-23 3:04 ` Darren New 2001-09-23 4:12 ` David Starner 2001-10-01 21:07 ` Tarjei Tj�stheim Jensen 2001-10-01 21:54 ` David Botton 2001-10-02 21:34 ` Tarjei Tj�stheim Jensen 2001-10-01 22:45 ` minyard 2001-10-02 21:38 ` Tarjei Tj�stheim Jensen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox