Article View: comp.std.c
Article #3458Re: Need UNIX putch function
From: Zefram
Date: Fri, 03 Nov 1995 01:15
Date: Fri, 03 Nov 1995 01:15
15 lines
1181 bytes
1181 bytes
David B Pollack <dbpollac@carbon.cudenver.edu> wrote: >Does anyone out there know a UNIX function that works similar to the >DOS putch function where a new line character can be sent without it >being translated to a carriage return/line feed pair? As stdio on Unix generally does no such translation, how about putchar(3). If you want to get the functionality of LF alone, you should look at the curses(3) library or the tty(4) device driver. Btw, comp.std.c is not the correct place for this query. I've crossposted and redirected followups to comp.lang.c, which is more appropriate. comp.unix.programmer may be the best place to ask about low-level tty handling under Unix. -zefram
Technical Details
Message-ID:
<1995Nov3.011526.14424@dcs.warwick.ac.uk>Path:
arc1-ca.pugleaf.net!news.dcs.warwick.ac.uk!not-for-mailReferences:
<4735a6$tnf@carbon.cudenver.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c,comp.lang.c Path: arc1-ca.pugleaf.net!news.dcs.warwick.ac.uk!not-for-mail From: A.Main@dcs.warwick.ac.uk (Zefram) Subject: Re: Need UNIX putch function X-Nntp-Posting-Host: stone Message-ID: <1995Nov3.011526.14424@dcs.warwick.ac.uk> Followup-To: comp.lang.c Sender: news@dcs.warwick.ac.uk (Network News) Organization: Department of Computer Science, Warwick University, England References: <4735a6$tnf@carbon.cudenver.edu> Date: Fri, 3 Nov 1995 01:15:26 GMT