while :;do read x;echo \?;done
Here is the source code in x86 assembly and dos (submitted by Nate)
-----------------------------------------------------------------
[ORG 0x100]
top: mov ah,0x0a
mov dx, buffer
int 0x21
mov ah, 0x09
mov dl,message
int 0x21
jmp short top
message:
db 10,'?',13,10,'$'
buffer:
------------------------------------------------------------
Other humor in the GNU Humor Collection.
Return to GNU's home page.
Please send FSF & GNU inquiries & questions to gnu@gnu.org. There are also other ways to contact the FSF.
Please send comments on these web pages to webmasters@gnu.org, send other questions to gnu@gnu.org.
Copyright © 1999 Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
Updated: $Date: 2006/05/07 07:10:36 $ $Author: ramprasadb $