summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
214f1a2)
SCCS-vsn: usr.bin/tn3270/ctlr/api.c 1.12
SCCS-vsn: usr.bin/tn3270/ctlr/api.h 1.11
{
if (regs->h.ah == NAME_RESOLUTION) {
name_resolution(regs, sregs);
{
if (regs->h.ah == NAME_RESOLUTION) {
name_resolution(regs, sregs);
+#if defined(unix)
+ } else if (regs->h.ah == PS_OR_OIA_MODIFIED) {
+ while ((oia_modified == 0) && (ps_modified == 0)) {
+ (void) Scheduler(1);
+ }
+ oia_modified = ps_modified = 0;
+#endif /* defined(unix) */
} else if (regs->h.ah != 0x09) {
regs->h.ch = 0x12;
regs->h.cl = 0x0f; /* XXX Invalid environmental access */
} else if (regs->h.ah != 0x09) {
regs->h.ch = 0x12;
regs->h.cl = 0x0f; /* XXX Invalid environmental access */
* Name Resolution is specified in AH.
*/
* Name Resolution is specified in AH.
*/
-#define NAME_RESOLUTION 0x81
+#define NAME_RESOLUTION 0x81
+
+#if defined(unix)
+/*
+ * In unix, we offer a service to allow the application to keep from
+ * having to poll us constantly.
+ */
+#define PS_OR_OIA_MODIFIED 0x99
+
+#endif /* defined(unix) */
/*
* Codes specified in AL for various services.
/*
* Codes specified in AL for various services.