🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.databases.xbase.fox
Article #14

Re: Console LockUp in FoxPro for UNIX

#14
From: Scott Michel
Date: Fri, 31 Mar 1995 00:00
23 lines
1826 bytes
Mark Davis (mark@taylor.infi.net) wrote:
: vampyr@bu.edu (Eamon Daly) writes:

: >We have a foxpro program which loops continuously,
: >checking for the  presence  of  input files  in  a
: >certain directory. Unfortunately,   the    program
: >locks out the function  keys occasionally so  that
: >switching  between  ttys   on   the   console   is
: >impossible.

: If you have an application which loops continuously, running under Unix
: (even in Foxpro), I would consider the program broken....  Try to get the
: loop removed, it is a waste of valuable CPU time.

I'd definitely concur there -- this works well under DOS, but not under
Unix. There's some spoofing you could do with the terminal driver and
termio ioctl() calls, but for some reason I doubt you can access them
from inside FoxPro.

Basically, I'm guess you're sitting waiting for the next keystroke and
attempting to do some work procedure while there isn't one?

-scottm
Technical Details
Message-ID: <3lfj7s$73r@delphi.cs.ucla.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3lcblg$lk7@news.bu.edu> <1995Mar29.220157.23800@taylor.infi.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fbd2f,c637735c6da90635
X-Google-Attributes: gidfbd2f,public
X-Google-Thread: 103f0b,c637735c6da90635
X-Google-Attributes: gid103f0b,public
X-Google-Thread: 1122ea,c637735c6da90635
X-Google-Attributes: gid1122ea,public
X-Google-Thread: 134180,c637735c6da90635
X-Google-Attributes: gid134180,public
From: scottm@moby.cs.ucla.edu (Scott Michel)
Subject: Re: Console LockUp in FoxPro for UNIX
Date: 1995/03/31
Message-ID: <3lfj7s$73r@delphi.cs.ucla.edu>
X-Deja-AN: 100646364
references: <3lcblg$lk7@news.bu.edu> <1995Mar29.220157.23800@taylor.infi.net>
followup-to: comp.databases.xbase.fox,biz.sco.general,biz.sco.opendesktop,relcom.comp.dbms.foxpro
organization: UCLA Computer Science Dept.
newsgroups: comp.databases.xbase.fox,biz.sco.general,biz.sco.opendesktop,relcom.comp.dbms.foxpro