HDTenEightyP/NetNews huggingface dataset:
From: gtd205a@prism.gatech.EDU (James Houghton Crouch)
Newsgroups: comp.lang.pascal
Subject: Re: reading alternate keys on ibm from turbo
Date: 6 Nov 92 12:54:49 GMT
Distribution: usa
Organization: Georgia Institute of Technology

>procedure keyread (var ch: char; var alt: boolean);
>  begin
>    ch:= readkey;
>    alt:= (ch=#0) and keypressed;
>    if alt then ch:= readkey;
>  end;

I think that this program will also return the arrow
keys, PageUp, PageDown, and quite a few others.  

I'm pretty sure that TP firsts reads a #0 and then a code for these keys
too


-- 
_________________________________________________________________________
Hody Crouch     | Georgia Tech       | Internet: gtd205a@prism.gatech.edu
Chemistry Major | Atlanta, GA 30332  | Snail Mail: 34353 GT Station
________________|____________________|___________________________________
Newsgroups: comp.lang.pascal
From: john@utafll.uta.edu (John Baima)
Subject: More impressions of *Borland* Pascal 7.0
Organization: Silver Mountain Software
Distribution: comp
Date: Fri, 13 Nov 1992 14:54:39 GMT

A few more notes on *Borland* Pascal.

Borland split the WObjects unit into smaller ones. I'm sure this will
be good for the long term, but it is a pain to change umpteen units.
That's a negative. Read the READ.ME file!

The ObjectBrowser and related items (Views for Objects, Units,
Globals, Symbols) is stupendous. Really, it is worth the update if you
have medium to largish programs. I have a few programs in the 10's of
thousands of lines and these utilities will make life much easier. I
learned object oriented programming by learning Smalltalk 80 almost 4
years ago. I had always longed for the Smalltalk 80 integrated
environment tools when programming in Pascal. No more. The BP Windows
IDE is really first class. You must see it to understand how nice it
is. One minor caveat is that I'd like more control over the fonts used
in the browser dialog boxes. On my screen, the fonts are too small.

If you have wanted to add a Toolbar to your apps, a nice Toolbar Unit
is included as a sample app. Nice.

In order to use the Toolbar, you really need to use Resource Scripts
(RC files) rather than the compiled RES files. I wondered what would
happen if I included a resource with $R TOOL.RC rather than $R
TOOL.RES. I got a GPF. Not recommended :-(

All in all, I think (after only a couple of days) that Borland Pascal
is a wonderful product for professionals or people who do a lot of
Pascal programming, especially OOP.

Let's have an OS/2 version now, PLEASE!! :-)


--
John Baima
Silver Mountain Software   1029 Tanglewood, Cedar Hill, TX 75104
john@ling.uta.edu          Voice/Fax (214) 293-2920
From: snodgras@cs.unca.edu (Ryan Snodgrass)
Newsgroups: comp.lang.pascal
Subject: VAX Pascal Process Communication
Date: 8 Nov 92 22:41:53 GMT
Organization: University of North Carolina at Asheville

Does anyone have any info on inter-process communication using VAX PASCAL?
Especially SOURCE?   Here is one thing I need to do.  Send an integer to
a mailbox(I guess or something) and have the other process read the integer
and wait for another one.  Also, during the wait for another one, the program
will also wait for input from that keybaord and send it to the other one.
Any info would REALL help.   Thanks,

Ryan
Newsgroups: comp.lang.pascal
From: boie@prince.DKRZ-Hamburg.DE (Markus Boie)
Subject: file locked after ReWrite: problem solved
Organization: Deutsches Klimarechenzentrum GmbH, Hamburg
Date: Fri, 13 Nov 92 15:18:48 GMT

Problem was: newly created file was locked until the program terminated,
             even if I Close'd the file.
The problem has something to do with SHARE. If that program is loaded the
new file is locked. By writing a dummy record to the new file (not only
creating and closing it) the problem went away.

Just in case anyone wants to know...


Markus
From: akwong@uuisis.isis.org (Adrian Kwong)
Newsgroups: comp.lang.pascal
Subject: RE: What we need is...
Date: Fri, 06 Nov 92 20:41:15 GMT
Organization: International Shared Information Service (Ottawa)

>Anyway, the original post was in error; what's needed is not a TPU
>disassembler.  What we need is to force Borland to either stabilize the TPU
>definition (make it release independent), publish the interface with each
>release (making TPU upgrader programs easier to write), or provide their 
>own upgrade utility.

This I agree with completely.  However, What i would like to add, is would
there ever be a way of making a Borland TPU into a Standardized OBJ file.
and If not, does Borland Pascal or Turbo Pascal 7 have support for *.LIB?

Being a developer I have some qualms with the non-standardized TPU and the
difficulty in 6.0 and previous with developing with Libraries written in C
and being a die-hard Pascal fan, don't want to program in C just so I can
develop.

Adrian Kwong            akwong@uuisis.isis.org
---
From: traub@rtf.bt.co.uk (Michael Traub)
Newsgroups: comp.lang.pascal
Subject: Re: A bit about BP7
Date: 12 Nov 92 12:30:26 GMT
Organization: BT Customer Systems, Brighton, UK

In article <1992Nov11.012258.27466@borland.com> chard@borland.com (Richard Nelson) writes:
>
>I'll play Mr. Authority Figure for a moment, at least.  :-)  TP7 is
>basically a straight upgrade to TP6, meaning it doesn't have all the
>extra goodies.  TP Pro no longer exists, being superceded by BP7.

If  TP  Pro  is  being  superseded  by  BP7  why  does it cost 99 pounds to
upgrade  to  BP7  from TP Pro *or* 99 pounds to upgrade from just plain TP?
Shouldn't  it  cost  less to upgrade from the professional version? More to
the  point  I  was told it costs 99 pounds to upgrade from any of TP,TP Pro
or  TPW.  Since  I  have both TPW and TP Pro I asked what the upgrade price
would then be. I was still told 99 pounds!!!!

I  assume  BP7  is nothing more than an amalgamation of TP Pro and TPW with
bug fixes and a few new goodies thrown in so why the large upgrade price?




-- 
Michael Traub
BT Customer Systems, Brighton Systems Centre. traub@btcs.bt.co.uk
From: randyd@csd4.csd.uwm.edu (Randall Elton Ding)
Newsgroups: comp.lang.pascal
Subject: reading alternate keys on ibm from turbo
Date: 5 Nov 1992 19:16:34 GMT
Organization: Computing Services Division, University of Wisconsin - Milwaukee
Distribution: usa
NNTP-Posting-Host: 129.89.7.4

Someone asked for a program to read alternate keys from the IBM,
Here it is...

from: randyd@csd4.csd.uwm.edu

program ibmkeyread;

uses crt;

procedure keyread (var ch: char; var alt: boolean);
  begin
    ch:= readkey;
    alt:= (ch=#0) and keypressed;
    if alt then ch:= readkey;
  end;

procedure main;
  var
    ch: char;
    alt: boolean;

  begin
    repeat
      keyread (ch,alt);
      if alt then write ('alt - ');
      writeln (ch,'   ',ord (ch));
    until (ch=#27) and (not alt);   { esc key }
  end;

begin
  main;
end.

Newsgroups: comp.lang.pascal
From: rbt@tous.oau.org (Robert B. Tate)
Subject: Re: Where is general Pascal group?
Summary: then speak up!
Organization: Tate Enterprises
Date: Thu, 12 Nov 1992 04:28:00 GMT

In article <1992Nov11.104939.14727@jyu.fi> sakkinen@jyu.fi (Markku Sakkinen) writes:
>In article <mByRTB4w165w@digsol.jpunix.com> newton@digsol.jpunix.com (Michael Nichols) writes:
>>Risto Virtanen <rvirta@utu.fi> writes:
>
>3. Most of the postings in this group are _very_ specific to TP
>   or even to the hardware of some particular PC clone.
>   I am sure that many other people beside myself who would have
>   some interest in Pascal at large, have stopped following
>   the group regularly.
>

If you want to hear/talk about 'standard' pascal, then talk about it! I
follow this group and I don't see very much posted here about it
(Standard pascal that is). For that matter, there isn't *that* much
traffic in here anyway!.

>4. There is indeed enough traffic for splitting.
>

10-15 articles/day enough? bull!


-- 
 rbt@tous.OAU.ORG  (Robert B. Tate)       | A little knowledge is a dangerous
 {ucf-cs,peora,tarpit}!tous!rbt           | thing. Any less can kill you.
Newsgroups: comp.lang.pascal
From: ramsays@access.digex.com (Scott Ramsay)
Subject: Re: Games unit
Organization: Express Access Online Communications, Greenbelt, MD USA
Date: Wed, 11 Nov 1992 15:45:21 GMT

In article <33487@adm.brl.mil> astoner@mcis.messiah.edu writes:
>Hi all,
>   I just downloaded gametp10.zip from wuarchive, but it won't compile the
>sample program, nor will the exe file included run.  It generates a run-time
>error 203 (heap overflow error).  I could probable fix that but the source
>code for the program won't compile.  It says that clearbuffer is an unknown
>identifier.  Do I have something set wrong? Or am I not including the proper
>file?  I didn't modify the source code.  Did anyone else have this problem?
>
>Thanks,
>
>  Allen E. Stoner                       Internet: astoner@mcis.messiah.edu

   The game in gametp uses alot of memory.  With all the images, sprites,
 and virtual paging, you'll need at least 600k of free RAM.  Thats why
 you are getting the heap overflow error.

   If you are having an unknown identifer, you might have the KEYBOARD.TPU
unit in a non-default directory.

   If you have any problems, you can contact me.

  Scott Ramsay
  ramsays@access.digex.com
From: zeta%tcscs@idss.nwa.com (Gregory Youngblood)
Newsgroups: comp.lang.pascal
Subject: TSR and hard drive access
Date: Fri, 13 Nov 92 11:16:36 CST
Reply-To: srcsip!tcscs!zeta
Organization: TCS Consulting Services

I am trying to implement a type of security system on a dos based machine.

I'm not sure if this is possible, but I'm wanting to implement a TSR that
will emulate a PATH NOT FOUND error if the person is  not allowed access
to that directory.

I'm not worried at all about the TSR part.  I'm working on creating the
actual program first.  All I need/want to do is intercept calls to the hard
drive and check the path for any access, and deny/allow pass through or 
intercept the activity.

I'm not even sure that any of this is possible.  If someone knows, please
reply via email with some ideas and/or methods on how to do this.

Any help is GREATLY appreciated.

Greg


.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
.   TCS Consulting Services   P.O. Box 600008   St. Paul, MN  55106-0008    .
.   ..!srcsip!tcscs!zeta                 ..!src.honeywell.com!tcscs!zeta    .
.   zeta%tcscs@idss.nwa.com                      tcscs!zeta@idss.nwa.com    .
.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.-=-.
Newsgroups: comp.lang.pascal
From: ae769@yfn.ysu.edu (Ritesh Patel)
Subject: Serial port communications in turbo pascal? (COM ports)
Reply-To: ae769@yfn.ysu.edu (Ritesh Patel)
Organization: St. Elizabeth Hospital, Youngstown, OH
Date: Fri, 6 Nov 1992 04:51:49 GMT


What are the different ways of sending codes to the serial ports i.e. COM1, 
COM2 ...

I know there are programs that send codes from the dos command line but
I need to do this from inside a turbo pascal program.

Is there something similar to Lst [print (lst, 'hello')] available for the
serial ports?


-- 

Newsgroups: comp.lang.pascal
From: chard@borland.com (Richard Nelson)
Subject: Re: A bit about BP7 
Originator: chard@genghis.borland.com
Organization: Borland International
Date: Wed, 11 Nov 1992 01:22:58 GMT

>I was greatly encouraged by Borland's including the Source for RTL
>(and presumably TV).  But, folks, remember TP7 is available as a
>stand alone product, and it does not appear to contain the full line
>of "goodies" available with BP7....such as the DOS Extender, the
>Debuggers (plural), library source....anyone buying TP7 alone
>ought to speak up on what's included.  (I'm thinking that TP7
>stand alone will be as plain vanilla as TC++3).  I believe BP7
>combo knocks out the existance of TP Professional.  Does anyone
>know authoritatively?

I'll play Mr. Authority Figure for a moment, at least.  :-)  TP7 is
basically a straight upgrade to TP6, meaning it doesn't have all the
extra goodies.  TP Pro no longer exists, being superceded by BP7.
-- 
=========================================================================
 Richard Nelson, Borland Int'l | chard@borland.com | Go Bears! Grrr-rah!
  Had this been Borland's opinion, I would have written it in a manual.
  "I passed out and I rallied and I sprung a few leaks." -- J. Buffett
From: al161926@academ01.mty.itesm.mx (Jesus Barrera Ramos)
Newsgroups: comp.lang.pascal
Subject: How can I say to my printer to do half line jumps?
Date: 12 Nov 92 23:24:45 GMT

Hi everybody

I hope your networking is ok 8)...well..my problem is that I'm writing a program
that needs to do exact printing on determined places, say a registration form 
but in some places the letters are printed on the the line, instead of abouve it, say

     a      bbb                               a          bbb
   a   a    b  b                            a   a        b  b 
--aaaaaaa---bbb---------   instead of      aaaaaaa       bbb
  a     a   b  b                           a     a       b  b
  a     a   bbb                            a     a       bbb
                                         ______________________

that's why I need to say to the printer to move the page half of a line, to print more exactly..I'm using a DeskJet 500 and I'm printing using Write(lst,something), thanks in advance.


===============================================================================
=                         =                                                   =
=    ____                 =   Eqix                                            =
=     \   \  ----         =   A.K.A. Jesus Barrera Ramos                      =
=       \   \  /          =   al161926@academ01.mty.itesm.mx                  =
=        /   /            =   Eqix@RobotechMUSH                               =
=      /   /\   \         =   Eqix@KobraMUD                                   =
=    /   /    \___\       =                                                   =
=  /___/                  =====================================================
=                         =          Dreams are the energy of life            =
===============================================================================

Newsgroups: comp.lang.pascal
From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
Subject: Re: Raw Data
Organization: Queen's University
Date: Wed, 11 Nov 1992 14:34:44 GMT

In article <1992Nov11.134914.27768@lth.se> d92bo@efd.lth.se (Bengt Oehman) writes:
>The correct way to handle this is the following:
>At the DOS-prompt, use BINOBJ to convert binary data into a procedure.
>eg.
>	"c:\tp>binobj mydata.bin mydata.obj imagedata"
>
>where mydata.bin is your binary picture, mydata.obj is the object file to
>be linked into your program, and imagedata the name of the procedure which
>contains the data.

That's probably the fastest way to do it, but it's not necessarily the 
best.  It takes up RAM all the time, even when you're not using it.  It's 
sometimes better to store the data in a resource file, and attach the 
resource file to your .EXE.  Then you can load all the images you need on
to the heap, display them from there in rapid succession, and then delete 
them - so there's no cost in memory when you don't need them.  If speed 
wasn't a big concern, you could load them directly from the resource file 
into video ram, but this would probably look pretty ugly.

Duncan Murdoch
dmurdoch@mast.queensu.ca
Newsgroups: comp.lang.pascal
From: john@utafll.uta.edu (John Baima)
Subject: TP 7.0 with Objects
Organization: Silver Mountain Software
Distribution: comp
Date: Thu, 12 Nov 1992 03:15:25 GMT

Well, TP 7.0 with objects landed on my doorstep today with a thud. A
12 pound, 28 MB thud. There certainly is a massive amount here.

The Real mode DOS compiler seems to be almost exactly the same as 6.0.
The Protected mode compiler is new. This produces "family" mode
binaries that can be run under the included (and freely distributable)
DOS extender or as an OS/2 1.x binary (which of course works under 2.0
as well).

The Windows compiler does not seem much different than TPW 1.5.

The IDE's are different. Either the DOS or WIndows IDE can be used to
edit and compile any of the three types of programs (Real, Protected,
or Windows). Since I like the Windows IDE much more than the DOS IDE,
I will almost always use the Windows IDE, even when working on a DOS
program. 

The DOS compilers now have an ASCIIZ unit like Windows.  There is also
a WinAPI unit for the DOS compilers that emulates the Windows API for
memory managment functions. The major effort seems to be in merging
the core API and adding the protected mode support. The interface APIs
(Turbo Vision and Object Windows) are still quite different. The new
compilers should make life easier for folks wanting to share code
between DOS and Windows (and maybe later OS/2 2.0 PM :-) :-).

This is definitely a "professional" package. Lots and lots of goodies
for people who live, eat and breath Pascal. For the casual user or
novice, it would be overwhelming. I think it's wonderful :-)

They did not fix my TDW bug. When I use TDW with my ATI Vantage (8514
clone), if I ever use a menu with grayed items it leads to a GPF. I
called Borland once about this and the guy had to cold boot his
machine three times, but he still did not believe me. I debug with a
dual monitor setup. The interesting thing is that TDW barfs when *any*
menu in any program has a grayed element, not just a grayed element in
my program. All well, I've learned to live with it.

I would like to hear if TP 7.0 and the new TDW can be used under OS/2
2.0 with dual monitors. I never could get TPW & TDW to work well and
that is the primary reason I don't use OS/2 today.

--
John Baima
Silver Mountain Software   1029 Tanglewood, Cedar Hill, TX 75104
john@ling.uta.edu          Voice/Fax (214) 293-2920




Newsgroups: comp.lang.pascal
From: harmsen@cs.vu.nl (Harmsen H)
Subject: Re: Who's still using Turbo Pascal 5.5 ?
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Date: Fri, 13 Nov 1992 16:01:19 GMT

YES we are, at least for a few more days til BP 7.0 comes available.

v.o.f. Easyware
the Netherlands
-- 
----------------------------------------------------------------------
| Unbelievable but true: The African continent contains so much sand |
| that, if spread out, it would cover the entire Sahara desert.      |
----------------------------------------------------------------------
From: ma1cs181@troi.cc.rochester.edu (jeff gramowski)
Newsgroups: comp.lang.pascal
Subject: rebooting computers in programs
Summary: I need to find out how to have the computer reboot!!!
Keywords: reboot
Date: 5 Nov 92 05:16:56 GMT
Organization: University of Rochester - Rochester, New York


     I need to find a way to have my computer reboot at the end of one
of my programs.  I have tried to use the Intr($19,regs) comand in turbo   
pascal 6.0 and it only caused the computer to freeze up.  I need the 
computer to act like the Ctrl-alt-del keys have been pushed.

Please send your information to jygi_ss@uhura.cc.rochester.edu.

                                   Thank You Jeff Gramowski
From: jnicholson@bowker.com (Jim Nicholson)
Newsgroups: comp.lang.pascal
Subject: Re: What we need is a TPU to PAS convertor (Re: tpu files)
Date: Thu, 05 Nov 92 22:56:17 EST
Organization: Bowker Electronic Publishing, New Providence NJ

> The problem is that .TPU files never exist in an unlinked state equivalent
> to an .OBJ file.  Half the link step has already taken place by the time
> the .TPU is created; that's why the thing that TP calls the link step is
> so much faster than linkers that work with .OBJ files.  To change versions,
> you'd need to unlink the .TPU from all of the old units that it uses, and 
> relink it to equivalent parts of the new ones.  If equivalent parts don't
> exist, you're out of luck.
 
Ok, that explains following situation: Unit A uses Unit B.  You change B, 
and recompile it.  Then you write a program that uses A, but when you 
compile it you get the unit version mismatch problem (because you didn't 
recompile A, which is still linked to the old version of B).
 
Does anyone know if the DLL support in BP7 provides a work-around for this?
 
(I'd be much more willing to use an object-only library if it was 
distributed in a version-independent fashion.)

Jim Nicholson                          Internet: jnicholson@bowker.com
Any opinions expressed are not         FidoNet : 1:2605/705.0
necessarily my own                     Voice   : 908-665-2864
From: cstadbg@csv.warwick.ac.uk (Mr M J Brown)
Newsgroups: comp.lang.pascal
Subject: Saving screens in Turbo Pascal
Date: 6 Nov 1992 09:50:59 -0000
Organization: Computing Services, University of Warwick, UK
Distribution: world
NNTP-Posting-Host: clover.csv.warwick.ac.uk
Keywords: CGA,Turbo,Screen,Save

Does anybody know of a way to save CGA screen displays in Turbo Pascal
version 3.02 ? I wish to save off Mandelbrot images I have created, and
I cannot seem to find a way of doing it.

Mike


-- 
---

Michael Brown  (cstadbg@csv.warwick.ac.uk)
Newsgroups: comp.lang.pascal
From: mmeltzer@wam.umd.edu
Subject: TP 7.0 infomation via E-mail...
Reply-To: mmeltzer@wam.umd.edu
Organization: Workstations at Maryland, University of Maryland, College Park
Date: Fri, 13 Nov 1992 01:12:47 GMT


If you send a message to bp7-info@borland.com (without a subject or  
without any text) you will get an information file about the new versions  
of Pascal.  The file is said to be about 16 Kb.

---------------------------------------------------------------------
			mmeltzer@wam.umd.edu is

			     Marc Meltzer
		      President of The Meltz Inc
	 "Our job is to play games.  Our hobby is to consult."
Newsgroups: comp.lang.pascal
From: aefros@cc.utah.edu (ALEXEI (ALYOSHA) EFROS, JR -- (801) 272-5948)
Subject: pc of other free pascal compiler wanted!
News-Software: VAX/VMS VNEWS 1.4-b1  
Organization: University of Utah Computer Center
Date: 11 Nov 1992 15:33 MST  


Hi!

I am looking for a unix pascal compiler. Can anybody give me a clue on where
to look... I found something like usr.bin/pascal/ but there are many 
directories and I don't know how to compile them...

Thanks in advance,
-Alyosha 
Newsgroups: comp.lang.pascal
From: pf@bilbo.bio.purdue.edu (Paul Furbacher)
Subject: Re: BP 7.0 upgrade and ProtoGen
Organization: Purdue University
Distribution: comp.lang.pascal
Date: Thu, 12 Nov 1992 06:15:47 GMT

In article <Xog4TB3w165w@tcscs.UUCP>, 
  zeta%tcscs@idss.nwa.com (Gregory Youngblood) asked:

> [...] What is ProtoGen? And is it worth the 
> $49.95?   I won't qualify to get it free.

Very briefly, it is an application interface generator.  
Is it worth the $49.95?  I cannot say since I have not 
worked with it.  Also, I and others wondered how it 
provides more functionality than the Resource Workshop.
But, the reason I decided it was worth paying for 
(the sales person did a good job, not pushy, just 
persuasive) was that Borland has the 60-day return 
policy.  And if you order it with your BP7.0, there is
no additional shipping & handling.  Therefore, as the 
sales person pointed out, nothing is lost by 
giving it a thorough test drive.

I also took them up on the Open Architecture offer because it 
provides what seems to be vast information on TP/BP 
internals.  When the sales rep said it came with 
additional diskettes, I said that's for me because 
I was a little dismayed that I would be getting only 
~28 mb with the upgrade.

I can't wait until it arrives.  I'm looking for any 
excuse to not work on my thesis.

PF