imported from svn 'vncterm/pve2'