🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #582

Turbo C 2.0 "automatic" text mode

#582
From: Jim Bittman
Date: Sun, 03 Jun 1990 03:25
25 lines
1082 bytes
I've just recently discovered a problem (at least for me) with
Turbo C 2.0.  It appears that just having a call to their
"window" routine, in a module that is linked but never called,
causes the program to automatically reset the
video mode.  I have a module that looks like this:

FILE1.C
main()
{
}

FILE2.c
has a call to "window"

dos> tcc -ms file1.c file2.c
dos> file1 (resets video mode from graphics to text!)
dos> tcc -ms file1.c
dos> file1 (just returns graphics prompt.)

I'm curios if anyone else has experienced this, or maybe this is a
"feature" that I just can't use...
Thanks for all help!
Jim Bittman, jmbj@grebyn.com

I consider this an annoyance, is there a workaround?
Technical Details
Message-ID: <20098@grebyn.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!rochester!newkodak!uupsi!grebyn!jmbj

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!rochester!newkodak!uupsi!grebyn!jmbj
From: jmbj@grebyn.com (Jim Bittman)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Turbo C 2.0 "automatic" text mode
Keywords: Is there a work around?
Message-ID: <20098@grebyn.com>
Date: 3 Jun 90 03:25:15 GMT
Organization: Grebyn Timesharing, Vienna, VA
Lines: 25