Lovely. Thanks. T.
W. Paul Mills wrote:
From man bash:\[ begin a sequence of non-printing characters, which could be used to embed a terminal conĀ trol sequence into the prompt \] end a sequence of non-printing characters So, try this: \[\e]0;[EMAIL PROTECTED]:\w\$ [EMAIL PROTECTED] (Timothy H. Keitt) writes:Quick question: the following bash prompt puts the current machine name in the xterm (gnome-terminal) title bar, but also causes long lines to wrap incorrectly. Instead of moving down a line, the wrap over-writes the existing line of text. Anyone have a solution? Here's the prompt string:\e]0;[EMAIL PROTECTED]:\w\$ T. -- Timothy H. Keitt Department of Ecology and Evolution State University of New York at Stony Brook Stony Brook, New York 11794 USA Phone: 631-632-1101, FAX: 631-632-7626 http://life.bio.sunysb.edu/ee/keitt/ --To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
-- Timothy H. Keitt Department of Ecology and Evolution State University of New York at Stony Brook Stony Brook, New York 11794 USA Phone: 631-632-1101, FAX: 631-632-7626 http://life.bio.sunysb.edu/ee/keitt/

