[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug with newline in prompt
From: |
Cameron Kerr |
Subject: |
Bug with newline in prompt |
Date: |
Wed, 13 Dec 2000 16:04:39 +1300 |
GNU bash, version 2.04.11(1)-release (i386-redhat-linux-gnu)
Copyright 1999 Free Software Foundation, Inc.
PS1=${bold}\h:\u \w\$\n${unbold}\$
Where ${bold} and ${unbold} are from setterm -bold on and setterm -bold
off
Problem: when typing past write margin (in xterms and console) text will
wrap
around itself rather than onto the next line. This behaivious is
different to
when PS1 is without the \n
--
------------------------------------------------
Cameron Kerr email: ckerr@cs.otago.ac.nz
Computer Science Department, University of Otago
------------------------------------------------
- Bug with newline in prompt,
Cameron Kerr <=