Sam is an interactive multi-file text editor intended for bitmap displays. A textual command language supplements the mouse-driven, cut-and-paste interface to make complex or repetitive editing tasks easy to specify. The language is characterized by the composition of regular expressions to describe the structure of the text being modified. Sam was written by Rob Pike for the Bell Labs Blit/Gnot and later Plan 9, and ported to Unix by Howard Trickey (also of Bell Labs).

Sam can now only be gotten on the web, via that link; the mailing list itself is archived on in /pub/sam. Some extensions by Ed Kubaitis (<ejk at>) are available from in /pub/sam.

Send subscription requests for the sam-fans mailing list to the address sam-fans-request at