Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
70 user(s) are online (48 user(s) are browsing Forums)

Members: 0
Guests: 70

more...

Headlines

 
  Register To Post  

(1) 2 3 4 5 »
SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Just can't stay away


See User information
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.

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Home away from home
Home away from home


See User information
Wow, at last :) if you need testers let us know

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Just popping in


See User information
@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.

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Just popping in


See User information
Ooh nice! If it is able to render Irssi correctly then yes please :)

X5000, Peg2, mA1
Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Site Builder
Site Builder


See User information
@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.

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Just popping in


See User information
Nice salass00!

A1200PPC/Sam440ep/Sam460ex/X1000/X5020 OS4.1
Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Just can't stay away


See User information
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...

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Just can't stay away


See User information
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.

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Just can't stay away


See User information
NICE one Salass00!!!
Does it support ansi colors as well?

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Just popping in


See User information
+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

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Just can't stay away


See User information
@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.

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Home away from home
Home away from home


See User information
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!
AmigaOS4 on youtube
Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Just popping in


See User information
So we could remotely run Midnight Commander ?

A1200PPC/Sam440ep/Sam460ex/X1000/X5020 OS4.1
Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Just can't stay away


See User information
@salass00

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

The Rear Window blog

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
Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Just can't stay away


See User information
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!

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Not too shy to talk
Not too shy to talk


See User information
@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

"Physical reality is consistent with universal laws. When the laws do not operate, there is no reality. All of this is unreal."
Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Just can't stay away


See User information
@eliyahu

Thanks for the donation!

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Quite a regular
Quite a regular


See User information
If the download doesn't start, replace the zero in the end of the URL by 1

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Just popping in


See User information
Hey Salass00,

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

Bil "tekmage" Borsari

Go to top
Re: SSH client for AmigaOS with builtin terminal emulation
Just can't stay away
Just can't stay away


See User information
@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.

Go to top

  Register To Post
(1) 2 3 4 5 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project