home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.lang.basic
- Path: sparky!uunet!wupost!csus.edu!netcom.com!wolvy
- From: wolvy@netcom.com (Wolverine)
- Subject: Re: Qbasic, getting 132 columns
- Message-ID: <1992Dec28.211511.27014@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <1992Dec23.040418.11296@netcom.com> <1992Dec23.174139.1@ttd.teradyne.com>
- Date: Mon, 28 Dec 1992 21:15:11 GMT
- Lines: 50
-
- rice@ttd.teradyne.com writes:
- >In article <1992Dec23.040418.11296@netcom.com>, wolvy@netcom.com (Wolverine) writes:
- >> I have been using Qbasic 4.5 for many years (and basics before it).
- >> I had written a pretty good descript.ion editor for 4dos and was in
- >> the process of revising it for the 120 limit of descriptions.
- >> But, there has been no way that I have found out to obtain a 132
- >> column mode in Qbasic 4.5. I can only assume that there might be
- >> a library or something out there that can do this. If you can help
- >> me, please email me at wolvy@netcom.com or post here.
- >> Any help would be most appreciative.
- >> p.s. I have been using QB45 for a long time and could offer my
- >> assistance to anyone needing it. (I've delt with ALOT of quirks
- >> in dealing with various problems related to get power out of a
- >> minutely powerfull language (sarcastically spoken :) ).
- >The reason for his is that 132 column mode is much hardware dependent.
- >Different Video Boards have different commands to change to this mode. Without
- >the right Video Hardware, you may not even be able to use 132 column mode.
- >As far as Qbasic is concerned, if your variable is 132 characters wide, you can
- >put 132 characters in it, regardless of the screen width, but to get the screen
- >width to 132 columns, you'll have to write something to tell the video board to
- >go into 132 column mode. In my system, I can use a dos command "display 132 on"
- >to change video modes. This calls "display.com" to change the setup.
- >From Qbasic, I would issue the command "shell display 132 on" from the program
- >to cause the video to switch to 132 column mode. Similarly "shell display 132
- >off", would switch the hardware back to 80 column mode.
-
- didn't want to make this into a huge thing, but let me explain this one bit
- further now. I can switch to maximum 132 by 60 mode at dos no problem.
- I can even switch the mode's in qbasic 4.5 by using a int call to the bios
- through a library I have, but to actually write in these modes and have the
- bios recognize it (i.e. do full scroll for 132 columns when it gets to the
- end of screen, etc..) and to also use locate statements and have them read in
- correctly is where I'm having my problem. The text either wraps around at
- the 80th column instead of #132 and if you do a locate 5,1 it will be
- skewed and the actual location would be ~ 7,40 or something....
-
- it's all because qb 4.5 has that limitation on the width command. if it
- didn't have that limitation, then there wouldn't probably be a problem.
-
- Wonder if it's hackable :)
-
- Thanx for all the help anyways... but like I left the msg before this one, I
- went ahead and re-edited my programs to scroll within a section of space
- similar to the way you do it in windows. it's not as nice, but it'll do
- for the interim.
- L8r
- Craig
-
-
-
-