Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
56 user(s) are online (45 user(s) are browsing Forums)

Members: 0
Guests: 56

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



« 1 (2)


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

Quote:

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.


Turns out that I was doing this wrong.

Instead of doing:

ULONG isfixed;

IDiskfont->EObtainInfo(olf->olf_EEngine, OT_IsFixed, &isfixed, TAG_END);

I should be doing:

isfixed = IUtility->GetTagData(OT_IsFixed, FALSE, olf->olf_OTagList);

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Joined:
2006/12/2 1:41
From VA, USA
Posts: 231
@salass00

Keep up the great work Fredrik! Looking forward to your
work on the SSH client. Sent some paper thanks.

I was wondering about the terminal emulation aspect of
your client... Are doing your own implementation of ANSI,
VT codes or how is that going to work?

I've been using the console with SSH on a shell account for
years, but it's always been a challenge. Hard to set up.
Hard to get the server talking with the Amiga. Hard to
keep working (apps no longer seem to pay attention to
TermCap, etc., like Alpine).

Very curious to hear what your plans are and how things are
going!

THANKS again,

PJS

   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: 1643
@pjs

Thanks for the donation!

Quote:

I was wondering about the terminal emulation aspect of
your client... Are doing your own implementation of ANSI,
VT codes or how is that going to work?


Right now I'm using libtmt which provides a pretty basic ansi terminal emulation. Later I might look into using libtsm which is similar and has more features, but is also more complex.

Basically libtsm provides the terminal emulation so I feed it whatever data comes from the ssh channel and it handles it appropriately.

What libtsm doesn't do is anything platform specific like opening a window, drawing text or handling input from the user. To do rendering libtsm lets you provide a callback function which is called when the display needs to be updated, like if there is new text or the text cursor has been moved.

The input handling I do right now using IDCMP_RAWKEY and IKeyMap->MapRawKey(), but I think I might change this as MapRawKey() converts some special keys (cursor keys, page up/down, home/end, etc.) into amiga style CSI codes which are not completely ansi compatible. I have some code in place to convert them into ansi but I think it would be easier for me to convert these keys directly from the raw key codes.

   Report Go to top

Re: SSH client for AmigaOS with builtin terminal emulation
Just popping in
Joined:
2017/10/28 10:03
From Netherlands
Posts: 23
@salass00

Cant wait to try out your SSH client. Donation send!



_________________
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
   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: 1643
@Skateman

Thanks for the donation!

   Report Go to top


« 1 (2)



[Advanced Search]


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project