TOR environment variable

My profile sets the TOR variable to $(whence vi). What is TOR used for?

I appreciate any help I can get.

I've never heard of the TOR variable and I'm not sure what it's getting set to...

What's the exact line in your profile? TOR=$(whence vi) ?
What shell / OS do you use? Is that line part of a bigger script?

It is set along with other line-editor related commands. We are using ksh on Solaris. Here's a snippet from the .profile, below. I'm wondering now if it's a fragment left over from when someone edited the letters EDI out of EDITOR, since it's not included in the export command that follows.

# Set up Prompt and things

stty erase ^H
set -o vi

SysName=$(hostname);
export SysName

PS1="$(print '${SysName}:/${PWD#/} [ ! ] ')"

TOR=$(whence vi)
FCEDIT=$(whence vi)
VISUAL=$(whence vi)
EDITOR=$(whence vi)

export PS1 EDITOR FCEDIT VISUAL

I'd say that's an excellent guess ... you could always comment that line out and see if anything breaks before you delete it, but I'd guess you're right.