use a global variable for the 'enter' char value