Subj : Opendoors, C++ od_control Question
To : All
From : Basis
Date : Mon Jun 09 2025 09:10 pm
Hello,
Tinkering with opendoors and C++. I have a fully working hello world build environment that works from a client app (like syncterm) calling a door inside Windows Synchronet w/ socket i/o method and door32.sys drop file.
I'm trying to display ANSI from a file without the prompt: Continue? [Y/n/=]
I've been reading the manual around the settings for od_control.user_attribute.
Namely:
user_ unsigned char od_control.user_attribute;
attribute
This variable is a bitmap of eight flags, each of which
represent individual pieces of information pertaining to the
user that is currently online. These flags are as follows:
+-----+------+-----------------------+
| BIT | MASK | DESCRIPTION |
+-----+------+-----------------------+
| 0 | 0x01 | Is the user deleted |
| 1 | 0x02 | Is screen clearing on |
| 2 | 0x04 | Is "more" prompt on |
| 3 | 0x08 | Is ANSI mode on |
| 4 | 0x10 | User no-kill setting |
| 5 | 0x20 | Transfer-priority |
| 6 | 0x40 | Full screen editor |
| 7 | 0x80 | Quiet mode |
+-----+------+-----------------------+
From the glossary, it says:
Clear Flag: variable &=~ FLAG_CONSTANT;