C programming and voice over
Submitted by Fritz Sieker on Monday, November 11, 2013.
macOS & Mac Apps
Hi: My name is Fritz Sieker and I am a volunteer at Colorado State university. This semester I am working with a blind student for a class in which he need to program in C. The Mac with X-code seems like a good fit. However, I am a complete novice with voice over and I'm not sure how to help the student. Here is a typical use scenario that works for me and I'm trying to understand how this might function for him: I would typically have two terminal windows open (Not using an IDE). One contains the program being written. The second is used for compiling and testing. When switching between windows (or could be tabs of one terminal). It would be nice to have only the title read as confirmation of the active window/tab. However, voice over seems to want to read much more. It want to tell me that is is a terminal, when I last logged in, and the prompt. Even better would be if voice over were silent, but I could easily ask for the name of the current window/tab. It I use an editor like vim, I can set line numbering which is handy because error are reported by line number. When I simply navigate up/down using the arrow keys, the lines are read out as would expect. However, if I navigate directly to a line number (:line number on vim). Only the line number is read out. To get the whole line to be read, I need to go VO up/down. Is there any direct way to just get voice-over to read "current" line? This would also be useful when navigating to a different window/tab to be able to have the "current" line read. This way I can bounce back and forth between the editor and the compiler error messages. When I actually compile the program, it may produce many errors, often resulting from a single earlier error. It would be handy to be able to navigate to the beginning of the output and then be able to browse the error message one by one without having to hear the entire output. My mode is to fix the first error, then immediately re-compile the program, fixing things one at a time. I try to encourage students to write a little, then compile, fix and test. Many, however like to write lots of code all at once. At any rate, are there resources you could point me to that might help me and my student make progress? Any suggestions would be appreciated. Thanks Fritz Sieker
One easy way to get some help is if you just do the key stroke v o h. or option control h. This will bring up the voice over help menu which is an easy way to look up different commands. It also has a quick start tutorial that you can go through to get a better understanding of how to use voice over. Hope this helps.
Hi. Couldn't your student use a GUI-based editor to write the C source files while having the terminal open at the directory where the source files are located? Textedit might work, but there are lots of other free and paid alternatives on the App Store. If your student or the university were willing to pay a small amount (USD 5), I'd recommend Smultron. It's a very accessible and versatile editor that I've successfully used to create source files in various programming languages. You can find it on the Mac App Store, and the developer's website is http://www.peterborgapps.com/smultron/