DragonFly BSD
DragonFly bugs List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Bug #2262] (Closed) C12 problem on leaf.dragonflybsd.org


From: Peter Avalos via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Dec 2011 11:24:31 -0800

Issue #2262 has been updated by Peter Avalos.

Status changed from Resolved to Closed


----------------------------------------
Bug #2262: C12 problem on leaf.dragonflybsd.org
http://bugs.dragonflybsd.org/issues/2262

Author: Robin Carey
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 


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


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]