Path: utzoo!utgpu!watserv1!watmath!att!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!snorkelwacker!bloom-beacon!primerd!ENI!S37!GIUSTI From: GIUSTI@S37.Prime.COM Newsgroups: comp.sys.amiga.tech Subject: CLI I/O help needed... Message-ID: <387100015@S37.Prime.COM> Date: 11 Apr 90 12:53:00 GMT Lines: 21 Nf-ID: #N:S37:387100015:000:869 Nf-From: S37.Prime.COM!GIUSTI Apr 11 12:53:00 1990 A quick, humble question for the Amiga Guru Netters: I'm trying to write a simple program that is to be invoked at the CLI level. Its purpose is to display to the CLI screen formatted information about the current directory. My question, what is the best "legal" way of accessing the CLI window for formatted text output? I want to avoid using "printf" (this is an exercise in Amigados!), and I have to be able to determine current CLI screen size in order to format the text properly. I've noticed the amigados Process structure has a pointer to a Console Task. This appears to be what I am looking for, but I don't know how to get at the console through this pointer. How can I use the console device I/O given this pointer? Thanks Ken Giusti (Giusti@S37.prime.com) "Don't try to keep up with the Joneses, rather, try to make them sink to your own level."