Write two program segment, which may be used to input a statement terminate when enter key is pressed?
When I am writing a program in Terminal, when i need to remove the characters using the backspace key it doesn't work. Instead, it moves the cursor backwards without removing a character. I am using the Ubuntu 12.04 version?