Comments (5)
This doesn't work yet. Maybe you can try my scripts to reproduce?
from comcom64.
Yes, can reproduce.
from comcom64.
There is no standard way in DOS to pass
such big cmdlines. There are some techniques
like CMDLINE=
env var, but the DOS app should
be prepared to take the args from that var, and
unix.com is not.
There is a certain short-cut between freecom and
dosemu2 tools that allows to pass such a big cmd
lines directly, bypassing DOS exec. But you won't
be able to e.g. pass such a big cmdline to wget -
only to dosemu2 tools. Of course you got lucky that
unix.com passes that to wget under linux where there
is no such limit. So in your case things surprisingly
worked, but I'd say you were exceptionally lucky.
You won't get this to work on any other emulators
including dosemu1, but dosemu2 is full of surprises
even for me (i.e. I couldn't believe my eyes seeing
this works under freecom).
It is indeed impossible, but the aforementioned
short-cut for dosemu2 tools may eventually be added
to comcom32, see #10.
Another option is to declare unix.com
special
and add an ability to it to take the cmdline from
CMDLINE=
var. It is an arguably valid to assume
that only "unix.com" may need a very long command
lines.
from comcom64.
and add an ability to it to take the cmdline from
CMDLINE= var
And that looks problematic as djgpp does this
trick only for shells (compares the program name
to the list of known shells). Otherwise it just
truncates the cmdline to 126 (not 127!) bytes,
so its quite difficult to get an indication that the
line was truncated (127 is such an indication).
from comcom64.
Now you can pass long cmdlines
(up to 256 chars) to unix.com with
comcom64/32, similar to how it
was with freecom.
from comcom64.
Related Issues (20)
- can't convert deb arch to noarch HOT 2
- implement ctty
- DIR (using int21/7303) non longer reports correct space HOT 6
- Suggestion: Make a PPA for Debian HOT 19
- DIR with non existent drive returns spurious result HOT 2
- disable CI for entire branch HOT 2
- CD changes drive
- SET accepts any switch letter as meaning /P switch HOT 1
- pipes do not handle prog args
- suppress Runtime error 200 HOT 5
- setting date and time
- saveable history buffer
- Unable to manually set time or date with comcom32 HOT 2
- COMCOM32 wildcard not working
- Continue on error? HOT 1
- Odd trailing character on version string HOT 20
- implement toclip-alike winoldap support HOT 1
- command completion should account for BAT EXE COM files
- `README.md`'s links to build tools does not work. Where to find `dj64-gcc`? HOT 5
- LFN: too many dirs open HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comcom64.