Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
47 user(s) are online (40 user(s) are browsing Forums)

Members: 0
Guests: 47

more...
Support us!
Recent OS4 Files
OS4Depot.net



(1) 2 »


SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1649
Screenshots:
https://www.dropbox.com/sh/114q39ukaho ... KS7AT5S8B7R9Va8R9D4a?dl=0

It is based around the same libssh2 library that ssh2-handler and uses libtmt for the terminal emulation.

Currently it is possible to login to an SSH server and type in and run some simple commands (as can be seen from the screenshots), but there is still quite a bit of work to do.

Some things that still need to be fixed:
- colour support
- non-ascii characters are rendered incorrectly
- special keys like cursor keys and page up/down do not work
- bold characters are not rendered correctly because they seem to need more space

Right now text rendering is done using IGraphics->Text() because this was the simplest way to implement it but I'm considering switching it out for bullet API so that the program can have full UTF support.

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5324
Wow, at last :) if you need testers let us know

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Joined:
2006/11/29 7:57
Posts: 141
@salass00

Cool!
When it's done i'm sure it will be of lots of use for many nerds.

I would appreciate if you gives it full UTF support.

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Joined:
2014/10/29 11:00
From Finland
Posts: 17
Ooh nice! If it is able to render Irssi correctly then yes please :)

_________________
X5000, Peg2, mA1
   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Site Builder
Joined:
2006/12/2 23:57
From Athens
Posts: 479
@salass00
Great news... Looking forward to test it and use it more.

Hope link files can show the linked path and can be used for navigation.

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Joined:
2008/5/22 19:13
From Belgium
Posts: 104
Nice salass00!

_________________
A1200PPC/Sam440ep/Sam460ex/X1000/X5020 OS4.1
   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1649
Some progress:

I fixed bold characters getting clipped by adding font->tf_BoldSmear to the space reserved for characters horizontally.

I also added some code for converting unicode characters into the local character sets, replacing with '?' any characters that don't have a matching representation.

After implementing the latter I noticed that the libtmt code for parsing utf-8 multi-byte characters doesn't seem to be working correctly, so it is something I will have to look into...

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1649
The fix for the utf-8 parsing was just that I needed to add:

setlocale(LC_CTYPE, "C-UTF-8");

in my start code to enable utf-8 support in newlib.

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Joined:
2006/11/26 16:47
Posts: 1429
NICE one Salass00!!!
Does it support ansi colors as well?

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Joined:
2008/8/21 0:11
Posts: 66
+1 from me! I'd love the ability to SSH out from my OS4 machines. Looking forward to the first release.

Keep up the great work.

Bill "tekmage" Borsari

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1649
@spotUP

ANSI colors are now supported:

Resized Image

The libtmt color handling is a bit weird in that TMT_COLOR_DEFAULT is -1 and the first ANSI color (TMT_COLOR_WHITE) is 1, but when a new terminal is created all the cells are set to have their foreground and background colors set to zero which is not a defined value. It took me a while to realise why my first compile with color support wasn't working correctly because I assumed I would only be seeing color values defined in the tmt_color_t enum.

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Home away from home
Joined:
2007/9/11 11:31
From Russia
Posts: 5324
Oh looks cool!

As i see it independent from os4's console app running in its own window, so scroolbar/history/buffer feature need to be implemented the same as any other functionality which may need in that kind of app ? Or maybe it possible connect it with os4's console somehow ?

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites
   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Joined:
2008/5/22 19:13
From Belgium
Posts: 104
So we could remotely run Midnight Commander ?

_________________
A1200PPC/Sam440ep/Sam460ex/X1000/X5020 OS4.1
   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Joined:
2009/5/1 17:57
From Czech Republic
Posts: 1045
@salass00

I have sent you a small donation. And may I encourage everyone to do the same from Fredrik's website?

_________________
Smoke me a kipper, I'll be back for breakfast!

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1649
Cursor keys as well as page up/page down and insert keys are now working. I still haven't gotten the home and end keys to work correctly though (I tried using "\033[H" and "\033[Y" for them as described in "tmt.h" but the cursor jumps around in very odd ways rather than going to the beggining/end of the current line as it's supposed to).

@trixie

Thanks for the donation!

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Not too shy to talk
Joined:
2010/6/17 14:04
From Waterbury, Connecticut (USA)
Posts: 256
@salass00

a massive thanks for this. i've been wanting a proper terminal for *so* long. i sent a small donation your way as well. thank you for all your contributions to the amiga scene.

-- eliyahu

_________________
"How do you know I’m mad?" said Alice.
"You must be," said the Cat, "or you wouldn’t have come here."
   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1649
@eliyahu

Thanks for the donation!

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Quite a regular
Joined:
2007/2/27 10:47
From Gravity well
Posts: 644
If the download doesn't start, replace the zero in the end of the URL by 1

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Joined:
2008/8/21 0:11
Posts: 66
Hey Salass00,

Any update on this project? Can't wait for working SSH on my X5K!

Bil "tekmage" Borsari

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Joined:
2006/11/30 11:30
From Finland
Posts: 1649
@tekmage

I've been working on a font backend to transparently handle outline fonts via bullet API (for full unicode support) and regular bitmap fonts via graphics library.

The bullet API code is however not working at the moment because both of the two fonts I've tried ("Bitstream Vera Sans Mono.font" and "DejaVu Sans Mono.font") return FALSE for OT_IsFixed and zero values for OT_YSizeFactor and OT_SpaceWidth.

   Report Go to top


(1) 2 »



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project