User:Bjordan/XOdev: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
strace date # [http://linux.die.net/man/1/strace Learn to watch programs work!]
strace date # [http://linux.die.net/man/1/strace Learn to watch programs work!]
sugar-control-panel -s radio off # [[Airplane mode]]... thanks Henry!
sugar-control-panel -s radio off # [[Airplane mode]]... thanks Henry!
grep -v # Inverse grep (don't show these lines)
strace -eopen # (or e trace=open, trace only system open call)

Revision as of 20:10, 20 June 2008

I use my XO to test and debug my projects for a few reasons, (1) XO processor speed is a limiting factor while working on Physics, (2) I set up a good development environment using FusionFS, and (3) I never got around to compiling/SWIG wrapping Box2D and figuring out the Elements build process on my Mac.

Shell commands I've used to make testing/debugging on the XO possible/more tolerable:

sudo yum install emacs # Though vi and nano are included in builds, I learned emacs in COMP211 at Wesleyan
sudo yum install lsof # Used to slim down Elements into Physics
strace date # Learn to watch programs work!
sugar-control-panel -s radio off # Airplane mode... thanks Henry!
grep -v # Inverse grep (don't show these lines)
strace -eopen # (or e trace=open, trace only system open call)