Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telnet username #22

Open
gazj82 opened this issue Mar 22, 2023 · 4 comments
Open

Telnet username #22

gazj82 opened this issue Mar 22, 2023 · 4 comments

Comments

@gazj82
Copy link

gazj82 commented Mar 22, 2023

Hi Richard,

I apologize if I am leaving this in the wrong place. I do not know my way round github very well.

I have nearly got bb2 working with a real amiga. I can interface my linux filesystem using smbfs on my amiga which comes up on the amiga as a device named PC:

I am using the roadshow tcp/ip stack on my amiga and emacs can telnet in, if I make the following mod in my emacs init.el

(setq bb2-arexx-script "root\r echo \"/**bb2mode.rexx**/*Naddress TED_REXX1*NSHOWSCREEN*NWINDOWTOFRONT*NACTIVATE*NLOADNEW '%s'*NCOMPILE*N\" > ram:bb2mode.rexx")

This is because i need to login as user root when using telent. Can a bb2-telnet-user variable be created to accomplish this instead?

@richardjdare
Copy link
Owner

Hi,
Thanks for writing, I'm impressed you're getting it going on a real Amiga. I've only ever used it with WinUAE. I kinda hoped it would happen eventually but I don't have any real gear for testing on.
I'll add a bb2-telnet-user variable shortly.

@richardjdare
Copy link
Owner

I've added bb2-telnet user. Let me know how you get on!

@gazj82
Copy link
Author

gazj82 commented Apr 16, 2024

Hi Richard,

Sorry it took so long to reply. Any amiga programming is when I finally get some spare time. I got it working with my real amiga after some hurdles.

First, I had to set the bb2-telnet-user="root/n/n". This is because the telnet server (that comes as the roadshow TCP/IP stack I use on my real amiga) expects a carriage return after the username, it then also asks for a password that only needs to be blank in this case but also needs another carriage return to work.

I also found that only the SUPERTED editor accepts arexx requests, not the older TED editors. Is this something you have noticed, it maybe worth mentioning it in the docs if this is the case.

I also didn't seem to have RX in my path, despite started arexx after my paths had been set in my startup scripts. I solved this by copying RX to c:

I will try to make a tutorial for getting this setup on a real amiga and submit a org file that can be used in the docs, if you think it maybe of use to others.

Thanks for your great package. I shall get lots of use out of it. It is so good to just hit "C-c C-e" and the code starts running on a real amiga immediately.

@richardjdare
Copy link
Owner

Hi, thanks for writing. Well done on getting it going on your amiga! Please feel free to send over any modifications and docs, or make a pull request. Sometime I'll put something in the docs about what Blitz versions to use.

What I might do is pull out the hardcoded telnet stuff and make a "connection" data structure, so the user can add their own and choose which one they want to use. I can put your amiga connection details in there, alongside the WinUAE ones, and any other settings that come up for different tcp/ip stacks etc. Then the user can pick the one they want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants