Hacker News new | past | comments | ask | show | jobs | submit login

A Sam language tutorial by Rob Pike:

http://doc.cat-v.org/bell_labs/sam_lang_tutorial/

A cool thing about sam is that it has a client-server design, so you can run the GUI on your local system and still edit stuff remotely. This works very well even over very high latency connections.

See the -r flag: http://man.cat-v.org/p9p/1/sam

I still use ed for any short/small edits, it is hard to beat.

It works even better if you have a terminal like in rio/9term where you can edit/send history very easily.

cat also works quite well in such terminals thanks to 'hold mode' (cat > foo, press Esc, edit your text freely, press Esc again and ^D).




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: