🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Phil Edwards Mon, 13 Feb 1995 22:48
[TIN] Help - <CR> not read!! (technical)
#15269
Author: Phil Edwards
Date: Mon, 13 Feb 1995 22:48
36 lines
2439 bytes
I'm compiling tin 1.22 PL2 (the usual) on a DEC Alpha AXP 4000 running
OSF/1 V3.0 release 347.  It is 14 degrees F outside, and I am 6'1".
That should cover everything.


Having used tin on a SunOS machine for nearly two years, I know that the
<CR> should, when pressed in a menu or on an options line, accept the
highlighted default and proceed.  For example, the ^K killfile menu, the
(M) main menu, and all of the little one-line bottom-of-the-screen menus
(such as "q)uit, e)edit, or p)ost:") should accept the <CR> as the
"continue" key.

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.

This would be livable, since the one-line menus all provide an explicit
letter for each option anyhow, BUT the (M)enu and (^K)illfile screens
require a <CR> to set/save the options, and thus are completely useless
now.  The user is required to exit tin and edit the kill or tinrc files
directly.

Apart from that, the program functions perfectly (I'm using it now).  Any
help would be greatly appreciated (posted or mailed).

Thank you sincerely.


--
Phil Edwards                    | The gods do not protect fools.  Fools
pedwards@valhalla.cs.wright.edu | are protected by more capable fools.
--------------------------------|                          -Larry Niven
Re: [TIN] Help - <CR> not read!! (technical)
#15298
Author: Greg Berigan
Date: Wed, 15 Feb 1995 00:03
19 lines
1635 bytes
pedwards@valhalla.cs.wright.edu (Phil Edwards) writes:

>I'm compiling tin 1.22 PL2 (the usual) on a DEC Alpha AXP 4000 running
>OSF/1 V3.0 release 347.  It is 14 degrees F outside, and I am 6'1".
>That should cover everything.
>
>The <CR> key does not do a bleeding thing on my compilation.  Pressing
>it on any of the menus results in absolutely nothing happening.

This is a known problem with tin and the Alpha.  If the tin FAQ was
still being reposted regularly, it would have mentioned this.  As far as
I know, there is no bug fix available.  If you know C, you might want to
delve into the source and see if you can come up with a patch.

-- 
----'     gberigan@cse.unl.edu (Greg Berigan)
------,
    ,-|-, If your use of lose and loose is loose you lose.               _
----' '-' Always remember, they're on their way there now.              d b CC
Re: [TIN] Help - <CR> not read!! (technical)
#15330
Author: Frank Bartels
Date: Thu, 16 Feb 1995 15:17
23 lines
2134 bytes
Phil Edwards (pedwards@valhalla.cs.wright.edu) wrote:

> I'm compiling tin 1.22 PL2 (the usual) on a DEC Alpha AXP 4000 running
> OSF/1 V3.0 release 347.  It is 14 degrees F outside, and I am 6'1".
> That should cover everything.

Same problem here under FreeBSD 1.1.5.

> 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.

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.

Bye,
Knarf
-- 
    Frank Bartels    |      UUCP/ZModem: + 49 89 5469593       | MiNT is
knarf@nasim.cube.net | Login: nuucp Index: /pub/ls-lR.nasim.gz | Now TOS!
Re: [TIN] Help - <CR> not read!! (technical)
#15437
Author: Phil Edwards
Date: Wed, 22 Feb 1995 02:48
41 lines
2604 bytes
Using the secret identity of <3hvq9s$ost@nasim.nasim.cube.net>,
	 it seems Frank Bartels (knarf@nasim.cube.net) sez:

:Phil Edwards (pedwards@valhalla.cs.wright.edu) wrote:

:> I'm compiling tin 1.22 PL2 (the usual) on a DEC Alpha AXP 4000 running
:> OSF/1 V3.0 release 347.  It is 14 degrees F outside, and I am 6'1".
:> That should cover everything.

:Same problem here under FreeBSD 1.1.5.


You're 6'1" too?  :-)



:> 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.

: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.


BBWWWWAHAHAHAHAHAHAHA!!!  ^J!  Incredible.  I seach the entire keyboard
for combinations, and miss that one by coincidence.  Bless you, Frank.
Actually, I had messed around with the curses.c file and had found that
the termios wasn't being used, but I couldn't get a working replacement
without losing a whole bunch of other required keys....*bleah*

Tnx!



--
Phil Edwards                    | The gods do not protect fools.  Fools
pedwards@valhalla.cs.wright.edu | are protected by more capable fools.
--------------------------------|                          -Larry Niven
SOLVED: [TIN] Help - <CR> not read!! (technical)
#15443
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads