1. Command-line length

4Dos allows a command-line length of 255 characters, 511 after expansion
of environment variables.

Apparently Euphoria limits the command-line to the Dos length of 128.

I need to use the longer 4Dos command-line. Is there a way around this
limitation in Euphoria?

If not, would it be possible to lengthen the command-line that Euphoria
accepts in a future (fairly soon I hope) update/release?

--
Terry Constant
constant at flash.net

new topic     » topic index » view message » categorize

2. Re: Command-line length

Terry Constant wrote:
> 4Dos allows a command-line length of 255 characters,
> 511 after expansion of environment variables.
> Apparently Euphoria limits the command-line to the
> Dos length of 128. I need to use the longer 4Dos
> command-line. Is there a way around this
> limitation in Euphoria?
> If not, would it be possible to lengthen the
> command-line that Euphoria accepts in a future
> (fairly soon I hope) update/release?

I get a beeping sound in DOS if I try to type a command line
longer than 128 characters. I don't think there's
anything I can do about that in Euphoria. Running the
command from system() inside a program doesn't seem
to help. I don't have 4DOS installed anymore so
I can't test Euphoria with it. I'm not limiting anything to
128 characters inside Euphoria itself.

Regards,
     Rob Craig
     Rapid Deployment Software

new topic     » goto parent     » topic index » view message » categorize

3. Re: Command-line length

--------------6DA953301A5C

Robert Craig wrote:
>
> Terry Constant wrote:
> > 4Dos allows a command-line length of 255 characters,
> > 511 after expansion of environment variables.
> > Apparently Euphoria limits the command-line to the
> > Dos length of 128. I need to use the longer 4Dos
> > command-line. Is there a way around this
> > limitation in Euphoria?
> > If not, would it be possible to lengthen the
> > command-line that Euphoria accepts in a future
> > (fairly soon I hope) update/release?
>
> I get a beeping sound in DOS if I try to type a command line
> longer than 128 characters. I don't think there's
> anything I can do about that in Euphoria. Running the
> command from system() inside a program doesn't seem
> to help. I don't have 4DOS installed anymore so
> I can't test Euphoria with it. I'm not limiting anything to
> 128 characters inside Euphoria itself.
>
> Regards,
>      Rob Craig
>      Rapid Deployment Software

Rob,
Thanks for your reply. But I do think that there is something unique
about how Euphoria handles a command-line longer than 128 chars. I have
attached Cw.err which is produced by Euphoria with a long command-line.
The specific line I used to produce this Cw.err for you is:

var.ex 1234567890 1234567890 1234567890 1234567890 1234567890 1234567890
1234567890 1234567890 1234567890 1234567890 1234567890

It also crashes with fewer but longer arguments, e.g. 4 arguments of 35
chars.

When Euphoria gets this long line, it completely crashes and produces
Cw.err. You get a beep when you try which is probably Dos balking at
more than 128 characters. 4Dos passes such long lines on to the program.
As you know, some Dos programs, maybe most, simply truncate a long
command-line to the lengths they will accept. Some accept 4Dos's long
command-line.

In your docs, you say, "You can use Euphoria as a sophisticated "batch"
(.BAT) language by making calls to system()." That is one of the primary
reasons I bought Euphoria when I read that line. I intend to use it for
utilities (only one use that I have in mind) that I use to automate
systems. Though not many of my command-lines are longer than 128 chars,
some are. I certainly hope something can be done. I have used many
languages (even wrote my own TIL, a FORTH like language) on many
platforms since I began programming in 1967. I truly like Euphoria. You
have done an excellent job. I would like to settle down with Euphoria
for the next decade for a certain and large segment of my programming.

Again, thanks for responding and I am still hoping.

--
Terry Constant
constant at flash.net

--------------6DA953301A5C
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline; filename="Cw.err"

CauseWay DOS Extender v3.14 Copyright 1992-96 Michael Devore.
All rights reserved.

Exception: 0D, Error code: 000C

EAX=3D00000000 EBX=3D0000017F ECX=3D00000000 EDX=3D0000F000 ESI=3D0000010=
0 =

EDI=3D00000100 EBP=3D00000000 ESP=3D00000736 EIP=3D00003433 EFL=3D0001024=
6 =


CS=3D00CF-xxxxxxxx DS=3D00D7-xxxxxxxx ES=3D016F-xxxxxxxx =

FS=3D0000-xxxxxxxx GS=3D0000-xxxxxxxx SS=3D0087-xxxxxxxx =


CR0=3D00000000 CR2=3D00000000 CR3=3D00000000 TR=3D0000

Info flags=3D00008018 =


=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=
=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00=00CS:EIP > 66 26 8E 0=
5 00 01 00 00 66 26 8E 05 2C 00 00 00 =

         33 F6 26 8A 06 46 0A C0 75 F8 26 8A 06 0A C0 75 =

         F1 83 C6 03 8B CE 81 C1 00 01 00 00 66 B8 0C FF =

         CD 31 0F 82 C0 00 00 00 66 8C C0 66 8E 05 5B 5B =

         00 00 67 66 26 8E 06 A2 02 66 26 89 1D 2C 00 00 =

         00 8B CE 1E 66 8E D8 66 8E C3 33 F6 33 FF F3 A4 =

         1F 66 8E 05 5B 5B 00 00 67 66 26 8E 06 A2 02 66 =

         26 8E 05 2C 00 00 00 33 F6 26 8A 06 46 0A C0 75 =

         F8 26 8A 06 0A C0 75 F1 83 C6 03 8B EE 1E C5 35 =

         42 35 00 00 8A 46 01 1F 8B FD 3C 3A 74 49 57 B4 =

         19 CD 21 8A D0 04 41 5E 26 88 06 46 26 C6 06 3A =

         46 1E 56 C5 35 42 35 00 00 8A 06 5E 1F 8B FE 3C =

         5C 74 24 26 C6 06 5C 46 26 C6 06 00 B4 47 32 D2 =

         1E 06 1F CD 21 1F 8B F5 1E 06 1F AC 0A C0 75 FB =

         1F 4E 8B FE B0 5C AA 1E C5 35 42 35 00 00 AC AA =

         0A C0 75 FA 1F F8 EB 01 F9 66 8B 1D 3A 35 00 00 =

         =


SS:ESP > 00 00 27 43 00 00 78 07 EF 00 00 00 BF 00 00 00 =

         95 45 00 00 D7 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 EF 00 00 00 BF 00 00 00 D6 42 00 00 BF 00 =

         00 00 E3 15 00 00 C4 07 00 00 81 00 00 00 50 06 =

         00 00 80 00 00 00 5D 07 00 00 E4 07 00 00 21 01 =

         13 83 C6 04 00 00 00 00 FF FF 24 FF 00 80 00 00 =

         00 00 00 00 00 00 EF 00 BF 00 BF 00 00 00 DD 00 =

         00 00 B7 00 5D 07 46 02 00 00 00 00 00 00 00 00 =

         00 3F 3A 5C 00 00 00 00 00 00 4D 00 00 21 16 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         =


SS:EBP > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =

         =



   Application resource tracking details   =



Selectors
=3D=3D=3D=3D=3D=3D=3D=3D=3D

 sel   base     limit  type D mem count
----------------------------------------
0177 83152000 00004000 DATA 32 Y xxxx

Total selectors: 0001


Linear memory blocks

 handle    base    length =

--------------------------

Total Linear memory: 00000000 (00004000) in 00000000 blocks


Linear memory locked

  base    length =

-----------------


DOS memory blocks

 sel   base    length =

----------------------


Protected mode interrupt vectors
=3D=3D=3D=3D=3D=3D=3D

No sel   offset =

----------------
00 010F 0000025A =

01 003B 00000002 =

02 003B 00000004 =

03 003B 00000006 =

04 003B 00000008 =

05 003B 0000000A =

06 003B 0000000C =

07 003B 0000000E =

08 003B 00000010 =

09 003B 00000012 =

0A 003B 00000014 =

0B 003B 00000016 =

0C 003B 00000018 =

0D 003B 0000001A =

0E 003B 0000001C =

0F 003B 0000001E =

10 0137 000000CB =

11 003B 00000022 =

12 003B 00000024 =

13 003B 0000032C =

14 003B 00000028 =

15 003B 0000032E =

16 003B 0000002C =

17 003B 0000002E =

18 003B 00000030 =

19 003B 00000032 =

1A 003B 00000034 =

1B 00CF 00005988 =

1C 003B 00000330 =

1D 003B 0000003A =

1E 00F3 00000000 =

1F 003B 0000003E =

20 003B 0000038A =

21 011F 00000000 =

22 003B 00000044 =

23 00CF 00005A0B =

24 00CF 00005A27 =

25 003B 000003F6 =

26 003B 00000402 =

27 003B 0000004E =

28 003B 00000050 =

29 003B 00000052 =

2A 003B 00000332 =

2B 003B 00000056 =

2C 003B 00000058 =

2D 003B 0000005A =

2E 003B 0000005C =

2F 003B 000003F2 =

30 003B 00000060 =

31 00CF 0000000A =

32 003B 00000064 =

33 0157 00000123 =

34 003B 00000068 =

35 003B 0000006A =

36 003B 0000006C =

37 003B 0000006E =

38 003B 00000070 =

39 003B 00000072 =

3A 003B 00000074 =

3B 003B 00000076 =

3C 003B 00000078 =

3D 003B 0000007A =

3E 003B 0000007C =

3F 003B 0000007E =

40 003B 00000080 =

41 003B 0000021A =

42 003B 00000084 =

43 003B 00000086 =

44 003B 00000088 =

45 003B 0000008A =

46 003B 0000021A =

47 003B 0000008E =

48 003B 00000090 =

49 003B 00000092 =

4A 003B 00000094 =

4B 003B 00000340 =

4C 003B 00000098 =

4D 003B 0000009A =

4E 003B 0000009C =

4F 003B 0000009E =

50 003B 000000A0 =

51 003B 000000A2 =

52 003B 000000A4 =

53 003B 000000A6 =

54 003B 000000A8 =

55 003B 000000AA =

56 003B 000000AC =

57 003B 000000AE =

58 003B 000000B0 =

59 003B 000000B2 =

5A 003B 000000B4 =

5B 003B 000000B6 =

5C 003B 00000334 =

5D 003B 000000BA =

5E 003B 000000BC =

5F 003B 000000BE =

60 003B 000000C0 =

61 003B 000000C2 =

62 003B 000000C4 =

63 003B 000000C6 =

64 003B 000000C8 =

65 003B 000000CA =

66 003B 000000CC =

67 003B 00000356 =

68 003B 000000D0 =

69 003B 000000D2 =

6A 003B 000000D4 =

6B 003B 000000D6 =

6C 003B 000000D8 =

6D 003B 000000DA =

6E 003B 000000DC =

6F 003B 000000DE =

70 003B 000000E0 =

71 003B 000000E2 =

72 003B 000000E4 =

73 003B 000000E6 =

74 003B 000000E8 =

75 003B 000000EA =

76 003B 000000EC =

77 003B 000000EE =

78 003B 000000F0 =

79 003B 000000F2 =

7A 003B 000003BA =

7B 003B 000000F6 =

7C 003B 000000F8 =

7D 003B 000000FA =

7E 003B 000000FC =

7F 003B 000000FE =

80 003B 00000100 =

81 003B 00000102 =

82 003B 00000104 =

83 003B 00000106 =

84 003B 00000108 =

85 003B 0000010A =

86 003B 0000010C =

87 003B 0000010E =

88 003B 00000110 =

89 003B 00000112 =

8A 003B 00000114 =

8B 003B 00000116 =

8C 003B 00000118 =

8D 003B 0000011A =

8E 003B 0000011C =

8F 003B 0000011E =

90 003B 00000120 =

91 003B 00000122 =

92 003B 00000124 =

93 003B 00000126 =

94 003B 00000128 =

95 003B 0000012A =

96 003B 0000012C =

97 003B 0000012E =

98 003B 00000130 =

99 003B 00000132 =

9A 003B 00000134 =

9B 003B 00000136 =

9C 003B 00000138 =

9D 003B 0000013A =

9E 003B 0000013C =

9F 003B 0000013E =

A0 003B 00000140 =

A1 003B 00000142 =

A2 003B 00000144 =

A3 003B 00000146 =

A4 003B 00000148 =

A5 003B 0000014A =

A6 003B 0000014C =

A7 003B 0000014E =

A8 003B 00000150 =

A9 003B 00000152 =

AA 003B 00000154 =

AB 003B 00000156 =

AC 003B 00000158 =

AD 003B 0000015A =

AE 003B 0000015C =

AF 003B 0000015E =

B0 003B 00000160 =

B1 003B 00000162 =

B2 003B 00000164 =

B3 003B 00000166 =

B4 003B 00000168 =

B5 003B 0000016A =

B6 003B 0000016C =

B7 003B 0000016E =

B8 003B 00000170 =

B9 003B 00000172 =

BA 003B 00000174 =

BB 003B 00000176 =

BC 003B 00000178 =

BD 003B 0000017A =

BE 003B 0000017C =

BF 003B 0000017E =

C0 003B 00000180 =

C1 003B 00000182 =

C2 003B 00000184 =

C3 003B 00000186 =

C4 003B 00000188 =

C5 003B 0000018A =

C6 003B 0000018C =

C7 003B 0000018E =

C8 003B 00000190 =

C9 003B 00000192 =

CA 003B 00000194 =

CB 003B 00000196 =

CC 003B 00000198 =

CD 003B 0000019A =

CE 003B 0000019C =

CF 003B 0000019E =

D0 003B 000001A0 =

D1 003B 000001A2 =

D2 003B 000001A4 =

D3 003B 000001A6 =

D4 003B 000001A8 =

D5 003B 000001AA =

D6 003B 000001AC =

D7 003B 000001AE =

D8 003B 000001B0 =

D9 003B 000001B2 =

DA 003B 000001B4 =

DB 003B 000001B6 =

DC 003B 000001B8 =

DD 003B 000001BA =

DE 003B 000001BC =

DF 003B 000001BE =

E0 003B 000001C0 =

E1 003B 000001C2 =

E2 003B 000001C4 =

E3 003B 000001C6 =

E4 003B 000001C8 =

E5 003B 000001CA =

E6 003B 000001CC =

E7 003B 000001CE =

E8 003B 000001D0 =

E9 003B 000001D2 =

EA 003B 000001D4 =

EB 003B 000001D6 =

EC 003B 000001D8 =

ED 003B 000001DA =

EE 003B 000001DC =

EF 003B 000001DE =

F0 003B 000001E0 =

F1 003B 000001E2 =

F2 003B 000001E4 =

F3 003B 000001E6 =

F4 003B 000001E8 =

F5 003B 000001EA =

F6 003B 000001EC =

F7 003B 000001EE =

F8 003B 000001F0 =

F9 003B 000001F2 =

FA 003B 000001F4 =

FB 003B 000001F6 =

FC 003B 000001F8 =

FD 003B 000001FA =

FE 003B 000001FC =

FF 003B 000001FE =



Protected mode exception vectors
=3D=3D=3D=3D=3D=3D=3D

No sel   offset =

----------------
00 010F 00000316 =

01 003B 0000045C =

02 003B 0000045E =

03 003B 00000460 =

04 010F 00000356 =

05 010F 00000366 =

06 010F 00000376 =

07 010F 00000386 =

08 010F 00000396 =

09 010F 000003A6 =

0A 003B 00000462 =

0B 003B 00000412 =

0C 003B 00000416 =

0D 010F 000003E6 =

0E 010F 000003F6 =

0F 010F 00000406 =

10 003B 00000464 =

11 003B 00000466 =

12 003B 00000468 =

13 003B 0000046A =

14 003B 0000046C =

15 003B 0000046E =

16 003B 00000470 =

17 003B 00000472 =

18 003B 00000474 =

19 003B 00000476 =

1A 003B 00000478 =

1B 003B 0000047A =

1C 003B 0000047C =

1D 003B 0000047E =

1E 003B 00000480 =

1F 003B 00000482 =



Real mode interrupt vectors
=3D=3D

No seg offset
-------------
00 00C9 0F9E =

01 0070 0465 =

02 D584 0016 =

03 0070 0465 =

04 0070 0465 =

05 F000 FF54 =

06 B001 0634 =

07 F000 EF6F =

08 0419 0000 =

09 DB4D 1923 =

0A F000 EF6F =

0B F000 EF6F =

0C F000 EF6F =

0D F000 EF6F =

0E D584 009A =

0F 0070 0465 =

10 04D3 0010 =

11 F000 F84D =

12 F000 F841 =

13 FD70 2417 =

14 F000 E739 =

15 DB4D 19A0 =

16 06EB 0115 =

17 D24F 0A28 =

18 F000 E7A4 =

19 028E 002F =

1A F000 FE6E =

1B FDD7 1DA7 =

1C 0419 001D =

1D F000 F0A4 =

1E 0000 0522 =

1F C000 4E90 =

20 00C9 0FA8 =

21 DB4D 16B4 =

22 FDD4 1DD7 =

23 FD91 2207 =

24 0462 0001 =

25 DB4D 19DE =

26 DB4D 1A27 =

27 00C9 0FD0 =

28 FD94 21D7 =

29 D141 057C =

2A D24F 05B4 =

2B 00C9 106F =

2C 00C9 106F =

2D 00C9 106F =

2E B0C1 0733 =

2F 06EB 01E8 =

30 C90F E4EA =

31 F000 EF00 =

32 00C9 106F =

33 E500 0080 =

34 00C9 106F =

35 00C9 106F =

36 00C9 106F =

37 00C9 106F =

38 00C9 106F =

39 00C9 106F =

3A 00C9 106F =

3B 00C9 106F =

3C 00C9 106F =

3D 00C9 106F =

3E 00C9 106F =

3F 00C9 106F =

40 F000 EC59 =

41 F000 EFD5 =

42 F000 F065 =

43 C000 4A90 =

44 F000 EF6F =

45 F000 EF6F =

46 F000 EFE5 =

47 F000 EF6F =

48 F000 EF6F =

49 F000 EF6F =

4A F000 EF6F =

4B FD50 2617 =

4C F000 EF6F =

4D F000 EF6F =

4E F000 EF6F =

4F 0070 04FC =

50 F000 EF6F =

51 F000 EF6F =

52 F000 EF6F =

53 F000 EF6F =

54 F000 EF6F =

55 F000 EF6F =

56 F000 EF6F =

57 F000 EF6F =

58 F000 EF6F =

59 F000 EF6F =

5A F000 EF6F =

5B F000 EF6F =

5C 0424 0007 =

5D F000 EF6F =

5E F000 EF6F =

5F F000 EF6F =

60 0000 0000 =

61 0000 0000 =

62 0000 0000 =

63 0000 0000 =

64 0000 0000 =

65 0000 0000 =

66 0000 0000 =

67 0413 0040 =

68 F000 EF6F =

69 F000 EF6F =

6A F000 EF6F =

6B F000 EF6F =

6C F000 EF6F =

6D C000 70DE =

6E F000 EF6F =

6F F000 EF6F =

70 D584 0035 =

71 F000 ECF3 =

72 F000 EF6F =

73 D584 00CA =

74 D584 00E2 =

75 F000 F0FC =

76 D584 00FA =

77 D584 0112 =

78 0000 0000 =

79 0000 0000 =

7A 0000 0000 =

7B 0000 0000 =

7C 0000 0000 =

7D 0000 0000 =

7E 0000 0000 =

7F 0000 0000 =

80 0000 0000 =

81 0000 0000 =

82 0000 0000 =

83 0000 0000 =

84 0000 0000 =

85 0000 0000 =

86 0000 0000 =

87 0000 0000 =

88 0000 0000 =

89 0000 0000 =

8A 0000 0000 =

8B 0000 0000 =

8C 0000 0000 =

8D 0000 0000 =

8E 0000 0000 =

8F 0000 0000 =

90 0000 0000 =

91 0000 0000 =

92 0000 0000 =

93 0000 0000 =

94 0000 0000 =

95 0000 0000 =

96 0000 0000 =

97 0000 0000 =

98 0000 0000 =

99 0000 0000 =

9A 0000 0000 =

9B 0000 0000 =

9C 0000 0000 =

9D 0000 0000 =

9E 0000 0000 =

9F 0000 0000 =

A0 0000 0000 =

A1 0000 0000 =

A2 0000 0000 =

A3 0000 0000 =

A4 0000 0000 =

A5 0000 0000 =

A6 0000 0000 =

A7 0000 0000 =

A8 0000 0000 =

A9 0000 0000 =

AA 0000 0000 =

AB 0000 0000 =

AC 0000 0000 =

AD 0000 0000 =

AE 0000 0000 =

AF 0000 0000 =

B0 0000 0000 =

B1 0000 0000 =

B2 0000 0000 =

B3 0000 0000 =

B4 0000 0000 =

B5 0000 0000 =

B6 0000 0000 =

B7 0000 0000 =

B8 0000 0000 =

B9 0000 0000 =

BA 0000 0000 =

BB 0000 0000 =

BC 0000 0000 =

BD 0000 0000 =

BE 0000 0000 =

BF 0000 0000 =

C0 0000 0000 =

C1 0000 0000 =

C2 0000 0000 =

C3 0000 0000 =

C4 0000 0000 =

C5 0000 0000 =

C6 0000 0000 =

C7 0000 0000 =

C8 0000 0000 =

C9 0000 0000 =

CA 0000 0000 =

CB 0000 0000 =

CC 0000 0000 =

CD 0000 0000 =

CE 0000 0000 =

CF 0000 0000 =

D0 0000 0000 =

D1 0000 0000 =

D2 0000 0000 =

D3 0000 0000 =

D4 0000 0000 =

D5 0000 0000 =

D6 0000 0000 =

D7 0000 0000 =

D8 0000 0000 =

D9 0000 0000 =

DA 0000 0000 =

DB 0000 0000 =

DC 0000 0000 =

DD 0000 0000 =

DE 0000 0000 =

DF 0000 0000 =

E0 0690 0000 =

E1 0C8D 0C8D =

E2 0CCD 0CB4 =

E3 003C 0120 =

E4 6D00 04C6 =

E5 82F0 00EF =

E6 4E80 3C00 =

E7 5000 01ED =

E8 DF02 DF92 =

E9 0A05 0A02 =

EA 0AED 2205 =

EB 00ED 2205 =

EC 3C00 86F0 =

ED 00ED 4E80 =

EE C602 02F0 =

EF C09F D59F =

F0 8000 0007 =

F1 0100 0000 =

F2 0000 0000 =

F3 0100 007C =

F4 0280 0002 =

F5 00C4 1000 =

F6 0E00 0004 =

F7 7C00 0000 =

F8 0080 0001 =

F9 0000 0001 =

FA 0003 0000 =

FB 9E4F 0001 =

FC 7C00 0001 =

FD 471A 4BC5 =

FE 4650 4777 =

FF 0246 F000 =



Call-Backs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  real        target
-----------------------

--------------6DA953301A5C--

new topic     » goto parent     » topic index » view message » categorize

4. Re: Command-line length

>Date: Fri, 22 May 1998 09:28:09 -0400
>>
>>Robert Craig wrote:
>>>
>>> Terry Constant wrote:
>>> > 4Dos allows a command-line length of 255 characters,
>>> > 511 after expansion of environment variables.
>>> > Apparently Euphoria limits the command-line to the
>>> > Dos length of 128. ....

>>> Rob Craig wrote:
>>> ....I'm not limiting anything to
>>> 128 characters inside Euphoria itself.
>>>
>>> Regards,
>>>      Rob Craig
>>>      Rapid Deployment Software
>>
>>Rob,
>>Thanks for your reply. But I do think that there is something unique
>>about how Euphoria handles a command-line longer than 128 chars.
......
>>When Euphoria gets this long line, it completely crashes and produces
>>Cw.err. You get a beep when you try which is probably Dos balking at
>>more than 128 characters. 4Dos passes such long lines on to the program.
>> Some accept 4Dos's long command-line.
------------------------------------
Wild guess #1: when DOS creates a PSP for Euphoria
(or any program) it allocates a fixed length area in which to
pass the command line (offset 80h within the psp).
Only 91 bytes are allotted, because the filename(s)
are stripped off first. This is a core DOS function,
probably used by 4DOS as well.

Wild guess #2: perhaps 4DOS and 4DOS compatible programs
use the undocumented 2Eh call (alternate EXEC) to process
the longer line?

No flames, please. I don't know much about DOS. That's why
these are called guesses.

Irv

new topic     » goto parent     » topic index » view message » categorize

5. Re: Command-line length

Robert,
One other consideration about this long command-line length thing.
Currently the Win95 limit on filenames, path plus filename, is 511
chars, or there abouts. The filename itself cannot be more than 255
chars, I think (I probably should check the manual, but my failing
memory is good enough for this comment.)

I currently have files whose total file spec length is around 255
characters. I cannot even pass one of those file specs to a Euphoria
program. A couple of my clients have some filespecs as long as or longer
than mine. Since Euphoria supports long filenames, it must be able to
handle a command-line longer than 128 characters.

I'm not wanting to beat a dead horse, but I just recognized this
situation as I was thinking about a routine that I might write that
deals with these files. Just wanted to share it with you, like you don't
have enough to think about in developing your program.

Euphoria is a great product. I will share some observations with you
from time to time as I use it, and they are observations and requests,
not demands.

--
Terry Constant
constant at flash.net

new topic     » goto parent     » topic index » view message » categorize

6. Re: Command-line length

At 07:11 PM 5/22/98 -0500, you Terry Constant wrote:

>One other consideration about this long command-line length thing.
>Currently the Win95 limit on filenames, path plus filename, is 511
>chars, or there abouts. The filename itself cannot be more than 255
>chars, I think (I probably should check the manual, but my failing
>memory is good enough for this comment.)
>
>I currently have files whose total file spec length is around 255
>characters. I cannot even pass one of those file specs to a Euphoria
>program. A couple of my clients have some filespecs as long as or longer...

Have you considered using single character
filenames? Could save a few bytes ...

Graeme.

----------------------------------------------------

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu