Yeah - cat > file
then just type until done and hit ctrl-d. And I'd use less to view it because, well, less is more.
Not sure I followed the last bit, but you can launch an X app as root from an xterm.
-- Duh - you can *create* a file with cat. To edit it, you'd have to use ed or sed. *g*
Last edited by slakmagik; 10-29-2003 at 12:24 PM.