Re: Command issue - vi
- From: "Joachim Schmitz" <jojo.nospam@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Apr 2011 14:11:06 +0200
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
.
- Follow-Ups:
- Re: Command issue - vi
- From: William, Lin
- Re: Command issue - vi
- References:
- Re: Command issue - vi
- From: William, Lin
- Re: Command issue - vi
- From: Joachim Schmitz
- Re: Command issue - vi
- From: William, Lin
- Re: Command issue - vi
- Prev by Date: Re: Command issue - vi
- Next by Date: ENFORM syntax
- Previous by thread: Re: Command issue - vi
- Next by thread: Re: Command issue - vi
- Index(es):
Relevant Pages
|