Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: blakespot on April 05, 2017, 06:14:56 PM

Title: OS4 terminal emulator w/ ANSI color emulation?
Post by: blakespot on April 05, 2017, 06:14:56 PM
There doesn't seem to be one out there. Anyone know of one?
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: kolla on April 05, 2017, 06:46:32 PM
No need for any terminal emulation, the "Shell" (console device/handler) of Amiga already supports ANSI colour control codes. As do terminal emulators such as Term, VLT, AmTelnet, AmTerm and probably a whole lot more.
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: blakespot on April 05, 2017, 07:17:02 PM
Quote from: kolla;824216
No need for any terminal emulation, the "Shell" (console device/handler) of Amiga already supports ANSI colour control codes. As do terminal emulators such as Term, VLT, AmTelnet, AmTerm and probably a whole lot more.


Ah, I was looking at OS4 native apps (OS4Depot).

AmTerm seems full featured, but I can't run it -- complains I'm using an old version of MUI's Term.MCC and it needs V19 or better. I installed OS4 and MUI updates come via 4.1FE's update tool and include MUI, I believe. Also I don't see the file alone anywhere online.

Is it wise to "branch" off and find a different ver of MUI and lay it onto OS4? That seems not a good course, somehow. Thoughts?

Thanks.
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: cgutjahr on April 05, 2017, 08:18:15 PM
Quote from: blakespot;824217

AmTerm seems full featured

The best Terminal emulation on OS3 was Olaf Barthels Term (http://aminet.net/package/comm/term/Term). Given the author, it's probably safe to assume this is written properly and runs fine on OS4. And it doesn't require MUI which is always a very, very good thing.

What is it that you actually want to do? A port of SSH or (if the server is local) Telnet might be all you need.

Quote

Is it wise to "branch" off and find a different ver of MUI and lay it onto OS4?

No. Especially not for a terminal program, there's plenty of alternatives out there.
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: blakespot on April 05, 2017, 09:55:25 PM
Thanks. I want to telnet / ssh into my linux server and visit telnet-based ANSI-based BBS's in color on the SAM440.
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: blakespot on April 06, 2017, 02:03:48 PM
I downloaded Term by Olaf -- for '020/'030/etc and it doesn't run under OS4.1FE. It throws the address book icon on the workbench, but does not present a screen itself. And when I try to run it again it complains that serial.device is busy (I want to use it over ethernet for SSH/Telnet tho)- so it seems to be running in some form that is not visible. Any other suggestions?

Thanks.

In the end I want to SSH/Telnet to a Limux box and have color, ANSI emulation on board.

bp
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: cha05e90 on April 06, 2017, 02:36:58 PM
The last time I used Term it *does* run on OS4.1. AFAIK there you have to carefully set it up in regards of interfaces and maybe GUI libs - but it should work.
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: cgutjahr on April 06, 2017, 04:01:27 PM
Quote from: blakespot;824237
I downloaded Term by Olaf -- for '020/'030/etc and it doesn't run under OS4.1FE.

I'm 100% sure it used to run under 4.0 and (probably) 4.1, can't remember the exact setup required though - it's been to long.

Quote

And when I try to run it again it complains that serial.device is busy (I want to use it over ethernet for SSH/Telnet tho)

You need to use a replacement (fake) serial.device that supports TCP, these can be found on Aminet. That's true for any Amiga Terminal program you might want to use though.

Quote

In the end I want to SSH/Telnet to a Limux box and have color, ANSI emulation on board.

Unless said Linux box is local, you shouldn't use Telnet, AmTelnet or any Amiga terminal programs due to their lack of or completely outdated encryption technology.

For SSH'ing into a Linux box I simply used Steven Solie's ssh port (http://os4depot.net/index.php?function=showfile&file=network/misc/openssh.lha). I did have some setup issues with either the cursor keys or the German umlauts (can't remember the details) - but given the upload date of the package now on os4depot, I was probably using an earlier version.

As for how much ANSI the OS4 console supports - no idea. just give it a try.
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: blakespot on April 06, 2017, 04:19:12 PM
Quote from: cgutjahr;824241
...
You need to use a replacement (fake) serial.device that supports TCP, these can be found on Aminet. That's true for any Amiga Terminal program you might want to use though.
...


Thanks. I've searched aminet and OS4Depot and don't see anything like that, aside from one that's speciflcally for AmiTCP. Could you point me to such a .device? I'm on a SAM440ep-Flex btw.

Thanks



bp
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: kolla on April 06, 2017, 05:04:37 PM
http://aminet.net/package/comm/tcp/telser140
http://aminet.net/package/comm/tcp/Telser_Keyfile
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: blakespot on April 06, 2017, 05:44:44 PM
Quote from: kolla;824243
http://aminet.net/package/comm/tcp/telser140
http://aminet.net/package/comm/tcp/Telser_Keyfile


Thanks.

The installer drops in different .device files (and other files) depending on whether target platform is running AmiTCP, AS225 R2, I-Net 225, or MultiLink. Are you using this with OS4? The odds of this working with OS4 seems slim, unless it's a work-alike to one of the above. Any advice, here? Thanks.
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: cgutjahr on April 06, 2017, 06:15:05 PM
Quote from: blakespot;824245

The installer drops in different .device files (and other files) depending on whether target platform is running AmiTCP, AS225 R2, I-Net 225, or MultiLink.

AmiTCP set the standard for Amiga TCP stacks: it makes a bsdsocket.library available that external programs can then use to send TCP requests. All later TCP stacks are compatible with that approach, including OS4's roadshow.

I'm pretty sure people had telser.device running in the early days of OS4. I don't know if it still works with FE though. And frankly, setting this up is not a beginner's job - you might want to try other approaches before going down that route.

Is there a reason you don't want to try ssh? Unless you're 'calling' an actual BBS connected to the internet (which would introduce additional requirements like ZModem, that SSH can't provide), I don't see a reason to use a terminal program.
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: kolla on April 06, 2017, 06:22:50 PM
Yes, it works with Roadshow, I use it all the time. You need AmiTCP: assign set up, and AmiTCP:bin, AmiTCP:db, AmiTCP:etc and AmiTCP:serv, and then you can just let the installer do its thing. The AmiTCP: paths are hardcded into the binary...Did you ever try AmTelnet btw?
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: blakespot on April 06, 2017, 07:06:06 PM
Quote from: cgutjahr;824249
Is there a reason you don't want to try ssh? Unless you're 'calling' an actual BBS connected to the internet (which would introduce additional requirements like ZModem, that SSH can't provide), I don't see a reason to use a terminal program.


The only thing I want here is the ability to telnet to BBS's and to do so in a terminal that has accurate ANSI color emulation (typically black background, and the various 15 other text colors). So I am not actually going for dialup ability.
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: blakespot on April 06, 2017, 07:39:36 PM
Quote from: kolla;824251
Yes, it works with Roadshow, I use it all the time. You need AmiTCP: assign set up, and AmiTCP:bin, AmiTCP:db, AmiTCP:etc and AmiTCP:serv, and then you can just let the installer do its thing. The AmiTCP: paths are hardcded into the binary...Did you ever try AmTelnet btw?


Thank you! AmTelnet is basically what I have been looking for! I don't know why I went with AmTerm, earlier. It installs and runs fine, and is demonstrating ANSI colors and screen animations, etc. Actual ANSI glyphs are not rendering -- it's not using a PC ANSI font, and one is not mentioned in the docs. I also don't see a way to specify font in the MUI options. Not sure how to resolve this, surely there's some way.

Also - and this is more of an OS4 general question, but during installation I noticed several MUI .mcc files were installed in the System MUI directory. The AmTerm install MUI/ dir contains 5 .mcc files. I noticed that:

- Some of the files were not there before (Term.mcc for example) and were installed in the system MUI dirs

- Some did exist in the system previously and were rather different in file size than what the AmTerm install files show. They were overwritten during this install without warning.

- Some did exist in the system previously and were _not_ overwritten, judging from file size differences.

How is the installer making these calls as far as what to overwrite and what not to? Seems overwriting must sometimes lead to trouble. Can't take a sys: snapshot before installing anything, everytime.

Is this something I should worry about, or is this just par for the course as far as app installs on OS4?

Thanks
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: kolla on April 06, 2017, 08:12:49 PM
Maybe this is of help? :)(http://amiga.org/forums/picture.php?albumid=215&pictureid=1402)
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: kolla on April 06, 2017, 08:21:31 PM
Regarding mui classes, you should be careful. OS4 had PowerPC native mui classes, the ones coming with AmTelnet are of course 68k binaries - you want to keep PPC native ones :) Mui classes typically, but not always, come in pairs, for example term.mcc and term.mcp - the mcp is the prefs programs to the class.

But ugh... the installer overwriting files without notifying the user and offer to do backup is bad. A away around this problem is doing what MorphOS does, by having assigns set up so user writable directories are ahead of system owned directories in the assign paths. I admit that I am reluctant about running installer scripts just like that, more often I am curious about what the script is about to do, so I read them first :p
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: blakespot on April 06, 2017, 08:51:28 PM
Quote from: kolla;824258
Maybe this is of help? :)(http://amiga.org/forums/picture.php?albumid=215&pictureid=1402)


How did you get that up? When I go to MUI Prefs within AmTelnet things look generic, nothing specific to AmTelnet II. Thanks.


bp
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: blakespot on April 06, 2017, 09:52:36 PM
Many thanks! Looks like the ANSEY font is the best to use, as it is aimed at square pixel aspect ratios. Looks great!

(https://c1.staticflickr.com/4/3944/33724596412_bf94b87c45.jpg) (https://flic.kr/p/To8nyQ)
Running AmTelnet (BBS w/ ANSI emulation) under AmigaOS 4.1 (https://flic.kr/p/To8nyQ) by Blake Patterson (https://www.flickr.com/photos/blakespot/), on Flickr



bp
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: kolla on April 06, 2017, 10:35:14 PM
Excellent, looks really good :)
I have been meaning to look into who might have the sources for AmTelnet etc, there are some bugs to iron out, and an update of the ssh support would of course have been wonderful. Sadly, Oliver Wagner, who ran Vapor-ware, is no longer around, he passed away not so long ago. :(

Btw - if you have Term, it comes with zmodem transfer library in its Libs drawer. If you add that drawer to your Libs: assign, or copy the zmodem library file to your libs:, AmTelnet supports zmodem transfers :)
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: blakespot on April 08, 2017, 01:11:48 AM
Thanks much
Title: Re: OS4 terminal emulator w/ ANSI color emulation?
Post by: chris on April 08, 2017, 08:57:02 PM
Quote from: kolla;824269
Excellent, looks really good :)
I have been meaning to look into who might have the sources for AmTelnet etc, there are some bugs to iron out, and an update of the ssh support would of course have been wonderful. Sadly, Oliver Wagner, who ran Vapor-ware, is no longer around, he passed away not so long ago. :(


Might be worth tracking down David Gerber, who was also involved with Vaporware, if he is still around.  Just don't mention OS4, or even OS3.5/9.

There is some Vapor software missing from Aminet, which I keep meaning to upload, but it involves following long broken links and archive.org, so I haven't had the energy.