rickparrish / ftelnet Goto Github PK
View Code? Open in Web Editor NEWfTelnet: An HTML5 WebSocket client
License: GNU Affero General Public License v3.0
fTelnet: An HTML5 WebSocket client
License: GNU Affero General Public License v3.0
Just wondering what the purpose of the proxy is? Is there any way to get this running without the proxy?
When the client is connecting to the my ftelnet proxy server is recording the incorrect client IP Address. Ftelnet is recording my static IP Address and not recording the real Client IP Address.
Is there any way to correct this issue?
Hello! Tried updating to the latest fTelnet today and everything is working fine except now when i left click on the applet (just to take focus and such) it seems to be sending RIP codes to the BBS, as input boxes show input and others just take the options in the string sent.
I am using the norip version with xfer as the title states. Something new go into the client that needs a Option set?
Thanks!
Running "The Pit" first time player will be asked if they see color (ANSI) if you say yes, you should be asked if you heard music.
In SyncTERM this question works and it is yes/no.
In fTelnet the line never prints and in the browser console the following error is displayed:
Uncaught TypeError: Cannot read property '0' of undefined
at Ansi.AnsiCommand (ftelnet.norip.xfer.min.js:105)
at Ansi.Write (ftelnet.norip.xfer.min.js:138)
at fTelnetClient.OnConnectionData (ftelnet.norip.xfer.min.js:624)
at Object.<anonymous> (ftelnet.norip.xfer.min.js:585)
at TypedEvent.trigger (ftelnet.norip.xfer.min.js:91)
at TelnetConnection.WebSocketConnection.OnWebSocketMessage (ftelnet.norip.xfer.min.js:406)
at WebSocket._WebSocket.onmessage (ftelnet.norip.xfer.min.js:393)
Ansi.AnsiCommand @ ftelnet.norip.xfer.min.js:105
Ansi.Write @ ftelnet.norip.xfer.min.js:138
fTelnetClient.OnConnectionData @ ftelnet.norip.xfer.min.js:624
(anonymous) @ ftelnet.norip.xfer.min.js:585
TypedEvent.trigger @ ftelnet.norip.xfer.min.js:91
WebSocketConnection.OnWebSocketMessage @ ftelnet.norip.xfer.min.js:406
_WebSocket.onmessage @ ftelnet.norip.xfer.min.js:393
Normally not an issue, but since the game is asking for a Y or N, the line never printed and people force disconnect because they don't know whats going on. If you hit Y or N the game continues and all is good.
Anyway to bypass that error? Print the line and ignore ANSI music codes?
If you wish to test on my system, I can send more information via email.
Thanks.
First of all, thank you for such an great telnet client!
I have an board running which makes use of various codepages, even various codepages per screen. When using NetRunner to visit the board I can see both the Amiga and IBM font on the same screen.
I am checking your sourcecode and I see that in crt.ts line 685 there is an OnFontChanged event which triggers the redraw in the new font.
Could we add an switch to prevent redrawing the whole screen in the new codepage?
The board in question is bbs.opicron.eu:23 and the sections are download, queue and newmail if you want to see how I use the codepages :).
Tried to run with my current SOCKS proxy (Danted).
When it hits the proxy server, proxy server returns: unknown SOCKS version 71 in client request.
Any thoughts on what could be wrong?
Also tried using CCProxy for Windows, and it doesn't work with this proxy either.
Any recommendations on Linux Proxy server software?
When I set the emulation type to "C64" the terminal is still in ANSI mode. Using the iFrame code on the website does work in C64 mode though. Is there a difference between the code? I'm using the files in fTelnet/release
CSI 'J'
and
CSI '0J'
are not clearing from current line to end...
Also tried the reverse, current line to start:
CSI '1J'
without success.
is there any installation instructions?
ubuntu.
I think think this, given a large value say ESC[255;255H which is larger than say 80x25, it should go to the bottom right of the screen, rather than ignore the command.
I'm pretty sure I'm not the only one who uses this method to detect screen size? at present when reporting the position after setting the high value it returns the previous position and so thinks the screen height / width is very small.
Line 581 in 7a0853f
I updated my Synchronet BBS to use the latest release of fTelnet, and I can't get ymodem-g to work. Are those still a WIP or might I have an issue on my end?
Thank you so much for your project!
I am using the latest version of fTelnet and fTelnetProxy . I run fTelnetProxy on my PC, then I open the "index.html" in the directory "fTelnet\fTelnet-master\release".Everything seems ok at first.But when I try to edit something in the telnet screen , I find some problems.
First,when I press UP_ARROW/DOWN_ARROW/LEFT_ARROW/RIGHT_ARROW key,it shows some messy codes in the screen,you can see it in the picture 'problem1.png';
Second,when I press Backspace key on the keyboard , it doesn't work like it should do,please look at the picture 'problem2.png';
Third,some messy codes show on the screen like the picture I upload named 'problem3.png'. I find where the problem is. In your source code ,you don't deal with the Control Code "<ESC>7"&"<ESC>8" which represents "save current cursor position" and "restores cursor position after a Save Cursor ".
I move my http server to https and fTelnet do no work.
Any chance to make it work on both http and https?
work:
http://bbs.docksud.com.ar/telnet/
do not work:
https://bbs.docksud.com.ar/telnet/
ftelnet is fantastic!
thanks!
Does not contain app.js file, so the index.html example this not working.
I still have issues with ymodem-g. I tried uploading files with native MysticBBS Ymodem, the result I get is:
"Expected (N)ACK got 24"
When using SEXYZ Ymodem-G the transfer stalls at 100%.
Could you try to upload a file by one of these protocols on bbs.theforze.eu with ftelnet? Or use the http url, bbs.theforze.eu. Thank you in advance! And keep up the great work.
Just to be sure I just tried https://embed-v2.ftelnet.ca/ also. Same result on my board.
hi!!..
I have a android apk for ftelnet.. i can remember exactly when i instaled.. i think that few year ago..
now, I cannot find the app at andorid store.
Can you help me provide a download link for that apk?. Some friends want to connect to my bbs via android.
thanks!!!
I found that Atari/ATASCII was broken . I would do a pull request on this but really don't know how.(yet)
these are the options I used:
Options.Emulation = 'Atari';
Options.Enter = '\x9B';
Options.Font = 'Atari-Graphics_16x16';
this is the two code changes I needed to make
}
if (this._Options.Emulation === 'C64') {
this._Options.Font = 'C64-Lower';
this._Options.ScreenColumns = 40;
}
else if ((this._Options.Emulation === 'RIP') && (typeof RIP !== 'undefined')) {
this._Options.Font = 'RIP_8x8';
this._Options.ScreenRows = 43;
}
// added for atari**
else if (this._Options.Emulation === 'Atari')
{
this._Options.ScreenColumns = 40;
}
// end added for atari**
else {
this._Options.Emulation = 'ansi-bbs';
}
this.LoadProxySettings();
}
this._Crt.onscreensizechange.on(function () { _this.OnCrtScreenSizeChanged(); });
this._Crt.BareLFtoCRLF = this._Options.BareLFtoCRLF;
this._Crt.C64 = (this._Options.Emulation === 'C64');
// added for atari
this._Crt.Atari = (this._Options.Emulation === 'Atari');
// end added for atari
this._Crt.LocalEcho = this._Options.LocalEcho;
Hope this help the team to do a proper change on this, this is an amazing tool
if you need to test this, try my bbs at https://atari.electric-estates.com
Hey
On German Mac OS (and other keyboard) some Chars are behind the ALT (Option) key.
So @, |, \ are not working fir telnet as the ALT key not work under MacOS.
Ale beside that special Chars in ASCII >127 like üäö, not working and give some mixup characters.
It appears that the telnet proxy servers are all down. I sent this issue with the fTelnet contact form on the web page, but just wanted to make sure it was noticed. I have tried the us-wa and the us-va servers today, and neither of those will connect.
Rick,
Wondering if this is possible with fTelnet? If I am using a session with 132x52 and then load up a door game which will not fill the entire area, could I clear the screen and then send the ANSI resize string and have fTelnet run some code to set the terminal size back down to 80x25 and when exiting the game, I can then clear the screen again send the command to set back to 132x52.
I'm aware it would probably also need to change the font, maybe a resize or something of the applet itself but it would be really nice to be able to do this, I would love to start using 132x52 but I know most users are going to not understand why the game won't fill the screen.
Does this seem possible to do from the server size using the ANSI string ESC[8;w;h?
I am fully hosting the css, scripts and proxies.
As usual thanks for fTelnet!
Would it be possible to implement translation of input to a codepage defined in Options.Font? Currently, it is only possible to input Latin characters, which is quite inconvenient for non-English BBS. Such feature would also solve #20.
Hi Rick,
I am blind and many of my users would need to use FTelnet in a web browser either on a phone or a browser with a screen reader. Canvas tends to not be accessible, when I use JAWS or NVDA, I get a message which says I need to use a browser that supports canvas. In other words, it's telling us that you use Canvas. I think that output can happen if we were to output text to aria or an aria live region, but I'm not sure where I'd do this i.e. take the content out of canvas and place it in an aria region. You could default to the normal mode and, since you're using javascript, I can help you get code to detect a screen reader and in an application window and then load the accessible page. I don't mind helping to make changes, but I'm unsure how the code is formed. I'm also not as familiar with js as I should be. Can you assist/can we have a look at making this a reality? HTML 5 is great for accessibility, but canvas is about the only thing in HTML 5 that totally breaks things / makes it so it's not renderable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.