X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Thomas8675309 AT yahoo DOT com (Tom) Newsgroups: comp.os.msdos.djgpp Subject: Re: Improved dos bos for bash with scollable window ??? Date: 25 Nov 2003 07:40:04 -0800 Organization: http://groups.google.com Lines: 36 Message-ID: <7b68d58f.0311250740.5a38c106@posting.google.com> References: <25a1dc7c DOT 0311240930 DOT 79217c02 AT posting DOT google DOT com> NNTP-Posting-Host: 63.72.148.162 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1069774804 26806 127.0.0.1 (25 Nov 2003 15:40:04 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 25 Nov 2003 15:40:04 +0000 (UTC) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hans-Bernhard Broeker wrote: > > When using the command line under win98 I really miss a scrollable > > window like under Linux. > > You, and lots of others. Unfortunately it doesn't exist, and quite > probably that's because it is fundamentally impossible. > > DOS itself does not expect a terminal window to be back-scrollable, > and will cause all kinds of strange things to happen if you try to > convince it otherwise. > > You may have noticed that the NT console window, which usually does > have scrolling capabilities, immediately loses those when you run any > MS-DOS program that outputs to the screen. That's the same problem in > a different dress. I'm confused. What do you mean by "back-scrollable" and "MS-DOS program that outputs to the screen"? On my Windows XP system, using cmd.exe as my shell, I have the ability to scroll back to the beginning of the session using the scroll bar, and that includes when I run my DJGPP-compiled programs (which output to the screen using std::cout and printf). I have to run cmd.exe as a window to get that capability - while I'm running it full-screen, I don't seem to have the ability to scroll - but if I switch back (using alt-enter) to a window, the parts that have scrolled off the screen are still there if I want to scroll back, and that continues to be the case while my DJGPP-compiled DOS program remains active. Did I misunderstand what you meant, or is XP just different than Win98 and NT in this area? I'm guessing the former, so could you explain in more detail what it is that can't be done? Best regards, Tom