X11 Serial Killer?
Chris Benard asks: "I frequently have problems with X just taking control of my keyboard, but not my mouse. My mouse still moves, but it isn't able to interact with X (not unlike a windows freeze). However, I would like to know if there is a program to listen on a serial port for commands and execute them as root. I have an HP48G calculator, and I would like to make a few short commands to execute from it to my serial port, such as killall -9 X and killall -9 netscape-communicator. Please let me know of any programs existing and any SDKs that I might use to produce my own program. " Has anyone managed to come up with a hack that might work for this situation?
All I did is run getty to ttyS1 (where my palm is) and run a palm telnet app on the PDA, login just like a dumb terminal except dumb terminals don't have graffiti. :) login in as root, kill X, whatever ya want to do. Also came in handy for me when SVGAlib froze my console playing quake2. Not sure how this can work with the Ti, but if it has a telnet app and a serial cable of some sort, it might work.
bash: ispell: command not found
This sig left intentionally blank.
Go to the HP48 Terminal Emulation Programs page and download a terminal emulator.
I think this is what you are looking for.
Yes.
ObComment: Since this isn't a default part of any binary distribution I know of, you'll have to compile it. While there, it should take only a few minutes to remove the keyboard commands you don't want users to have...but then you won't have them either.
A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
A standard getty and a HP term emulator will work great if you need an extensive set of stuff to be run, and you are on a 'secure' system. If you don't care about security on the box, and only need a couple of commands run, there is a getty out there called rungetty that can run other programs instead of login; All you'd need is to 'fake' a serial connection to have it run said program. (I keep one running on a spare serial port that runs reboot; All I needed was a momentary toggle to complete it)
.sig: Now legally binding!
That's interesting...it looks like they took it out in 6.2 (I just looked at a 'fresh' test system).
A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.