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


Groups > comp.os.msdos.programmer > #3992

Re: extending parameters

From "R.Wieser" <address@not.available>
Newsgroups comp.os.msdos.programmer
Subject Re: extending parameters
Date 2021-05-01 17:16 +0200
Organization Aioe.org NNTP Server
Message-ID <s6jrdc$16bi$1@gioia.aioe.org> (permalink)
References (6 earlier) <60f490eb-728d-4767-90f2-5adaf20720f7n@googlegroups.com> <17x60hjtjd6dh.vfxs294kth7t.dlg@40tude.net> <c13ece80-33f2-4ab5-bcb7-c68120339391n@googlegroups.com> <d2snh6xuzu23$.1cfkbxt6yxhk4.dlg@40tude.net> <d2dba42b-d2bb-42d7-8bdd-9f433eefc4fan@googlegroups.com>

Show all headers | View raw


Muta,

> Once again, an additional field in the parameter
> block would require all 3 components (caller, OS
> and called)

Why do you think so ?   AFAIKS the *pointer* field doesn't care how long the 
pointed-to string is ...

Add a "give me a pointer to the extended command-tail string" for the called 
program (the PSP can only hold 126 chars so it needs to be stored somewhere 
else) and it should be enough - if it fails than there is no support.  It 
can be used by the caller, to determine if it should apply the CMDLINE 
environment variable hack, as well as by the callee, for the same reason.

> I'm thinking 32-bit should drop the fcb1/2, as they seem
> to be outdated, and specify that the cmdtail doesn't have
> a length in the first byte, and just relies on NUL-termination.
> And no '\r' either.

As long as you're busy upgrading stuff, do consider changing 2109 to a 
zero-terminated string too.

Regards,
Rudy Wieser

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-04-27 01:35 -0700
  Re: extending parameters JJ <jj4public@gmail.com> - 2021-04-27 18:21 +0700
    Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-04-27 05:52 -0700
      Re: extending parameters JJ <jj4public@gmail.com> - 2021-04-28 13:18 +0700
        Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-04-28 01:05 -0700
          Re: extending parameters JJ <jj4public@gmail.com> - 2021-04-29 17:07 +0700
            Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-04-29 08:38 -0700
              Re: extending parameters JJ <jj4public@gmail.com> - 2021-04-30 16:56 +0700
                Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-04-30 05:34 -0700
                Re: extending parameters JJ <jj4public@gmail.com> - 2021-05-01 18:18 +0700
                Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-05-01 06:41 -0700
                Re: extending parameters "R.Wieser" <address@not.available> - 2021-05-01 17:16 +0200
                Re: extending parameters "R.Wieser" <address@not.available> - 2021-05-01 18:12 +0200
                Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-05-01 11:28 -0700
                Re: extending parameters "R.Wieser" <address@not.available> - 2021-05-01 22:59 +0200
                Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-05-01 14:53 -0700
                Re: extending parameters "R.Wieser" <address@not.available> - 2021-05-02 11:52 +0200
                Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-05-02 06:57 -0700
                Re: extending parameters JJ <jj4public@gmail.com> - 2021-05-02 18:55 +0700
                Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-05-02 06:46 -0700
                Re: extending parameters JJ <jj4public@gmail.com> - 2021-05-03 22:45 +0700
                Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-05-03 09:11 -0700
                Re: extending parameters JJ <jj4public@gmail.com> - 2021-05-04 18:48 +0700
                Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-05-04 08:39 -0700
                Re: extending parameters JJ <jj4public@gmail.com> - 2021-05-05 17:05 +0700
                Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-05-05 04:52 -0700
                Re: extending parameters JJ <jj4public@gmail.com> - 2021-05-06 17:58 +0700
                Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-05-06 09:12 -0700
                Re: extending parameters JJ <jj4public@gmail.com> - 2021-05-07 19:35 +0700
                Re: extending parameters "muta...@gmail.com" <mutazilah@gmail.com> - 2021-05-07 06:11 -0700
  Re: extending parameters "Alexei A. Frounze" <alexfrunews@gmail.com> - 2021-04-27 05:09 -0700

csiph-web