* Re: Programs that use curses.
[not found] <matthew@sleeper.apana.org.au>
@ 1996-06-16 5:35 ` Bryan W. Headley
1996-06-16 5:43 ` Matthew Geier
1997-02-22 23:00 ` 2.1.26: telnet problem Bryan W. Headley
1 sibling, 1 reply; 6+ messages in thread
From: Bryan W. Headley @ 1996-06-16 5:35 UTC (permalink / raw)
On Jun 16, 11:19am, Matthew Geier wrote:
> Subject: Programs that use curses.
>
> I seem to have a problem where programs that use curses do not work
> properly with keyboard input.
>
> The system is a noname, ncurses-1.9.6-7, libc-0.40-1, and currently
> kernel 2.0.0, although tin has never worked, so it doesnt seem to be
> kernel version dependant.
>
> Any one have any ideas ?
>
No, sounds like a fun project. Craftworks' more command is plagued with the
same idiocy, so it looks like I'll play with curses to find out why it's
behaving like this. . .
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Programs that use curses.
1996-06-16 5:35 ` Programs that use curses Bryan W. Headley
@ 1996-06-16 5:43 ` Matthew Geier
1996-06-16 17:17 ` Richard Henderson
0 siblings, 1 reply; 6+ messages in thread
From: Matthew Geier @ 1996-06-16 5:43 UTC (permalink / raw)
> > I seem to have a problem where programs that use curses do not work
> > properly with keyboard input.
> >
> No, sounds like a fun project. Craftworks' more command is plagued with the
> same idiocy, so it looks like I'll play with curses to find out why it's
> behaving like this. . .
Ive since found it depends on the terminal type.
xterm is fine. xterms isnt. A hack entry I made called xterm40 doesnt
work, and wyse50 doesnt work. I have a wyse50 terminal as a console.
So the ncftp problem is probably something bad in the parseing of
/etc/termcap.
This doesnt fix the tin problem I mentioned, but I dont use tin, it was
installed from an rpm so I dont have the source.
--
Matthew Geier, | Australian Public Access Network Association
matthew@sleeper.apana.org.au | (+61) 2 588 4615 (Data) 587 9773 (voice)
matthew@law.usyd.edu.au | An APANA Sydney hub. 018 977356 (mobile)
'There are worlds out there where the sky is burning, the seas
sleep, and the rivers dream; people made of smoke, and cities made of
song. Somewhere there's danger, somewhere there's injustice, and somewhere
else the tea is getting cold. Come on Ace, we've got work to do!'
(Last words of the last Dr Who)
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Programs that use curses.
1996-06-16 5:43 ` Matthew Geier
@ 1996-06-16 17:17 ` Richard Henderson
0 siblings, 0 replies; 6+ messages in thread
From: Richard Henderson @ 1996-06-16 17:17 UTC (permalink / raw)
> Ive since found it depends on the terminal type.
> xterm is fine. xterms isnt. A hack entry I made called xterm40 doesnt
> work, and wyse50 doesnt work. I have a wyse50 terminal as a console.
> So the ncftp problem is probably something bad in the parseing of
> /etc/termcap.
Check and see if xterms, etc, exist in /usr/lib/terminfo.
Ncurses was designed to use terminfo and in the version
you (?) mentioned, 1.9.6, didn't do termcap fallback very
well at all.
I'd suggest starting by getting 1.9.9.
r~
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.1.26: telnet problem
[not found] <matthew@sleeper.apana.org.au>
1996-06-16 5:35 ` Programs that use curses Bryan W. Headley
@ 1997-02-22 23:00 ` Bryan W. Headley
1 sibling, 0 replies; 6+ messages in thread
From: Bryan W. Headley @ 1997-02-22 23:00 UTC (permalink / raw)
On Feb 23, 7:44am, Matthew Geier wrote:
> Subject: Re: 2.1.26: telnet problem
> > > >No. My Intel machine is running 2.1.26 with no apparent problems. But
I
> > > >have noticed that the Alpha has trouble with incoming telnet and rlogin
> > > >connections, complaining about wide characters or some such.
> > > >
>
> I had a network problem with 2.1.26 has well. I use a Tektronix XD8810
> workstation as an Xterminal. After I rebooted to 2.1.26 I didnt get
> a XDM login prompt on the XD88.
> I then tried to telnet to it - after a delay, I got a login prompt,
> but I couldnt login - it didnt respond to any input. Same attempting to
> telnet to my Pentium box.
> The Pentium running 2.1.26 works fine.
> The XD88 has tcp-wrappers installed - I assume the delay was the Ident
> lookup failing.
>
> I rebooted my alpha back to 2.1.20 (the last I had) and all works fine
> again.
>
More than telnet, it affected netscape (talking to an apache server), and ping.
The ports always thought they were already in use.
Bryan
--
Bryan W. Headley Home: bheadley@interaccess.com
211 East Pineview Drive Office: bwh@abnamro.com
Round Lake Park, IL 60073 Phone: 847 740-1446
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Programs that use curses.
@ 1996-06-16 1:33 David Mosberger-Tang
0 siblings, 0 replies; 6+ messages in thread
From: David Mosberger-Tang @ 1996-06-16 1:33 UTC (permalink / raw)
>>>>> On Sun, 16 Jun 1996 11:19:24 +1000 (EST), Matthew Geier <matthew@sleeper.apana.org.au> said:
Matthew> I seem to have a problem where programs that use curses do
Matthew> not work properly with keyboard input.
Matthew> I downloaded the ncftp-2.3 from the redhat incoming and
Matthew> found it it didnt work. I can type commands and exit the
Matthew> command line, but pressing return is ignored.
This _sounds_ like the infamous termio vs. termios problem. I'm not
very familiar with curses/ncurses, but if a program attempts to mix
termio and termios structures, it is calling for trouble. Due to
OSF/1 compatibility (which, in turn is compatible with some old
version of SysV), the termio structure for Linux/Alph is not
compatible with termios. The best solution is to use termios only,
IMHO. So, I'd suggest to grep for "termio" and check whether the
program might declare "struct termio" and then use termios calls (or
vice versa). Also, it's wrong to include <termio.h> and then use
"struct termios" (the defines for the V* macros are different).
Hmmh, independent of curses, this is a FAQ, I guess...
--david
^ permalink raw reply [flat|nested] 6+ messages in thread
* Programs that use curses.
@ 1996-06-16 1:19 Matthew Geier
0 siblings, 0 replies; 6+ messages in thread
From: Matthew Geier @ 1996-06-16 1:19 UTC (permalink / raw)
I seem to have a problem where programs that use curses do not work
properly with keyboard input.
I downloaded the ncftp-2.3 from the redhat incoming and found it
it didnt work.
I can type commands and exit the command line, but pressing return is
ignored.
I grabbed the source to ncftp from probe.net, ran configure and it built
without a wimper. It to exhibits the same behavour, making the program
inoperable. The same source file built a perfectly working version under
Solaris on my Sun system at work.
I also notice a similar problem with tin-1.22-4 - it only processes
keystrokes in groups of 4, making its menu's very hard to navigate.
The system is a noname, ncurses-1.9.6-7, libc-0.40-1, and currently
kernel 2.0.0, although tin has never worked, so it doesnt seem to be
kernel version dependant.
Any one have any ideas ?
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1997-02-22 23:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <matthew@sleeper.apana.org.au>
1996-06-16 5:35 ` Programs that use curses Bryan W. Headley
1996-06-16 5:43 ` Matthew Geier
1996-06-16 17:17 ` Richard Henderson
1997-02-22 23:00 ` 2.1.26: telnet problem Bryan W. Headley
1996-06-16 1:33 Programs that use curses David Mosberger-Tang
-- strict thread matches above, loose matches on Subject: below --
1996-06-16 1:19 Matthew Geier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox