On 2006-04-13, Barry Margolin wrote: > In article <[EMAIL PROTECTED]>, > "Chris F.A. Johnson" <[EMAIL PROTECTED]> wrote: > >> In fact, my scripts are portable to other terminal types by use >> of files for each terminal, generated with tput. Using a >> different terminal is as easy as ". /usr/share/term-sh/$TERM" or >> something similar. I generated a lot of files a few years ago, >> but I have never had any call for them, so I'd have to hunt for >> them. > > So you've essentially reinvented the whole termcap/terminfo mechanism?
No, I've used the termcap/terminfo mechanism via tput to create a more efficient (and customizable) method of terminal-dependent control. -- Chris F.A. Johnson, author | <http://cfaj.freeshell.org> Shell Scripting Recipes: | My code in this post, if any, A Problem-Solution Approach | is released under the 2005, Apress | GNU General Public Licence -- http://mail.python.org/mailman/listinfo/python-list