Perhaps this is too simple, but if you're concerned about your user-environment (and assuming everyone has their own account, and there's no crazy account-sharing going on where a bunch of people use the same username+password combo)...
Why not just add something into your own shell's environment file?
Korn (/bin/ksh) Shell (~/.kshrc)
##############################################################################
## TERM control - if we're on the console, fix it up.
TTY=` /usr/bin/tty ` # Really should call /bin/tty in HP-UX in case of S.U.M.
TTY_DEV=${TTY##*/dev/}
if [[ ${TTY_DEV} = "console" ]]; then
## Most serial-line consoles report "/dev/console" when you use 'tty'
## Since most consoles don't set their columns and rows, resulting in weird
## stuff when we open things like 'vi', we call 'resize' (if it's present)
if [[ -x /usr/openwin/bin/resize ]]; then
printf "Console...\c"
export PATH=${PATH}:/usr/openwin/bin && \
/usr/openwin/bin/resize >/dev/null 2>&1 && \
printf "fixed. \n" || \
printf "something's broke.\n"
elif [[ -x /usr/bin/X11/resize ]]; then
printf "Console..."
export PATH=${PATH}:/usr/bin/X11 && \
/usr/bin/X11/resize >/dev/null 2>&1 && \
printf "fixed. \n" || \
printf "something's broke.\n"
else
printf "No resize binary found, check console settings.\n"
fi
else
TERM=xterm
fi
Bourne Again (/bin/bash) Shell (~/.bashrc ~/.bash_profile)
(The above code should work without a problem)
Regular Bourne (/bin/sh) Shell (~/.profile)
(The above code, but /bin/sh doesn't do variable-splitting, so TTY_DEV will have to get more creative.)