ok( !system("xterm -e vi $fname") , 'vi exit OK');