Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.development > #9753

Re: Halting and restarting apps

From Rod Pemberton <NoHaveNotOne@bcczxcfrze.cam>
Newsgroups alt.os.development
Subject Re: Halting and restarting apps
Date 2016-07-23 02:03 -0400
Organization Aioe.org NNTP Server
Message-ID <20160723020312.4cc77245@_> (permalink)
References <20160721201353.2a25c153@_> <nmspq4$1e0g$1@gioia.aioe.org>

Show all headers | View raw


On Fri, 22 Jul 2016 11:42:12 +0200
"wolfgang kern" <nowhere@never.at> wrote:

> you mean an immediate single key 'stop' which saves everything 
> including mouse position and all temporary configuration setting ? 

I haven't thought about how to stop the app.  I tend to use the CLI
apps for my personal stuff.  Since these are for DOS, which is single
tasking, it would probably need a key on the keyboard to halt.  The
mouse isn't always available in DOS.  If a GUI is being used on a
modern multitasking OS, like Linux, perhaps a menu item like "File" or
"Exit" would save the state.

Yes, it would need to save keyboard buffer, mouse position, open files,
other buffering, vector changes, etc stuff too.  There might need to be
some limitations as to what is supported.  It might be a bunch of work
if hardware has to be reprogrammed or files or devices need to be
synchronized to the saved state.  I'm sure that some states can
probably only be recreated easily if the entire app is run again.

> But it shouldn't restore actual Date&Time :) 

Most apps aren't dependent on date and time, but that would be a
problem if the data being process for the app is.  The date and time
would need to be changed.  This might interfere with other processes
such as date and time stored in directory.  There would probably need
to be another API layer added to allow this to work.


Rod Pemberton

Back to alt.os.development | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Halting and restarting apps Rod Pemberton <NoHaveNotOne@bcczxcfrze.cam> - 2016-07-21 20:13 -0400
  Re: Halting and restarting apps "Alexei A. Frounze" <alexfrunews@gmail.com> - 2016-07-22 01:34 -0700
    Re: Halting and restarting apps Rod Pemberton <NoHaveNotOne@bcczxcfrze.cam> - 2016-07-23 02:03 -0400
      Re: Halting and restarting apps "Alexei A. Frounze" <alexfrunews@gmail.com> - 2016-07-23 04:06 -0700
  Re: Halting and restarting apps "Kerr Mudd-John" <admin@127.0.0.1> - 2016-07-22 09:55 +0100
  Re: Halting and restarting apps "wolfgang kern" <nowhere@never.at> - 2016-07-22 11:42 +0200
    Re: Halting and restarting apps Rod Pemberton <NoHaveNotOne@bcczxcfrze.cam> - 2016-07-23 02:03 -0400
  Re: Halting and restarting apps "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2016-07-22 05:51 -0700
  Re: Halting and restarting apps James Harris <james.harris.1@gmail.com> - 2016-07-24 16:44 +0100

csiph-web