Jeremy Ruten has written an incredible tutorial on how to Build Your Own Text Editor. The end product is a small editor that in less than 1000 lines of C code, achieves the basic functionality needed to make a text editor useful.
Stephen Brennan has written a great tutorial on building a minimal shell. In very few lines of code, you achieve the functionality shown below:
Running through the tutorials has given me a very good idea of what I need to implement if I want to have similar applications running on the Homebrew Computer. For example, functionality like
strcmp, and robust pointer handling are a must.