Re: Input attributes made variable
Posted in 1995
Jeffrey Sturm — — source: Informix-list mailing list archive (1991-1998)
Steve Goldberg (goldberg@sccsi.com) wrote: : Can the input atributes (reverse, color, etc) be set at run time based : upon the value of the env var TERM? Depending upon the type of termimal : used, sometimes I want reversed, sometimes a color. Is there a way to do : this besides putting every input and display statement within an if or : case statement? No, but you can write special termcap/terminfo entries which map the reverse/bold/etc. capabilities to anything you like. So for instance if bold doesn't work well on terminal X, substitute the escape sequence for bold with one for reverse video. -Jeff