symbolic links, aliases, cls clear
Chris F.A. Johnson
cfajohnson at gmail.com
Sat Apr 15 20:54:16 EDT 2006
On 2006-04-13, Barry Margolin wrote:
> In article <gog0h3-eee.ln1 at xword.teksavvy.com>,
> "Chris F.A. Johnson" <cfajohnson at gmail.com> 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
More information about the Python-list
mailing list