Ok, I'm learning a lot here. With the kind help of reyalp and a couple wiki pages like http://chdk.wikia.com/wiki/UBASIC/TutorialScratchpad,
I'm getting to where I need to be with controlling my S95 from my Linux computer.
So far I've gotten the camera to display "hello world" through chdkptp with something like this:
$ ./chdkptp -i
con> lua print "hello, world" sleep "1000"
But what I can't do (using the S95) is get it to capture an image through chdkptp, maybe I'm going about it the wrong way?
con> lua shoot
ERROR: :68: '=' expected near '<eof>'
user code: 1
I thought that was the correct syntax for lua to capture. Even when I try to simulate the button press to capture an image, it doesn't do anything, though:
con> lua click "shoot_full"
But then nothing happens. Now the camera starts up in playback mode, so I imagine I would have to set it to record mode for it to be able to take a picture, right? I haven't seen anywhere that has the syntax to do that in lua or through chdkptp, though.
I usually have the camera turned off, then plug into the computer, then turn on, and that starts it up in playback mode. But even if I turn it on and switch it to record mode (usually just by pressing the capture button) and then plug it into the computer, once it's plugged in, it goes to playback mode. When it's in playback mode (or whatever mode it's in when it's plugged in), even when I push the capture button on the camera to try to put it in record mode, nothing happens except a counter in the upper right part of the LCD screen shows up and increments each time.
So obviously I'm pretty new to this and any help would be greatly appreciated. Basically I just need to be able to capture and download pictures in Linux via the command line. Eventually I would like to get into setting parameters like ISO, shutter speed, etc from the computer as well, but baby steps for now.