On Mar 09, Jeff Stewart wrote:
> I'm thinking that this may be small problem with the KDE konsole. (At
> least that's where I've noticed it). A simple kludge around this is to
> set TERM=linux prior to running vi. I just aliased vi & view to my little
> 3 line script like such:
>
> export TERM=linux
> /bin/vi $1
> export TERM=xterm
>
> I put this is in ~/bin and called it myvi. Then I just put added the
> alias to .bashrc. (alias vi='$HOME/bin/myvi')
I would do it a tiny bit different... I would put this script into
$HOME/bin/vi (and make one for view), change the $1 to $*, and make sure that
$HOME/bin is in the PATH before the system-wide bin directories
-Michael
--
No, my friend, the way to have good and safe government, is not to trust it
all to one, but to divide it among the many, distributing to every one exactly
the functions he is competent to. It is by dividing and subdividing these
republics from the national one down through all its subordinations, until it
ends in the administration of every man's farm by himself; by placing under
every one what his own eye may superintend, that all will be done for the
best.
-- Thomas Jefferson, to Joseph Cabell, 1816