home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.vms:17890 comp.lang.c:16438
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms,comp.lang.c
- Subject: Re: Getting terminal width from VAX-C ?
- Date: 12 Nov 1992 19:58:26 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 20
- Distribution: world
- Message-ID: <1dud12INNd9g@gap.caltech.edu>
- References: <1992Nov11.101009.87@front.se>,<1992Nov12.152852.3935@rti.rti.org>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <1992Nov12.152852.3935@rti.rti.org>, jbs@rti.rti.org writes:
- =In article <1992Nov11.101009.87@front.se> samuel@front.se writes:
- =>
- =>Does anybody out there know how to get the TERMINAL WIDTH from VAX-C ?
- =>
- =>How do I implement the function "terminal_width()" ?
-
- [Example of how to get the page LENGTH deleted]
-
- Close, but no cigar. The IO$_SENSEMODE characteristics buffer contains the
- page length, not the page width. For the page WIDTH you want to use $GETDVI,
- specifying the item code DVI$_DEVBUFSIZ.
- --------------------------------------------------------------------------------
- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
-
- Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My
- understanding of astronomy is purely at the amateur level (or below). So
- unless what I'm saying is directly related to VAX/VMS, don't hold me or my
- organization responsible for it. If it IS related to VAX/VMS, you can try to
- hold me responsible for it, but my organization had nothing to do with it.
-