On Fri, 28 Jan 2005 21:25:14 -0500, Miark wrote:
On Fri, 28 Jan 2005 17:17:57 -0600, Mikkel wrote:
Miark wrote: Does Powershell set TERM to any value? If it sets it to a terminal type that isn't defined, there is hope...
If TERM isn't defined, you may be able to add something to .bashrc - something like (untested)
if [ ! $TERM ] ; then export TERM=xterm ; fi
An "echo $TERM" replied "dumb" so I thought it did define one, but I tried your trick in .bashrc and voila! It works!!
Okay, false alarm. During my test, I opened powershell _from_
konsole, so it worked because konsole exported TERM. When I opened powershell from the XFCE launch bar directly, it failed.
So I'm back to square one.
Miark
Well, that is easy to fix. Change it to:
if [ $TERM = "dumb" ] ; then export TERM=xterm ; fi
One thing to keep in mind - if Powerterm is setting TERM to dumb, then it probably does not support some of the terminal functions of xterm. So some programs may not work correctly. There really is a terminal definition called "dumb", with its own description of terminal capabilities.
Mikkel --
Do not meddle in the affairs of dragons, for you are crunchy and taste good with Ketchup!
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
