Can anyone think of a way to make the Zaurus _beep_ from a Python program running in the terminal on the standard Sharp Rom? (Zaurus 5600. Default Sharp ROM. Standard Sharp terminal application.)
I've been using the old 'Riverbank' distribution of Python on the Z to write and execute programs on it for a few months now. Now, I'm writing a program which I want to do one simple thing: Beep to alert the user of a change. An ear-piece headphone + beep + zaurus = ability for the Z to alert the user tactfully of the Python program's output.
What I've tried so far:
1. I tried 'tput bel' on the Z's terminal, because it works on my Linux desktop, but the Z says there is no 'tput' command. I looked in the /bin , /sbin , /usr/bin , and usr/sbin to verify that.
2. I tried to use the Python 'curses' module. The one which I installed on the Z from RiverBank doesn't have the curses module. So much for curses.beep() on the current platform.
3. I can't think of a way to use the ( #include <curses.h> ) strategy from a C program because I still haven't figured out a way to put C programs on the standard Sharp ROM. That's why I'm using Python.
4. By the way, ZGCC doesn't seem to work with the default Sharp ROM. Am I wrong about this?
5. I looked for a .ipk for the curses module on Python. I can't seem to find one that doesn't already require an installation of ZGCC.
6. Riverbank seems to say that they don't support the distribution of Python which I'm using, or any other distribution of Python for the Z anymore, so I can't get such a curses module from them, apparently.
The link which they gave also seems to require zgcc
Am I overlooking something? Could I just get the Z to beep through some other clever stategy? It beeps when a key is hit. I wonder if I could get it to beep by overloading it somehow. Could I somehow play a sound file from the terminal with a command? Messy, but I'm almost desperate. Am I stuck? Should I finally give in and try to make the switch to Open Zaurus? Yet another delay.
C.H.E.I.F. - Cyborgs Having & Encouraging Individual Freedom