Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!male!anywhere.EBay.Sun.COM!me From: me@anywhere.EBay.Sun.COM (Wayne Thompson - IR Workstation Support SE) Newsgroups: comp.lang.perl Subject: Re: bug in curses.mus -- {,w}getstr Message-ID: <6452@male.EBay.Sun.COM> Date: 24 Apr 91 13:07:59 GMT Sender: news@male.EBay.Sun.COM Lines: 21 I am writing a hypertext engine in curseperl, but don't use w*getstr. But I try using getcap and it always comes up empty. 4.003 SunOS4.1.1 BSD curses lib. Any thoughts? Wayne In article <1991Apr22.214135.14651@robobar.co.uk> you write: |> Doesn't anyone use curseperl? The mus munged call to getstr |> becomes something like retval = getstr(&str) which really |> wants to be getstr(str). Similarly for wgetstr(). |> |> I don't know any mus, so I hacked the C output (yuk). More elegant fixes |> welcome :-) |> |> [ Also, I don't know how this might affect anyone else, but I had to |> change the parameter to ?addch to be unsigned char, because I |> hacked my copy of BSD curses to be 8 bit clean. It's probably |> no use to anyone else now though, because the tty handling became |> slightly System V dependent in the process (arrrrrggghhh :-) ] |> -- |> Ronald Khoo +44 81 991 1142 (O) +44 71 229 7741 (H)