-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Paul Jarc on 9/21/2007 8:53 AM:
> hirochiamaru <[EMAIL PROTECTED]> wrote:
>> I saw it on a screen shot once, but this gentlemen was able to put the bash
>> prompt at the bottom of his xterm window with out fill the top portion the
>> xterm window first.
> 
> yes '' | head -n "$LINES"

Or you could investigate the use of terminal escape sequences in your PS1.
  Remember to use \[ and \] to delimit escape sequences, since they are
non-printing.  For example, according to
http://www.termsys.demon.co.uk/vtansi.htm, PS1='\[\e[20;5H\]> ' will
output "> " at row 20 line 5, rather than the current position.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG892F84KuGfSFAYARAqvuAKC4bImnwytoOpbVRHWkbEMZAVs0cgCgzoMC
wcM8AS+GTVHpL4HJfxHgLnM=
=8BK6
-----END PGP SIGNATURE-----


Reply via email to