From mboxrd@z Thu Jan 1 00:00:00 1970 From: ggm@algebras.org (George Michaelson) Date: Wed, 6 Dec 2017 16:01:01 +1000 Subject: [TUHS] shell PS1/PS2 which survive cut-paste In-Reply-To: <201712060553.vB65rFa3002734@freefriends.org> References: <201712060553.vB65rFa3002734@freefriends.org> Message-ID: So.. arnold.. you never used the ! command in ex or vi? because it will treat a range command as the bounding set of lines to feed into the command.. if you specify sh or /path/to/shell then its functionally a cut-paste-exec sequence isn't it? emacs has the same functionality (in some syntactic suger) I used fmt all the time in vi, to get <72 for mail in MH. which led me to find other things you can pipe the editor lines through... -G