bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Broken Termcaps


From: Greg Wooledge
Subject: Re: Broken Termcaps
Date: Wed, 1 Mar 2017 17:26:49 -0500
User-agent: Mutt/1.4.2.3i

On Wed, Mar 01, 2017 at 05:15:51PM -0500, Lfabbro wrote:
> Greg, I'm not sure what you mean by termcaps are legacy...
> I mean, I personally use curses.h, term.h and termios.h
> aren't them termcaps?

No.  Those are terminfo.  Be grateful.

If you want a brief overview, you can start with "man terminfo" on most
Linuxes.  If your Linux system uses ncurses (most do), then you will see
some brief mentions of termcap in the man page.

On Wed, Mar 01, 2017 at 05:21:08PM -0500, Lfabbro wrote:
> Yes you were right the error comes from PS1...
> I'm sad I have no more the git branch on the prompt... :(
> Now I use:
> ps1="\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\]"

You can still use the $(git) thing if you can get it to stop writing
escape sequences.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]