delorie.com/archives/browse.cgi | search |
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:724 |
Newsgroups: | comp.os.msdos.djgpp |
Path: | news-dnh.mv.net!mv!news.sprintlink.net!cs.utexas.edu!news.ti.com!newshost!jenga.micro.ti.com!karl |
From: | karl AT jenga DOT micro DOT ti DOT com (Karl Johnson) |
Subject: | disabling ctrl-p during a fgets |
Summary: | need to disable control characters that hang system |
Keywords: | control ctrl-p |
Sender: | news AT newshost DOT micro DOT ti DOT com |
Organization: | Texas Instruments, Houston |
Date: | Wed, 28 Jun 1995 16:31:45 GMT |
Lines: | 17 |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp |
Can someone tell me how to disable control character effects in a c program on a Msdos system? The problem I am having is that when the user is inputing data during a fgets call, and hits a ctrl-p <return>, the system displays the following message: Write fault error writing device PRN Abort, Retry? and no keboard entry seems to get past it. I must reset. Thanks for any help. If there is an FAQ that contains this info, please point me to it. Karl
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |