From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1158 invoked from network); 5 Mar 2002 10:35:43 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 5 Mar 2002 10:35:43 -0000 Received: (qmail 15219 invoked by alias); 5 Mar 2002 10:35:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16764 Received: (qmail 15208 invoked from network); 5 Mar 2002 10:35:34 -0000 Date: Tue, 5 Mar 2002 02:34:47 -0800 From: Derek Peschel To: zsh-workers@sunsite.dk Subject: prompt from noninteractive shell? Message-ID: <20020305023447.B12155@eskimo.eskimo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i I whipped up some test cases of the history mechanism, specifically of the way the event numbers change. (The option that prevents "history" commands from being stored in the list does unintuitive things to the event numbers, and I wanted to investigate that further.) Is there a way to get a shell to source a bunch of commands and still print prompts after each one? It would be much easier than "cut, paste into an interactive shell, note the prompts". (Prompts are a good testing mechanism because you can easily find out lots of information.) -- Derek