Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!dkuug!diku!ballerup From: ballerup@diku.dk (Per Goetterup) Newsgroups: comp.lang.pascal Subject: Re: ansi question for turbo 5.0+ Message-ID: <1991Mar22.132957.893@odin.diku.dk> Date: 22 Mar 91 13:29:57 GMT References: <1991Mar20.161211.28435@javelin.es.com> <1991Mar21.102223.8284@uwasa.fi> Sender: news@odin.diku.dk (Netnews System) Organization: Department of Computer Science, U of Copenhagen Lines: 39 ts@uwasa.fi (Timo Salmi) writes: =>In article <1991Mar20.161211.28435@javelin.es.com> tpehrson@javelin.sim.es.com writes: =>>hey. it's me again. =>Ditto :-). =>>does turbo 5.0 and or versions higher support ansi cursor controls (beside =>>the insanely rigid gotoxy)? i _need_ to do the ansi equivelent of ~[xC =>>(cursor right) and clear line. =>Your query is a slight misunderstanding of the issue, because this =>is not really a question of Turbo Pascal actively supporting or not =>supporting something. If you write ansi cursor controls characters =>with the write command, ansi.sys will function in its normal way. =>(Unless you have instructed direct screen writes by including: Uses =>Crt). If you need the Crt unit for other purposes, just add 'System.' to all write and writeln that has to do with the ANSI-codes, like this: System.Write( ... ); This instructs the compiler to use write from the System unit instead of the write in the Crt unit which will replace it when 'used'. This should work in TP4, TP5, TP55 and TP6. =>................................................................... =>Prof. Timo Salmi =>Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 =>School of Business Studies, University of Vaasa, SF-65101, Finland =>Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun -- | Per Gotterup | "The most merciful thing in the | | Student, DIKU (Dept. of Comp. Sci.) | world, I think, is the inability | | University of Copenhagen, Denmark | of the human mind to correlate all | | Internet: ballerup@freja.diku.dk | its contents." - H.P. Lovecraft - |