On Sun, Mar 19, 2006 at 12:49:33PM -0500, Thomas Dickey wrote:
> Stuff like this (in your .login) is already portable, works on every
> unix platform.
> 
> #!/bin/sh
> for name in foo bar xterm
> do
>         if ( tput -T$name am 2>/dev/null )
>         then
>                 echo ok $name
>         fi
> done

Yes; but if I then change my terminal (temporarily or permanently), it
does break.

-- 
Fun will now commence
  -- Seven Of Nine, "Ashes to Ashes", stardate 53679.4


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to