Re: Command issue - vi



William, Lin wrote:
On 4?11?, ??3?57?, "Joachim Schmitz" <jojo.nos...@xxxxxxxxxxxxxxxxxx>
wrote:
William, Lin wrote:
On 3ÔÂ30ÈÕ, ÏÂÎç4ʱ49·Ö, "Joachim Schmitz"
<nospam.j...@xxxxxxxxxxxxxxxxxx>
wrote:
DerekW wrote:
On Mar 30, 9:15 am, "William, Lin" <cdyj...@xxxxxxx> wrote:
Hello

I got an issue when typing vi command on oss - see blow log

Appreciate your advice

/$ vi
Visual needs addressible cursor or upline capability

Thanks

will @laba

Not sure what problem is but "vim" is much better, Not sure if
Installed by default or have to download from ITUGLIB.

It is not, so you have to get it from ITUGLIB

Also term should be "tn6530-8"

Won't work with vi. Use vt100 or xterm.
It does, much to my surprise, partly work with vim. But no curser
keys...

For vim you may use xterm-color (vi won't work with this) and you'd
get colored syntax highlighting (if enabled, via ":syntax enable")

I use
alias vim="TERM=xterm-color /usr/local/bin/vim"
and have "syntax enable" im ~/.vimrc

Can find out by "echo $TERM"

Then works great "vim", Can use Arrow keys to move around.

Amongst other goodies ;-)

Derek

bye, Jojo

You are correct, someone changed the /etc/profile and set the
TERM=t6530x that caused this issue

Might have better luck with
TERM=t653x
i.e. without that 0. That one at least exists in /etc/termcap (but
would still not work with vi)

By the way, do you know the way to set up my custom profile and have
it loaded automatically like /etc/profile during my logon?

put ypur personal customizations into "~/.profile", i.e. the file
named ".profile" in your $HOME directory. (if that is in
/G/vol/subvil, you can drop the leading '.')

Bye, Jojo

My $home directory is on a vitural volume - it says cannot find that
file though I already put it there

Accessing files on virtual volumes is not supported by OSS

get yourself an 'initial -direcory' configured in safeguard
or make sure the guardian default is on a physical volume

Bye, Jojo


.



Relevant Pages

  • Re: Command issue - vi
    ... Installed by default or have to download from ITUGLIB. ... It does, much to my surprise, partly work with vim. ... get colored syntax highlighting ...
    (comp.sys.tandem)
  • Re: Command issue - vi
    ... Installed by default or have to download from ITUGLIB. ... It does, much to my surprise, partly work with vim. ... get colored syntax highlighting ...
    (comp.sys.tandem)
  • Re: Command issue - vi
    ... Installed by default or have to download from ITUGLIB. ... It does, much to my surprise, partly work with vim. ... get colored syntax highlighting ...
    (comp.sys.tandem)
  • Re: Command issue - vi
    ... Visual needs addressible cursor or upline capability ... It does, much to my surprise, partly work with vim. ... For vim you may use xterm-color and you'd get colored syntax highlighting ...
    (comp.sys.tandem)
  • Re: Number syntax
    ... It's expression syntax where it gets complicated. ... It begins with fractions and exponents being represented the wrong way: ... Principle of least surprise is a nice goal --- but sometimes you just can't avoid it other than by not letting people enter stuff in the first place that would unavoidably cause surprise later. ...
    (comp.arch.embedded)