Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!umd5!purdue!decwrl!ucbvax!ucbarpa.Berkeley.EDU!leres From: leres@ucbarpa.Berkeley.EDU (Craig Leres) Newsgroups: comp.os.vms Subject: Re: terminal width Message-ID: <23940@ucbvax.BERKELEY.EDU> Date: 6 May 88 23:16:38 GMT References: <98*dahls@vax.elab.unit.uninett> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: leres@ucbarpa.Berkeley.EDU (Craig Leres) Lines: 7 You can use DVI$_DEVBUFSIZ to learn the number of columns the system thinks a terminal has. This is documented (but perhaps not well documented). It pays to read the entire 16 pages of documentaion on sys$getdvi()... Craig