From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1195 invoked from network); 19 Mar 2000 07:49:40 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 19 Mar 2000 07:49:40 -0000 Received: (qmail 27003 invoked by alias); 19 Mar 2000 07:49:30 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2977 Received: (qmail 26989 invoked from network); 19 Mar 2000 07:49:29 -0000 From: "Bart Schaefer" Message-Id: <1000319074920.ZM3358@candle.brasslantern.com> Date: Sun, 19 Mar 2000 07:49:20 +0000 In-Reply-To: Comments: In reply to nirva@ishiboo.com (Danny Dulai) "Re: clear to end of display" (Mar 19, 7:08am) References: X-Mailer: Z-Mail (5.0.0 30July97) To: nirva@ishiboo.com (Danny Dulai), zsh-users@sunsite.auc.dk Subject: Re: clear to end of display MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 19, 7:08am, Danny Dulai wrote: } Subject: Re: clear to end of display } } >If it's always in the upper right, you might try printing it with a } >TRAPALRM() function rather than putting it in the prompt. } } That sounded like a good idea until I tried it out. xterms scrolled back } jump down You can turn that off with a resource. XTerm*scrollTtyOutput: false } and often the time is not there because I'm a obsessive clearer } of my screen. That must have something to do with trying to see through it. } >PS1="%{"$'\e7\e[1A\e[1B\e[1;1H'%E$'\e[1;72H'"%D{%I:%M:%S}"$'\e8'"%}%m%# " } } This doesnt work.. if I use this prompt and then type clear, it clears the } date and leaves the machien name followed by a % on the top line.. Oops, I transcribed it wrong. Move the \e7 to after the \e[1B and it should work. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com