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

0 Members and 2 Guests 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

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Ncubate v.0.32b is out
« Reply #20 on: December 13, 2010, 02:42:23 pm »
tiDE project feature addition?

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.