terminal type problem with cygwin on aix

hey,

I use cygwin to connect to AIX 5.2 but when I open vi I get an error saying:

ex: 0602-108 cygwin is not a recognized terminal type

how can I fix that? I thought cygwin was tty vt100?

depending on your shell:
ksk/bash
export TERM=vt100

sh
TERM=vt100; export TERM

csh/tcsh
setenv TERM vt100