public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problems with ncurses.
@ 2001-07-19  7:02 Kurt Roeckx
  2001-07-19  7:13 ` Charles Wilson
  0 siblings, 1 reply; 6+ messages in thread
From: Kurt Roeckx @ 2001-07-19  7:02 UTC (permalink / raw)
  To: cygwin

I'm having 2 problems with ncurses.

The most annoying is that doesn't draw lines anymore as it did.
For instance edit under DOS is able draw them.  Should I select
some other font somehow, or what?

The other problem is that I'm unable to turn the cursor off.
curs_set(0) returns -1.  Can this somehow be fixed?


Kurt


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems with ncurses.
  2001-07-19  7:02 Problems with ncurses Kurt Roeckx
@ 2001-07-19  7:13 ` Charles Wilson
  2001-07-19  7:22   ` Kurt Roeckx
  0 siblings, 1 reply; 6+ messages in thread
From: Charles Wilson @ 2001-07-19  7:13 UTC (permalink / raw)
  To: Kurt Roeckx; +Cc: cygwin

Kurt Roeckx wrote:

> I'm having 2 problems with ncurses.
> 
> The most annoying is that doesn't draw lines anymore as it did.
> For instance edit under DOS is able draw them.  Should I select
> some other font somehow, or what?


CYGWIN=codepage:oem

 
> The other problem is that I'm unable to turn the cursor off.
> curs_set(0) returns -1.  Can this somehow be fixed?


I don't think curs_set is implemented.  Sorry.

--Chuck



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems with ncurses.
  2001-07-19  7:13 ` Charles Wilson
@ 2001-07-19  7:22   ` Kurt Roeckx
  0 siblings, 0 replies; 6+ messages in thread
From: Kurt Roeckx @ 2001-07-19  7:22 UTC (permalink / raw)
  To: Charles Wilson; +Cc: cygwin

On Thu, Jul 19, 2001 at 10:13:10AM -0400, Charles Wilson wrote:
> Kurt Roeckx wrote:
> 
> > The most annoying is that doesn't draw lines anymore as it did.
> > For instance edit under DOS is able draw them.  Should I select
> > some other font somehow, or what?
> 
> CYGWIN=codepage:oem

Thanks alot, it works perfect now. :)


Kurt


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems with ncurses
  1997-12-03 15:26 Buckingham, Mark, SOLON, NUSA
@ 1997-12-05 23:13 ` Justin Smith
  0 siblings, 0 replies; 6+ messages in thread
From: Justin Smith @ 1997-12-05 23:13 UTC (permalink / raw)
  To: Buckingham, Mark, SOLON, NUSA; +Cc: 'gnu-win32@cygnus.com'

Buckingham,Mark,SOLON,NUSA wrote:
> 
> I'm trying to get ncurses compiled & running.  (I downloaded ncurses
> 1.9.9e from the Slackware linux distribution.)
> 
> I remounted by C: drive as text = binary.  No problems.
> I ran configure.  No problems.
> Ran make.  No problems.
> 
> When I try to run any of the tests, I get something like the following:
> 
> (c:\gnu\ncurses-1.9.9e\test\view.exe 3445) In cygwin_except_handler exc
> C0000005 at 10042894 sp 242E5B0
> (c:\gnu\ncurses-1.9.9e\test\view.exe 3445) Exception trapped!
> (c:\gnu\ncurses-1.9.9e\test\view.exe 3445) exception C0000005 at

...

> 
> I get this on both my NT 4.0 machine with NTFS, and my windows 95
> machine.
> 
> Here is the environment on my NT 4.0 machine:
> 

...

> TERM=dumb
> _=/gnuwin32/b18/H-i386-cygwin32/bin/env
> 
> I know people have gotten ncurses to work ok.  Any ideas?
> 

Change TERM to something other than "dumb" ("linux" is a good start).  I
am still messing around with this, too, but dumb is, literally, "dumb",
and cannot handle most of the functions ncurses can provide.
-- 

Justin Smith,
Systems Engineer with the law office of
  Dewey, Cheetam and Howe.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Problems with ncurses
@ 1997-12-05 12:50 Earnie Boyd
  0 siblings, 0 replies; 6+ messages in thread
From: Earnie Boyd @ 1997-12-05 12:50 UTC (permalink / raw)
  To: mark.buckingham; +Cc: gnu-win32

>From: "Buckingham,Mark,SOLON,NUSA" <mark.buckingham@us.nestle.com>
>To: "'gnu-win32@cygnus.com'" <gnu-win32@cygnus.com>
>Subject: Problems with ncurses
>Date: Wed, 3 Dec 1997 07:41:40 -0800
>
>I'm trying to get ncurses compiled & running.  (I downloaded ncurses
>1.9.9e from the Slackware linux distribution.)
>
[snip]
>TCL_LIBRARY=C:/gnuwin32/b18/tcl/lib/tcl7.6
>TERM=dumb


You need to:

export TERM=linux

>_=/gnuwin32/b18/H-i386-cygwin32/bin/env
>
>I know people have gotten ncurses to work ok.  Any ideas?
>
>-


-        \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd@hotmail.com-
------ooo0O--O0ooo-------


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Problems with ncurses
@ 1997-12-03 15:26 Buckingham, Mark, SOLON, NUSA
  1997-12-05 23:13 ` Justin Smith
  0 siblings, 1 reply; 6+ messages in thread
From: Buckingham, Mark, SOLON, NUSA @ 1997-12-03 15:26 UTC (permalink / raw)
  To: 'gnu-win32@cygnus.com'

I'm trying to get ncurses compiled & running.  (I downloaded ncurses
1.9.9e from the Slackware linux distribution.)

I remounted by C: drive as text = binary.  No problems.
I ran configure.  No problems.  
Ran make.  No problems.

When I try to run any of the tests, I get something like the following:





(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) In cygwin_except_handler exc
C0000005 at 10042894 sp 242E5B0
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) Exception trapped!
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) exception C0000005 at
10042894
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) exception: ax 242E5E0 bx
242E5E0 cx F9 dx 0
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) exception: si 0 di 242E5E0 bp
242E5BC sp 242E5B0
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) exception is:
STATUS_ACCESS_VIOLATION
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) Stack trace:
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 0: sp = 0x242E3E4, pc =
0x10007BB2
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 1: sp = 0x242E400, pc =
0x77F94072
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 2: sp = 0x242E424, pc =
0x77F88A53
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 3: sp = 0x242E4B0, pc =
0x77F75E82
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 4: sp = 0x242E5BC, pc =
0x4098B3
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 5: sp = 0x242EF64, pc =
0x402B86
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 6: sp = 0x242F080, pc =
0x402D5F
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 7: sp = 0x242F0A0, pc =
0x403CDA
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 8: sp = 0x242F0C4, pc =
0x401361
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 9: sp = 0x242F0DC, pc =
0x4010DF
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 10: sp = 0x242F504, pc
= 0x100063BA
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 11: sp = 0x242FF94, pc
= 0x100063CB
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 12: sp = 0x242FFA0, pc
= 0x41D735
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 13: sp = 0x242FFB0, pc
= 0x40103B
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 14: sp = 0x242FFC0, pc
= 0x77F1AFC1
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) frame 15: sp = 0x242FFF0, pc
= 0x0
(c:\gnu\ncurses-1.9.9e\test\view.exe 3445) End of stack trace

I get this on both my NT 4.0 machine with NTFS, and my windows 95
machine.

Here is the environment on my NT 4.0 machine:

!C:=C:\gnuwin32\b18\H-i386-cygwin32\bin
COMSPEC=C:\WINNT\system32\cmd.exe
GCC_EXEC_PREFIX=C:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\
GDBTK_LIBRARY=C:/gnuwin32/b18/share/gdbtcl
LIBRARY_PATH=C:\gnuwin32\b18\H-i386-cygwin32\lib;C:\gnuwin32\b18\H-i386-
cygwin32\i386-cygwin32\lib;
OSTYPE=cygwin32
PATH=/gnuwin32/b18/H-i386-cygwin32/bin:/gnuwin32/b18/tcl/bin:.:/winnt:/w
innt/system32:.
PATHEXT=.COM;.EXE;.BAT;.CMD
PID=3448
SHELL=/bin/sh
SHLVL=1
TCL_LIBRARY=C:/gnuwin32/b18/tcl/lib/tcl7.6
TERM=dumb
_=/gnuwin32/b18/H-i386-cygwin32/bin/env

I know people have gotten ncurses to work ok.  Any ideas?

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-07-19  7:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-19  7:02 Problems with ncurses Kurt Roeckx
2001-07-19  7:13 ` Charles Wilson
2001-07-19  7:22   ` Kurt Roeckx
  -- strict thread matches above, loose matches on Subject: below --
1997-12-05 12:50 Earnie Boyd
1997-12-03 15:26 Buckingham, Mark, SOLON, NUSA
1997-12-05 23:13 ` Justin Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).