🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #15443

SOLVED: [TIN] Help - <CR> not read!! (technical)

#15443
From: Phil Edwards
Date: Wed, 22 Feb 1995 03:56
36 lines
2505 bytes
I wrote:

::> The <CR> key does not do a bleeding thing on my compilation.  Pressing
::> it on any of the menus results in absolutely nothing happening.  The
::> standard Return key, the numeric Enter key, and even a direct ^M have no
::> effect at all.  However, during editing (with vi) and choosing
::> newsgroups, the <CR> functions as normal without a qualm.  Thus, I don't
::> think it's a problem with stty settings or anything like that.


Frank Bartels (knarf@nasim.cube.net) wrote:

::Try ^J instead of ^M. This works for me. Look at the tty-code
::(curses.c) of tin and you'll see it won't use termios if you're on BSD.


I played around some more.  Since it's being compiled under OSF/1, I
took out the "-DBSD" switch in the Makefile which had previously caused
compilation failures.  It turns out that if this "I have BSD" switch is
defined, then tin uses a different setting for the <CR>.

Go into "config.h", move 634 lines down to the HAVE_CR_AS_CHAR
definition, and define it explicitly (you'll note the #ifdef(BSD) switch
and its resulting one-line assignment).  Compile, install, and have a
ball.

Trivial, really; apologies for my incompetence, and I hope that someone
else learns from my mistakes.  :-)  Extra thanks to Frank for suggestion
a working solution in the interim.


--
Phil Edwards                    | The gods do not protect fools.  Fools
pedwards@valhalla.cs.wright.edu | are protected by more capable fools.
--------------------------------|                          -Larry Niven
Technical Details
Message-ID: <3ieclb$1ip@valhalla.cs.wright.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!news.mathworks.com!news.alpha.net!uwm.edu!news.moneng.mei.com!howland.reston.ans.net!news.sprintlink.net!malgudi.oar.net!hyperion.wright.edu!valhalla.cs.wright.edu!pedwards
References: <3honk8$5uc@valhalla.cs.wright.edu> <3hvq9s$ost@nasim.nasim.cube.net> <3ie8mo$sb@valhalla.cs.wright.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3ieclb$1ip@valhalla.cs.wright.edu>
Subject: SOLVED: [TIN] Help - <CR> not read!! (technical)
Date: Wed, 22 Feb 1995 03:56:27 +0000
From: pedwards@valhalla.cs.wright.edu (Phil Edwards)
References: <3honk8$5uc@valhalla.cs.wright.edu> <3hvq9s$ost@nasim.nasim.cube.net> <3ie8mo$sb@valhalla.cs.wright.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!stern.fokus.gmd.de!ceres.fokus.gmd.de!zib-berlin.de!news.mathworks.com!news.alpha.net!uwm.edu!news.moneng.mei.com!howland.reston.ans.net!news.sprintlink.net!malgudi.oar.net!hyperion.wright.edu!valhalla.cs.wright.edu!pedwards
Newsgroups: news.software.readers
Organization: College of Eng&CS, WSU
Lines: 36
NNTP-Posting-Host: gamma.cs.wright.edu
X-Newsreader: TIN [version 1.2 PL2]