Mail Archives: djgpp/1998/08/17/13:22:56
--=====================_903388108==_
Content-Type: text/plain; charset="us-ascii"
Dear Mailing list,
Please find the attached files autoexec.bat, config.sys, and environ.lst.
Running go32-v2 produced the following output :
go32/v2 version 2.0 built Aug 12 1996 22:27:23
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries as
well as v1 binaries <old makefiles>. Put ahead of the old go32 in your
PATH
but do not delete your old go32 - leave it in the PATH after this one.
DPMI memoryavailable: 30851 Kb
DPMI swap space available: 31761 Kb
My problem :
I have a very simple C program that I was able to compile and execute using
a different compiler. I was able to compile and execute the program with
gcc. However, when the program reached the point where it attempts to read
a string from the keyboard using scanf, there is a problem. The program
doesn't seem to register the <CR>. I can enter in characters and hit ENTER
as much as I want, but it just gets stuck right there.
I am a very inexperienced C programmer, but seeing that the program worked
with a different compiler, I don't think that the problem is the program
itself. Can you help?
Thanks,
BART
--=====================_903388108==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="autoexec.bat"
C:\PROGRA~1\NETWOR~1\MCAFEE~1\SCANPM.EXE C:\
@IF ERRORLEVEL 1 PAUSE
@ECHO OFF
PROMPT $P$G
PATH=C:\WINDOWS;C:\SAP90\BATCH;F:\MANAGE\BATCH;c:\dos;c:\adoss;c:\djgpp\bin;
PATH=%PATH%;
set DJGPP=C:\DJGPP\DJGPP.ENV
LH /L:1,6384 C:\WINDOWS\COMMAND\DOSKEY /INSERT
--=====================_903388108==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="Config.sys"
REM [Header]
DOS=HIGH,UMB
FILES=50
REM [SCSI Controllers]
REM DEVICE=SCSI.SYS
REM [CD-ROM Drive]
rem DEVICE=GSCDROM.SYS /D:OEMCD001
REM [Display]
REM DEVICE=DISPLAY.SYS
REM [Sound, MIDI, or Video Capture Card]
REM DEVICE=SOUND.SYS
REM [Mouse]
REM DEVICE=MOUSE.SYS
REM ------------------
REM [Miscellaneous]
REM DEVICE=SMARTDRV.EXE
--=====================_903388108==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="environ.lst"
TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
PROMPT=$P$G
DJGPP=C:\DJGPP\DJGPP.ENV
windir=C:\WINDOWS
BLASTER=A220 I5 D1
PATH=Z:\PUBLIC;Y:\;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\WINDOWS;C:\SAP90\BATCH;F:\MANAGE\BATCH;C:\DOS;C:\ADOSS;C:\DJGPP\BIN;;
CMDLINE=F:\UTILS\SEMEDIT\E cotgr5.out
--=====================_903388108==_--
- Raw text -