hmm...
i just tried to use this and failed. i got far enough to work out that
i needed to do:
$term = new POSIX::Termios;
tcgetattr($new, 0);
but, there isn't a auto/POSIX/tcgetattr.al file -- POSIX.pm doesn't seem
to define what to do for tc[sg]etattr.. it's been too long since i did
any extension stuff to know what the problem is without looking in to the
docs ;-), so, i thought i'd ask here first..
any one know what to do here ? at a guess POSIX.pm needs
sub tcgetattr {
getattr(@_);
}
sub tcsetattr {
setattr(@_);
}
or so.
thanks.
.mrg.
i just tried to use this and failed. i got far enough to work out that
i needed to do:
$term = new POSIX::Termios;
tcgetattr($new, 0);
but, there isn't a auto/POSIX/tcgetattr.al file -- POSIX.pm doesn't seem
to define what to do for tc[sg]etattr.. it's been too long since i did
any extension stuff to know what the problem is without looking in to the
docs ;-), so, i thought i'd ask here first..
any one know what to do here ? at a guess POSIX.pm needs
sub tcgetattr {
getattr(@_);
}
sub tcsetattr {
setattr(@_);
}
or so.
thanks.
.mrg.