* How can I get the terminal width in DCL?
@ 1996-05-14 4:00 Jay Bingham
1996-05-14 4:00 ` fairfield
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Jay Bingham @ 1996-05-14 4:00 UTC (permalink / raw)
Hello,
I have been away from DCL for a little while and have forgotten a few
things, I also do not have ready access to the VMS documentation, so I
can't very easily browse through the manuals. I seem to remember that
there was a way to determine the current value of the terminal width as set
with the SET TERM/WIDTH=xxx command. But looking through help on the
lexical F$GETDVI I could not find any item that would return this
information. I have a DCL procedure that displays a 'status' line at the
bottom of the screen and would like to make it aware of the current
terminal width.
--
Thanks,
_ _
| // \ / \ _ ___ __ _ DSC Communications Corporation |
| // /\_///| // _ /_//_| /\/| MS 230, 1000 Coit Rd. |
| \_/ \_//__/// |/ \_// // |/ | Plano, TX 75075-9992 |
| jbingham@spd.dsccc.com -- Phone: 214.477.8913 -- Fax: 214.519.4026 |
>--------------------v---------------------------------------------------<
| Take my advice, | When speaking out, we do agree ... |
| I'm not using it! | I don't speak for Them, They don't speak for me! |
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How can I get the terminal width in DCL?
1996-05-14 4:00 How can I get the terminal width in DCL? Jay Bingham
@ 1996-05-14 4:00 ` fairfield
1996-05-14 4:00 ` Connel MacKenzie
1996-05-15 4:00 ` David L. Cathey
2 siblings, 0 replies; 6+ messages in thread
From: fairfield @ 1996-05-14 4:00 UTC (permalink / raw)
In article <JBINGHAM.96May14121515@hpap152.spd.dsccc.com>,
jbingham@hpap152.spd.dsccc.com (Jay Bingham) writes:
> Hello,
>
> I have been away from DCL for a little while and have forgotten a few
> things, I also do not have ready access to the VMS documentation, so I
> can't very easily browse through the manuals. I seem to remember that
> there was a way to determine the current value of the terminal width as set
> with the SET TERM/WIDTH=xxx command. But looking through help on the
> lexical F$GETDVI I could not find any item that would return this
> information. I have a DCL procedure that displays a 'status' line at the
> bottom of the screen and would like to make it aware of the current
> terminal width.
F$GetDvi("TT","DEVBUFSIZ")
-Ken
--
Kenneth H. Fairfield | Internet: Fairfield@Slac.Stanford.Edu
SLAC, P.O.Box 4349, MS 46 | DECnet: 45537::FAIRFIELD (45537=SLACVX)
Stanford, CA 94309 | Voice: 415-926-2924 FAX: 415-926-3515
-------------------------------------------------------------------------
These opinions are mine, not SLAC's, Stanford's, nor the DOE's...
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How can I get the terminal width in DCL?
1996-05-14 4:00 How can I get the terminal width in DCL? Jay Bingham
1996-05-14 4:00 ` fairfield
@ 1996-05-14 4:00 ` Connel MacKenzie
1996-05-17 4:00 ` Carl J Lydick
1996-05-15 4:00 ` David L. Cathey
2 siblings, 1 reply; 6+ messages in thread
From: Connel MacKenzie @ 1996-05-14 4:00 UTC (permalink / raw)
Jay Bingham wrote:
> I have been away from DCL for a little while and have forgotten a few
> things, I also do not have ready access to the VMS documentation, so I
$ HELP LEXICAL F$GETDVI ARG
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How can I get the terminal width in DCL?
1996-05-14 4:00 How can I get the terminal width in DCL? Jay Bingham
1996-05-14 4:00 ` fairfield
1996-05-14 4:00 ` Connel MacKenzie
@ 1996-05-15 4:00 ` David L. Cathey
2 siblings, 0 replies; 6+ messages in thread
From: David L. Cathey @ 1996-05-15 4:00 UTC (permalink / raw)
In article <JBINGHAM.96May14121515@hpap152.spd.dsccc.com>, jbingham@hpap152.spd.dsccc.com (Jay Bingham) writes:
>Hello,
>
>I have been away from DCL for a little while and have forgotten a few
>things, I also do not have ready access to the VMS documentation, so I
>can't very easily browse through the manuals. I seem to remember that
>there was a way to determine the current value of the terminal width as set
>with the SET TERM/WIDTH=xxx command. But looking through help on the
>lexical F$GETDVI I could not find any item that would return this
>information. I have a DCL procedure that displays a 'status' line at the
>bottom of the screen and would like to make it aware of the current
>terminal width.
f$getdvi("TT:","DEVBUFSIZ")
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David L. Cathey |Inet: davidc@montagar.com
Montagar Software Concepts |Fone: (214)-578-5036
P. O. Box 260776 |http://www.montagar.com/~davidc/
Plano TX 75026-0772 |LUGS: http://www.montagar.com/dfwlug/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How can I get the terminal width in DCL?
1996-05-14 4:00 ` Connel MacKenzie
@ 1996-05-17 4:00 ` Carl J Lydick
1996-05-19 4:00 ` Fred W. Bach, TRIUMF Operations
0 siblings, 1 reply; 6+ messages in thread
From: Carl J Lydick @ 1996-05-17 4:00 UTC (permalink / raw)
In article <3199434A.75E0@hctg.saic.com>, Connel MacKenzie <mackenzc@hctg.saic.com> writes:
=Jay Bingham wrote:
=
=> I have been away from DCL for a little while and have forgotten a few
=> things, I also do not have ready access to the VMS documentation, so I
=
=$ HELP LEXICAL F$GETDVI ARG
I don't suppose it occurred to you to TEST your advice before posting it? Nah,
of course not. Because if you had, you'd've noticed that, while that command
WILL give you a list of items for F$GETDVI, it does not in any way explain what
any of those items do.
--------------------------------------------------------------------------------
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How can I get the terminal width in DCL?
1996-05-17 4:00 ` Carl J Lydick
@ 1996-05-19 4:00 ` Fred W. Bach, TRIUMF Operations
0 siblings, 0 replies; 6+ messages in thread
From: Fred W. Bach, TRIUMF Operations @ 1996-05-19 4:00 UTC (permalink / raw)
In article <4ngip8$g5n@gap.cco.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU writes...
#In article <3199434A.75E0@hctg.saic.com>, Connel MacKenzie <mackenzc@hctg.saic.com> writes:
#=Jay Bingham wrote:
#=
#=> I have been away from DCL for a little while and have forgotten a few
#=> things, I also do not have ready access to the VMS documentation, so I
#=
#=$ HELP LEXICAL F$GETDVI ARG
#
#I don't suppose it occurred to you to TEST your advice before posting it? Nah,
#of course not. Because if you had, you'd've noticed that, while that command
#WILL give you a list of items for F$GETDVI, it does not in any way explain what
#any of those items do.
Just another annoying teasing shortcoming of VMS Help. Now if they
did put that info there, it would eliminate a whole bunch of
annoying questions from users. I mean, would it *really* take that
much extra disk ?
Fred W. Bach , Operations Group | Internet: music@triumf.ca
TRIUMF (TRI-University Meson Facility) | Voice: 604-222-1047 loc 6327/6278
4004 WESBROOK MALL, UBC CAMPUS | FAX: 604-222-1074
University of British Columbia, Vancouver, B.C., CANADA V6T 2A3
"Accuracy is important. Details can mean the difference between life & death."
These are my opinions, which should ONLY make you read, think, and question.
They do NOT necessarily reflect the views of my employer or fellow workers.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1996-05-19 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-14 4:00 How can I get the terminal width in DCL? Jay Bingham
1996-05-14 4:00 ` fairfield
1996-05-14 4:00 ` Connel MacKenzie
1996-05-17 4:00 ` Carl J Lydick
1996-05-19 4:00 ` Fred W. Bach, TRIUMF Operations
1996-05-15 4:00 ` David L. Cathey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox