*BSD News Article 27794


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!pnl-oracle!osi-east2.es.net!fastrac.llnl.gov!lll-winken.llnl.gov!noc.near.net!uuspew.uu.net!uunet!news.univie.ac.at!labs2!ssasa
From: ssasa@zems.etf.hr (Sasa Skevin(RT4.g.)
Newsgroups: comp.unix.bsd
Subject: Problems with telnet and  CF/LF
Date: 23 Feb 1994 22:04:22 GMT
Organization: Faculty of Electrical Engineering, University of Zagreb
Lines: 19
Message-ID: <2kgjt6$3tf@labs2.etf.hr>
NNTP-Posting-Host: maja.etf.hr
X-Newsreader: TIN [version 1.2 PL0]



Hi,
 I got a big problem. I have make a service (gopher)that is available via
telnet to port ( i.e. telnet srcm1.zems.etf.hr 4321 ). 
The program is writen in the way that when the key is pressed, then
follows the action imediatly (there is no need to wait for pressing ENTER).
But this isn't working properly , it is expected from the user to
press ENTER after pressing a key.
Is any solution for this ?
(i have use curses.h nodelay(), cbreak(), but without results ... )

Thanks in advance !

Sasa Skevin


ssasa@diana.zems.etf.hr