Terminal control/Restricted width positional input/No wrapping
Create a routine to obtain data entry using a specific place on the terminal screen. Data entry fields should be restricted to a specific length, and it should not be possible for the cursor to move beyond the input length.
The routine should accept parameters for row number, column number and input length, and should obtain a string value entered by the user.
For the purpose of this task, obtain input from the user, showing data entry at row 3, column 5, with input width restricted to a maximum of 8 characters.
Note: In this task input wrapping is not allowed. (See Terminal control/Restricted width positional input/With wrapping) for input wrapping variant.
For a similar task using a graphical user interface, see Graphical User Interface/Restricted width positional input/No wrapping.