bash

Create dialog
#!/bin/bash

# create dialog window
dialog --clear --inputbox "Your input:" 10 60 2> input.tmp

# read input
input=$(cat input.tmp)

# clear screen
clear

# ouput
echo "your input: $input"