Bug #2262
closedC12 problem on leaf.dragonflybsd.org
0%
Description
Dear DragonFlyBSD-bugs,
I am somewhat reluctant to send this bug-report in case I end up
embarassing myself, having
missed something completely obvious.
I have just finished adding some new features etc to my C12 crypto-software
(available
from http://www.leopard.uk.com/C12).
The software has been tested on OpenBSD-4.7/i386 and FreeBSD-9.0-RC3/i386 -
and it works
fine on those systems.
But when I test it on leaf.dragonflybsd.org (2.13-DEVELOPMENT x86_64) I hit
a problem.
To cut a long story short, I have done some investigation and the problem
lies in:
class Terminal (Terminal.h)
and in the method:
Terminal::GetNextInputChar ().
The calls to Terminal::Restore() are causing the problem; they seem to be
over-riding the
Terminal::RawInput() calls which are supposed to switch-off Local Echo and
Canonical-mode-processing etc, which is needed before an I/O operation; the
calls to select(2) and fgetc(3).
If I comment out the calls to Terminal::Restore() this solves that
particular
problem, but creates a new problem (Which the Restore() method is supposed
to prevent); a screwed up Terminal on program exit.
I have no idea why there is a problem on leaf.dragonflybsd.org - it seems
very strange .... maybe I am wrong, but I conclude there is a problem
in the DragonFlyBSD operating system.
--
Sincerely,
Robin Carey BSc
Updated by pavalos almost 13 years ago
- Status changed from New to Resolved
Reported fixed in bug #2267.