From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7730 invoked from network); 29 Jun 1999 10:55:35 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Jun 1999 10:55:35 -0000 Received: (qmail 14897 invoked by alias); 29 Jun 1999 10:55:15 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6910 Received: (qmail 14888 invoked from network); 29 Jun 1999 10:55:10 -0000 X-Envelope-Sender-Is: Andrej.Borsenkow@mow.siemens.ru (at relayer david.siemens.de) From: "Andrej Borsenkow" To: "ZSH workers mailing list" Subject: PS1 or PS2 Date: Tue, 29 Jun 1999 14:54:41 +0400 Message-ID: <000801bec21d$ca3e8e50$21c9ca95@mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 I already wrote about this: when on PS2 up-line-or-history moves to previous history event instead of previous line of current event. It just occured to me, that something like if we-are-on-PS2 zle .push-line-or-edit zle .up-line-or-history would do quite nicely ... but how can I find out (in user defined widget) that I am on PS2? The info is available (push-line-or-edit has it) - is it possible to make it available to user widgets as well? /andrej