Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: nick65go on September 07, 2014, 11:47:23 AM

Title: terminal server button from cpanel does not work
Post by: nick65go on September 07, 2014, 11:47:23 AM
using original core32 ver 5.3, terminal server button in Control Panel does not work
when staring "cpanel" from aterm, then touch terminal server button, it does nothing;
but I see in aterm the errors:
aterm: bad option "Server"
aterm: bad option "Setup"

but I can directly use "sudo tc-terminal server", which starts the program.
in corepure64 5.3 or 5.4rc1 it starts OK from cpanel.
Title: Re: terminal server button from cpanel does not work
Post by: curaga on September 07, 2014, 04:08:41 PM
aterm bug it seems, when called as xterm it doesn't accept spaces in -T, even when quoted. pure64 works because it has an out-of-date cpanel that calls aterm instead of xterm.

Actual xterm is just fine with
Code: [Select]
xterm -T "space test"
Title: Re: terminal server button from cpanel does not work
Post by: bmarkus on September 07, 2014, 04:12:49 PM
Will take a look on aterm.
Title: Re: terminal server button from cpanel does not work
Post by: curaga on September 07, 2014, 04:21:43 PM
Checking further, it's the fault of the xterm wrapper script, not aterm.

Changing
Code: [Select]
$* to
Code: [Select]
"$@" fixes it. bmarkus, would you update the wrapper? I see it was written by you.
Title: Re: terminal server button from cpanel does not work
Post by: bmarkus on September 07, 2014, 04:24:47 PM
Sure, I will do.
Title: Re: terminal server button from cpanel does not work
Post by: curaga on November 04, 2014, 08:42:28 AM
The 5.x and 6.x aterm extensions still don't have this?
Title: Re: terminal server button from cpanel does not work
Post by: bmarkus on November 04, 2014, 09:20:13 AM
The 5.x and 6.x aterm extensions still don't have this?

Huhh... Not. Will fix today evening
Title: Re: terminal server button from cpanel does not work
Post by: bmarkus on November 04, 2014, 12:55:56 PM
aterm.tcz fixed, please try.
Title: Re: terminal server button from cpanel does not work
Post by: curaga on November 04, 2014, 01:07:40 PM
Confirming fixed, thanks.