Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: echotc/echoti



On Fri, Oct 12, 2007 at 09:30:33AM +1300, Atom Smasher wrote:
> what are the differences (practical, theoretical, etc) between:
>
> 	% echotc xxx
> and
> 	% print -n ${termcap[xxx]}
>
> and also between:
>
> 	% echoti yyy
> and
> 	% print -n ${terminfo[yyy]}
>
> thanks...

echotc and echoti output the capability strings directly to the
terminal, with output padding.

Your print statements undergo expansion.



Messages sorted by: Reverse Date, Date, Thread, Author