Telnet client for CPC

Started by Duke, 21:11, 21 March 18

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Duke

#50
Quote from: simulant on 14:19, 23 September 18
hmm I might see if Prodatron / SymbiosiS can help (maybe a long shot?) but the SymbOS "SymTel" telnet client works great so they may be able to help with the negotiation?

The source code for SymTel is available here: http://www.symbos.de/apps.htm?4  -> http://www.symbos.de/download/apps/SymTel.zip

If anyone fancies to use it for inspiration for their own client or building upon the basic one I put on github.

SOS

I found two Bugs (but there are still at Minimum one open, which crashes the program):

------1st------
notescapeCode:
ld a,(isEscapeCode)
cp 0
jp z, not_in_escmode
ld hl, EscapeBuf
ld a, (EscapeCount)
inc a
ld e,a
ld d,0
add hl,de
ld (EscapeCount),a
; bugfix SOS
push af
ld a,b
ld (hl),a
pop af

cp 1
jp z, skip_check_esc_code ; we only want 0x1B,'[' ... for now
ld a,(hl)



------2nd------
recv_noblock:
push af
push bc
push de
push hl

;ld bc,2048 - to do empty entire receive buffer and use index

ld bc,1
call recv

cp $FF
;jp z, exit_close
jp z, exit_close_SP_Corr ; Bugfix SOS

cp 3
;jp z, exit_close
jp z, exit_close_SP_Corr ; Bugfix SOS


exit_close_SP_Corr ; NEW SOS
pop hl
pop hl
pop hl
pop hl

exit_close:

call disp_error
ld hl,cmdclose
call sendcmd


GUNHED

This is a great project! Thanks for still working on it!  :) :) :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2022.03.09)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

genesis8

Quote from: Duke on 07:44, 07 August 18
Here is the source code for the super simple basic telnet client:
https://github.com/M4Duke/M4examples/blob/master/telnet.s

Edit:
Added some ANSI escape codes + you can press TAB to pause and  TAB again to resume.


Duke could you put the binary of v1.0.1 on spinpoint.org/telnet.bin so new readers of this thread will have the latest version and eventually on the first message ?
____________
Amstrad news site at Genesis8 Amstrad Page

simulant

Quote from: genesis8 on 18:43, 26 March 19

Duke could you put the binary of v1.0.1 on spinpoint.org/telnet.bin so new readers of this thread will have the latest version and eventually on the first message ?
That would be great, does the v1.0.1 have the SOS bugs above or are they fixed in that release? I'd also like to update the latest version on Amstrad BBS too :)

Duke

Quote from: genesis8 on 18:43, 26 March 19

Duke could you put the binary of v1.0.1 on spinpoint.org/telnet.bin so new readers of this thread will have the latest version and eventually on the first message ?
Sure. Done.

Quote from: simulant on 19:04, 26 March 19
That would be great, does the v1.0.1 have the SOS bugs above or are they fixed in that release? I'd also like to update the latest version on Amstrad BBS too :)
No, but the fixes should be included in his version here:
http://www.cpcwiki.eu/forum/programming/wifi-compatibility-between-the-m4-symbiface-3-using-telnet-as-an-example/msg170421/#msg170421

SOS


simulant

Hi this now resolves well but has the same bug where once it gets past the Amstrad welcome screen all the output scrunches up in the bottom right of the screen and nothing can be read...
If you log in to Amstrad BBS as username Guest you will see it works well until the Welcome screen and then the main menu won't appear. This is after selecting that the console is not ANSI or IBM extended characters compatible on the initial login selections.
Thanks for any help :)

Monsieurmarc

Quote from: simulant on 09:31, 04 August 18
Great thanks Duke :)

I also found a little way down this page: https://www.genesis8bit.fr/frontend/misc.php
A zip file called cpcip020.zip which might help for reference...


EMulating the rs232 interface would be amazing.  I have been watching for a real one for months to buy but they are clearly as rare as rocking horse £$%@

zhulien

#59
i think i missed this thread - i wonder what's involved in making a Gopher client for CPC?


In case you are interested to add gopher support to the telnet client or make a gopher client... I have setup a gopher server on Azure - it seems to work well, and for anyone wanting to setup one, it is fairly straight forward and you can do it for free (I am not sure how much traffic a gopher server would get these days).


To access this gopher server, http://gopher.australiaeast.cloudapp.azure.com:70


You can use chrome with the gopherspace extension: https://chrome.google.com/webstore/detail/burrow-gopherspace-explor/plhaaggiajlcjclagmjnjmaonhkdhhji?hl=en

I followed these linux instructions:  https://prgmr.com/blog/gopher/2018/11/09/setting-up-gopherserver.html

What do you think?

VincentGR

Ok, I have a problem.
Version 1.0.0 works fine and connects to my BBS and on my Pi for telnet.
While the 1.0.1 and the Symbos version connects via telnet to Pi but does nothing :-/

dragon

#61
Not sure if this site can work its not telnet but it tell they have some type of telnet support.

www.Glasstty.com


(from de first article)


"
Telstar is not Telnet Whilst TELSTAR is accessed using TCP/IP it is not a Telnet Server. However, TELSTAR does include a Telnet parser which will respond to a very small subset of Telnet negotiation requests."

dragon

Anyone have connected here?. It don't load well all text  is sended to one line :p.

https://amstrad.simulant.uk:464


Powered by SMFPacks Menu Editor Mod