Mail Archives: djgpp/1996/12/05/22:47:19
On Thu, 5 Dec 1996 19:31:44 -0600 John Schucker <gwynn AT globaldialog DOT com>
writes:
>I am attempting to run bash, not as a DOS shell, but as a secondary
>shell, from the DOS prompt. I run it with:
>bash -login
>I have an /etc/profile file, which defines path as:
>PATH='.;'$PATH
>and has aliases for cls, md, rd, and info so it will automatically
>come
>up with the --speech-friendly option. Here are my two problems.
>
>It runs fine for a while, and suddenly dies with a sigsegv and a GPF,
>and
>a nice stacktrace. It seems to happen alot when I run qedit. I have
>about 2665KB of DPMI, and all of the virtual memory cwsdpmi can use,
>since I have a 1.2GB drive. So it's getting about 13200KB memory
>total.
>I thought maybe the heap value needed adjusted, so I used cwsparam to
>double it from 128 to 256. Any ideas as to why this dies?
>
>Also, it will not seem to find a file, foo.sh, but it will find foo
>and
>execute it as a shell script, more or less. I renamed man2txt.sh to
>man2txt, and ran it on bash.1, and it worked fine from bash. However
>if
>I do:
>q foo
>(in editor type)
>echo foo
>(save this)
>And then from 'bash$' type
>foo
>My computer locks with exception 6. This happens every single time I
>do
>this. I am using qemm 7.5, but since I am not using its DPMI server,
>I
>really don't see how it would affect anything. Help?
>
>At the risk of having babbled enough already, I tried doing a make of
>less. It makes fine, but for some reason, I can't get it to use BIOS
>writes as opposed to direct video. I tried setting directvideo = 0;
>in
>both screen.c and main.c I know conio.h said gppconio ignores the
>value
>of directvideo, but I thought that was for stuff in the gppconio.h
>file?
>
>I also tried replacing all occurrences of cputs(foo); in screen.c
>with:
>fputs(foo,stdout);
>but when I do a make and then do less --help or less less.man, it
>still
>uses direct video writes. Since I'm using a screen reader, I could
>really use something like the --speech-friendly option on info, and I
>had
>hoped after getting less working with BIOS, I would add such an option
>to
>it. Any suggestions?
>
>BTW, if any configuration files, etc., are needed to help in figuring
>out
>these problems, please let me know, and I will provide them. TIA.
>
>
>
I'm sorry to ask stupid questions like this but I have just completed the
process of getting a new e-mail account so I lost a few day's worth of
e-mail in the interm. *8-)
My questions is:
There is a BASH shell for DOS?
If so, why? Just for the fun of it or is their a real need for it?
====================================================================
Bruce A. Locke
BRUCE_LOCKE AT JUNO DOT COM
- Raw text -