title: How do i read single character input from keyboard using nasm (assembly) under ubuntu?
body: <p>I'm using nasm under ubuntu. By the way i need to get single input character from user's keyboard (like when a program ask you for y/n ?) so as key pressed and without pressing enter i need to read the entered character. I googled it a lot but all what i found was somehow related to this line (<code>int 21h</code>) which result in "Segmentation Fault". Please help me to figure it out how to get single character or how to over come this segmentation fault.</p>