Subject: Re: Animated prompt?
To: None <books@medianet.pl>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 02/06/2007 21:29:41
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1776929993-1170818981=:6862
Content-Type: TEXT/PLAIN; charset=US-ASCII

> Is there such trick, or could anyone think of reasonable solution for 
> animated shell prompt? 
> 
> I mean something like twirling baton -/|\-/|\... somewhere, 
> indicating that system is alive (and possibly, roughly, how much 
> loaded it is), or time display along with standard 
> "user@machine:path$", or even kind of animated ASCII art (which could 
> be a hint as for possible solution - at least for terminals capable 
> of such feature).
> 
> Happy hacking! Anyone?.. ;)

I don't know of any animated shell prompt. But you can use VT100 blink 
sequence to make some parts of your prompt blink. I have attached an 
example that works for me with ksh.

PS1=`cat prompt.test`

Another idea is to use a flashing cursor.

As for redrawing the prompt, make patching a shell itself.

  Jeremy C. Reed
--0-1776929993-1170818981=:6862
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; name=prompt.test
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.64.0702062129410.6862@glacier.reedmedia.net>
Content-Description: 
Content-Disposition: attachment; filename=prompt.test

JHtQV0R9G1swOzVtJBtbMG0gDQo=

--0-1776929993-1170818981=:6862--