Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Iridium Banner AMIStore App Store A1200/A600 4xIDE Interface

AuthorTopic: newcli VT100 mode?  (Read 767 times)

0 Members and 1 Guest are viewing this topic.

Offline Michele31415

newcli VT100 mode?
« on: November 03, 2021, 06:01:16 PM »
I have my 2000 connected to my Sun with a serial cable.  On the Amiga I can say "newcli aux:" and then on the Sun I can open a tip connection which gives me a shell.  But it's just straight ASCII, so commands like "more" don't work right.  I have TERM=VT100 set on the Sun end.

Is there some way to make the Amiga newcli on the aux: device emulate a VT100?  Note that I'm not asking how to open a VT100 terminal window on the Amiga - there are several programs to do that.
Active: B2000 4.4, A2630, GVP 2000 HC+8, DKB 2632, SCSI2SD, Gotek, Deneb USB, XSurf 3cc, CD ROM, Megachip 2000, ECS Agnus, Denise, OS 3.9, GVP Spectrum EGS 28/24, Silicon Springs GOMF
Retired: A2088, 8-Up, A2090a, Oktagon 2008, Kitchen Sync
Busted: A2091
 

Offline kolla

Re: newcli VT100 mode?
« Reply #1 on: November 03, 2021, 09:44:46 PM »
Well, the Amiga doesn’t have a term database and doesn’t know much about vt100. The Amiga console is closer related to ANSI than to vt100, so it may help a little to use TERM=ansi. However, much of the software just assumes amiga console is used and will never work well over AUX:
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline Michele31415

Re: newcli VT100 mode?
« Reply #2 on: November 14, 2021, 09:49:36 PM »
No, setting TERM=ansi didn't help.  "more" is still seriously confused.  Ah well, at least it's good to know I can just forget about this one.  Thanks!
Active: B2000 4.4, A2630, GVP 2000 HC+8, DKB 2632, SCSI2SD, Gotek, Deneb USB, XSurf 3cc, CD ROM, Megachip 2000, ECS Agnus, Denise, OS 3.9, GVP Spectrum EGS 28/24, Silicon Springs GOMF
Retired: A2088, 8-Up, A2090a, Oktagon 2008, Kitchen Sync
Busted: A2091
 

Offline kolla

Re: newcli VT100 mode?
« Reply #3 on: November 16, 2021, 06:03:07 PM »
If your Amiga had tcp stack, there is a better option…
https://github.com/alpine9000/squirt

It might be possible to alter it to work directly with serial perhaps, but at least I can say that it works great with PPP over serial :)
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 
The following users thanked this post: Michele31415

Offline Michele31415

Re: newcli VT100 mode?
« Reply #4 on: November 16, 2021, 10:02:43 PM »
Hey that looks like the ticket!  I'll give it a try tomorrow.  Thanks  :D

Oh, wait - I get that I can open a terminal window and talk to the Amigha but  am I supposed to compile this project on my Sun or on the Amiga?  They talk about running squirtd but there's only a C file named that there.  And then where do the commands like squirt_cli come from?
« Last Edit: November 16, 2021, 10:18:06 PM by Michele31415 »
Active: B2000 4.4, A2630, GVP 2000 HC+8, DKB 2632, SCSI2SD, Gotek, Deneb USB, XSurf 3cc, CD ROM, Megachip 2000, ECS Agnus, Denise, OS 3.9, GVP Spectrum EGS 28/24, Silicon Springs GOMF
Retired: A2088, 8-Up, A2090a, Oktagon 2008, Kitchen Sync
Busted: A2091
 

Offline Thomas

Re: newcli VT100 mode?
« Reply #5 on: November 17, 2021, 10:09:47 AM »

Go to the Releases page, there you can download binaries.

https://github.com/alpine9000/squirt/releases


Offline Michele31415

Re: newcli VT100 mode?
« Reply #6 on: November 18, 2021, 10:15:45 PM »
Oh duh, of course.  I got the Amiga binaries and fortunately there are sources there too.  I'm trying to build it for Solaris 11.4 SPARC now.

UPDATE:
OK, so it's now compiled for Solaris 11.4.  I downloaded the Amiga binaries to the Amiga but I can't get it to run, either by following their example, or the simplest case:

Code: [Select]
3.FS3:Internet/Genesis> cd db
3.FS3:Internet/Genesis/db> run aux:squirtd work:incoming/
[CLI 4]
aux:squirtd: packet request type unknown
3.FS3:Internet/Genesis/db> aux:squirtd failed returncode 10

3.FS3:Internet/Genesis/db> cd ///
3.FS3:> cd squirt-amiga-v0.2
3.FS3:squirt-amiga-v0.2> dir
  skill                            sps
  squirtd                          ssum
3.FS3:squirt-amiga-v0.2> run aux:squirtd work:incoming/
[CLI 4]
aux:squirtd: packet request type unknown
3.FS3:squirt-amiga-v0.2> aux:squirtd failed returncode 10

3.FS3:squirt-amiga-v0.2> run squirtd
[CLI 4]
3.FS3:squirt-amiga-v0.2> status
Process  1: Loaded as command: AmiTCP:kernel/AmiTCP.020
Process  2: Loaded as command: Workbench
Process  3: Loaded as command: status
Process  5: Loaded as command: AmiTCP:bin/inetd
3.FS3:squirt-amiga-v0.2>

So whether "run squirtd" even worked is open to question.  In any case, nothing happens on the Sun side either:

michele@hemlock:~/squirt-0.3/build$ squirt_cli 192.168.0.8
squirt_cli: failed to connect to server 192.168.0.8
michele@hemlock:~/squirt-0.3/build$ ping 192.168.0.8
192.168.0.8 is alive
michele@hemlock:~/squirt-0.3/build$

Any ideas?
« Last Edit: November 19, 2021, 05:47:33 PM by Michele31415 »
Active: B2000 4.4, A2630, GVP 2000 HC+8, DKB 2632, SCSI2SD, Gotek, Deneb USB, XSurf 3cc, CD ROM, Megachip 2000, ECS Agnus, Denise, OS 3.9, GVP Spectrum EGS 28/24, Silicon Springs GOMF
Retired: A2088, 8-Up, A2090a, Oktagon 2008, Kitchen Sync
Busted: A2091
 

Offline kolla

Re: newcli VT100 mode?
« Reply #7 on: November 19, 2021, 08:33:31 AM »
Huh, why are you trying to run squirtd out of aux:???
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline psxphill

Re: newcli VT100 mode?
« Reply #8 on: November 19, 2021, 01:17:47 PM »
Huh, why are you trying to run squirtd out of aux:???

It's mentioned in the github...

https://github.com/alpine9000/squirt

But it looks very wrong. It's almost like they have a volume or assign called aux.
« Last Edit: November 19, 2021, 01:19:19 PM by psxphill »
 

Offline kolla

Re: newcli VT100 mode?
« Reply #9 on: November 19, 2021, 07:52:19 PM »
Wow, yes, very wrong.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline Michele31415

Re: newcli VT100 mode?
« Reply #10 on: November 19, 2021, 07:58:53 PM »
Huh, why are you trying to run squirtd out of aux:???
Because that''s what the directions said to do   I can run squirtd with no arguments and it returns a prompt with no errors.  But it also doesn't show up in status (though maybe it wouldn't).  It should also be noted that the directions fail to mention you need port 6969 open so I added that to Internet/Genesis/db/inet.access,  But it didn't help.  A port scan of the Amiga's IP does not show port 6969.  When I run squirt_cli on the Sun there are no mentions of any access attempt in the Genesis log.

Of course, this is version 0.2.  Maybe I should just wait for 1.0 to come out.
Active: B2000 4.4, A2630, GVP 2000 HC+8, DKB 2632, SCSI2SD, Gotek, Deneb USB, XSurf 3cc, CD ROM, Megachip 2000, ECS Agnus, Denise, OS 3.9, GVP Spectrum EGS 28/24, Silicon Springs GOMF
Retired: A2088, 8-Up, A2090a, Oktagon 2008, Kitchen Sync
Busted: A2091
 

Offline kolla

Re: newcli VT100 mode?
« Reply #11 on: November 20, 2021, 06:54:34 PM »
I use squirtd 0.2 on all my Amiga systems without any problems, so I don’t know what problem you have. I use Roadshow though. Maybe SnoopDOS may reveal something.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline Michele31415

Re: newcli VT100 mode?
« Reply #12 on: November 21, 2021, 09:46:36 PM »
I use squirtd 0.2 on all my Amiga systems without any problems, so I don’t know what problem you have. I use Roadshow though. Maybe SnoopDOS may reveal something.
Thanks - it's good to know that at least it does work for someone.  So I installed SnoopDOS and started it.  It opened a window that says "Monitoring system activity" but nothing appears in it when I type either "squirtd" or "run squirtd" (though other system activity does show up there).  Also the WB free memory counter doesn't decrement when I start it.  It's like a big no-op.

Maybe there's something wrong with the squirtd file.  It's 5028 bytes long.  Is that right?  Am I starting it correctly?  Just "squirtd"?  Strange stuff.
Active: B2000 4.4, A2630, GVP 2000 HC+8, DKB 2632, SCSI2SD, Gotek, Deneb USB, XSurf 3cc, CD ROM, Megachip 2000, ECS Agnus, Denise, OS 3.9, GVP Spectrum EGS 28/24, Silicon Springs GOMF
Retired: A2088, 8-Up, A2090a, Oktagon 2008, Kitchen Sync
Busted: A2091