Author Topic: Ncubate v.0.32b is out  (Read 11308 times)

0 Members and 1 Guest are viewing this topic.

SirCmpwn

  • Guest
Re: Ncubate v.0.32b is out
« Reply #15 on: December 12, 2010, 01:10:19 pm »
Hello,
I'd like to request the addition of command-line commands for everything, like send file and such, so I can just type things into the command line or modify the input stream to do stuff.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ncubate v.0.32b is out
« Reply #16 on: December 12, 2010, 02:05:52 pm »
Adding commands to connect and send a file should be easy, what else would you need?
What do you mean by "modifying the input stream"? Do you want to control the emulator with another program? Then we should probably choose a better solution for inter-process communication.
Ndless.me with the finest TI-Nspire programs

SirCmpwn

  • Guest
Re: Ncubate v.0.32b is out
« Reply #17 on: December 12, 2010, 02:10:09 pm »
I do want to control the emulator from another program, but a managed program, which would be a headache to find a better way.  How about this for commands:
connect
disconnect
sendf
setdir
setbreak
clearbreak

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ncubate v.0.32b is out
« Reply #18 on: December 12, 2010, 02:13:09 pm »
Isn't the existing 'k' command OK for setbreak/clearbreak?
Ndless.me with the finest TI-Nspire programs

SirCmpwn

  • Guest
Re: Ncubate v.0.32b is out
« Reply #19 on: December 12, 2010, 02:24:43 pm »
Yes, my bad, I forgot about that one.

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55829
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Ncubate v.0.32b is out
« Reply #20 on: December 13, 2010, 02:42:23 pm »
tiDE project feature addition?
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ncubate v.0.32b is out
« Reply #21 on: December 13, 2010, 04:21:08 pm »
SirCmpwn, could you please try this version and tell me if it suits you?
http://bytecode.fr/miscfiles/ti/nspire/ncubate-v032c-alpha.zip

I have added 'ln' commands, see ReadMe.txt and command '?' .
Ndless.me with the finest TI-Nspire programs

SirCmpwn

  • Guest
Re: Ncubate v.0.32b is out
« Reply #22 on: December 13, 2010, 04:44:17 pm »
Those look like they will work great, but can you allow input at any time via the command line, including outside of debug mode?  I don't want to force-press Ctrl+D from a program running it, that's just too complex.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ncubate v.0.32b is out
« Reply #23 on: December 14, 2010, 02:26:41 pm »
The debug commands require the emulator to be interrupted as it is designed, changing this only for the link commands would be quite complicated.

I don't know exactly how you are integrating with the emulator, but couldn't you send automatically a 'Ctrl+D' event? Or would you prefer to send a command to stdin while the emulator is running to ask it to enter debug mode?
Ndless.me with the finest TI-Nspire programs

SirCmpwn

  • Guest
Re: Ncubate v.0.32b is out
« Reply #24 on: December 14, 2010, 05:01:42 pm »
I guess I could send a Ctrl+D event, but I'd have to give the emulator focus first, which is hard in .NET

SirCmpwn

  • Guest
Re: Ncubate v.0.32b is out
« Reply #25 on: January 16, 2011, 06:36:18 pm »
So how's this coming?  Could I send commands via stdin?

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Ncubate v.0.32b is out
« Reply #26 on: January 17, 2011, 02:40:03 pm »
Sorry SirCmpwn, I am not working at all on Ncubate at the moment. Ndless's todo list is getting longer and longer...
Ndless.me with the finest TI-Nspire programs

SirCmpwn

  • Guest
Re: Ncubate v.0.32b is out
« Reply #27 on: January 17, 2011, 02:42:16 pm »
No problem. I was thinking intra-system pipes would work well (though it would be complicated), but perhaps more work can be done after Ndless 2.0 is out.