Binary package “sam” in ubuntu hardy

the plan9 text editor -- ed with a gui and multi-file editing

 sam -d can be used without X (with an ed-like interface -- but with
 more powerful regular expressions, the capacity to edit multiple
 files with a single command, and unlimited undo). Files can be added
 to an exiting sam session using the B command.
 .
 sam without the -d option is an graphical editor with pop-up menus
 and a point+click interface. You'll want to read sam's manual page to
 use the full power of sam, but you can probably figure out how to do
 basic editing with a minimum of trial and error.
 .
 If you have a Plan 9 terminal, you can use the Plan 9 terminal with
 sam to edit unix files, but not vice-versa; the Plan 9 authentication
 scheme does not honor remote execution requests from a non-Plan 9
 system.