ugetcwd / uchdir freakiness
Hello.
Quoted 5 lines · Bart Oldeman
Quoted 3 lines
I think sooner or later we'll have
to return back to the known-good
standalone-style tools:(the problem with those (well partly) is that we'd need to rely on third party compilers ("invoke tcc via dosemu").
That's why I have put a backward smiley there. I mean it would no doubt be much better to keep using the builtin ones, and to get rid of all the problems alltogether only the comcom must be dropped in favour of the much better FreeCOM. If this is done, besides getting rid of all the comcom's problems, 4/5 of the convoluted coopthreads code can be simply thrown away and the rest can be greately simplified.
Quoted 6 lines · Stas Sergeev
Quoted 5 lines · Bart Oldeman
Quoted 3 lines
I think sooner or later we'll have
to return back to the known-good
standalone-style tools:(the problem with those (well partly) is that we'd need to rely on third party compilers ("invoke tcc via dosemu").
Quoted 10 lines
That's why I have put a backward smiley there. I mean it would no doubt be much better to keep using the builtin ones, and to get rid of all the problems alltogether only the comcom must be dropped in favour of the much better FreeCOM. If this is done, besides getting rid of all the comcom's problems, 4/5 of the convoluted coopthreads code can be simply thrown away and the rest can be greately simplified.
that's a bit of a rigorous move and quite an overstatement -- FreeCOM may be better in that is has TAB completion and does some of the DOS batch file handling (the space problem we discussed with Clarence) a little better; on the other hand comcom is better in that it has a persistent command history (between DOSEMU sessions), the X title display, and doesn't need to swap itself to XMS to be lean on DOS memory.
Also FreeCOM of course has the same problem as lredir here in that it can also only be compiled with tcc. Well of course kernel.sys has the same issues, but anyway.
All in all, I think that comcom is good enough as the basic command interpreter, and those who want to use FreeCOM (or 4DOS or whatever) instead know where to find it.
Bart