Hi On Sun, Sep 03, 2006 at 01:05:29AM +0100, Reuben Thomas wrote: > On Sat, 2 Sep 2006, Ola Lundqvist wrote: > > >Well I do not really require anything but as time is a limitation > >in my life, any help is appriciated. Ideally I would like a patch that > >is tested to work, both when it is a pty and not. > > I looked into this, and the most irritating problem is that the function > used to implement the terminal password input in v3, getpass, is now > obsolete (removed, in fact, in POSIX.1-2001). That in itself, plus the
Ohh, well that can be an irritating thing, yes. I wonder if that can mean that vnc3 will fail to build in the future... Well that is the future anyway. > fact that VNC 4 is a C++ rewrite of VNC 3 (which is in C) might be the > reason. (I didn't know any of this until now.) I guess I need to find > some tried and tested code from somewhere (even maybe the getpass > implementation in glibc) that does the same job. I tried to implement a getpass function myself but I got into a number of problems, like: surpressing character echoing, getc seem not to return until newline is pressed and so on... I have tried fread and many other ways but without success. I thought it would be trivial but I was obviously wrong... Regards, // Ola > -- > http://rrt.sc3d.org/ | partisan, n. an adherent without sense (Bierce) > > -- --------------------- Ola Lundqvist --------------------------- / [EMAIL PROTECTED] Annebergsslingan 37 \ | [EMAIL PROTECTED] 654 65 KARLSTAD | | +46 (0)54-10 14 30 +46 (0)70-332 1551 | | http://www.opal.dhs.org UIN/icq: 4912500 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]