[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxaxp::vmsnotes

Title:VAX and Alpha VMS
Notice:This is a new VMSnotes, please read note 2.1
Moderator:VAXAXP::BERNARDO
Created:Wed Jan 22 1997
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:703
Total number of notes:3722

257.0. "setting character size on terminal line" by CECMOW::GORBATOV () Thu Feb 27 1997 07:24

Hi!

How can I set up character size on terminal line?
On UNIX there's tcsetattr() function ( for file descriptor ),
but what I should do with the VMS channel ?

Environment:
DEC C++ V5.3-005 on OpenVMS Alpha V6.2

Thanks,
Sergey.
T.RTitleUserPersonal
Name
DateLines
257.1Not sure if these are what you are looking forSTAR::KENNEYThu Feb 27 1997 08:0711
    
    	There are two sets:
    
    1) SET TERM/Eight or /NOEight all this does is determine if TTDRIVER
       automaticallu clears the eight data bit or uses it.
    
    2) SET TERM/FRAME=(5-8) adjusts the number of bits in the character
       sent or received by the hardware.
    
    
    Forrest
257.2AUSS::GARSONDECcharity Program OfficeThu Feb 27 1997 17:077
    re .0
    
    If you only want to do it once then the DCL commands in .1 are probably
    adequate. If you are doing it lots within your program then there are
    equivalent $QIOW calls. See I/O Users Guide.
    
    You might also want to look at the options for parity handling.
257.3CECMOW::GORBATOVFri Feb 28 1997 03:055
Thanks 2all!

It was really helpful info.

Sergey.