Set the TERM appropriately