Tab not working?

I couldn't get shm/tab to work properly.  (this edit is done using the github editor, indentation might be wrong).