If we want to send user-entered keyboard data directly to embedded code, then we should use the embedded language input-related command:
$ ksh -c "read INPUT; echo "You_typed_'$INPUT'""
This would allow the code to accept input from users. It waits for a user to type and hit Enter. After pressing Enter, this line would prints You_typed_Hello there.