[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] read -ep and ANSI colour sequences
From: |
Matthew Cengia |
Subject: |
Re: [Help-bash] read -ep and ANSI colour sequences |
Date: |
Thu, 21 Feb 2013 10:24:59 +1100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On 2013-02-20 13:00, Chris F.A. Johnson wrote:
> On Wed, 20 Feb 2013, Greg Wooledge wrote:
> ...
> >And whatever you do, STOP hard-coding terminal-specific escape sequences.
> >This will cease working when you run it on a terminal that uses different
> >escape sequences.
>
> I agree in principle, but for all practical purposes, there is one
> standard terminal nowadays, ISO 6429.
>
> >This is why we have termcap/terminfo libraries and a $TERM variable.
>
> Which cannot be used reliably in the shell.
I'm happy to be corrected, but isn't this exactly what 'tput' is for?
--
Regards,
Matthew Cengia
signature.asc
Description: Digital signature
- Re: [Help-bash] read -ep and ANSI colour sequences, (continued)
- Re: [Help-bash] read -ep and ANSI colour sequences, Chris Down, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, Pierre Gaston, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, Chris Down, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, Pierre Gaston, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, Chris Down, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, muji, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, Greg Wooledge, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, muji, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, Chris F.A. Johnson, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, muji, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences,
Matthew Cengia <=
- Re: [Help-bash] read -ep and ANSI colour sequences, Chris F.A. Johnson, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, Chet Ramey, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, Chet Ramey, 2013/02/20
- Re: [Help-bash] read -ep and ANSI colour sequences, Pierre Gaston, 2013/02/20
Re: [Help-bash] read -ep and ANSI colour sequences, Chet Ramey, 2013/02/20
Re: [Help-bash] read -ep and ANSI colour sequences, John Kearney, 2013/02/20