public static class SYS.TERMINAL_IO
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SYS.TERMINAL_IO.CharBufTypAhd |
Constructor and Description |
---|
TERMINAL_IO() |
Modifier and Type | Method and Description |
---|---|
VMSLibrary.Result<java.lang.Void> |
SYS$ASSIGN()
Call SYS$ASSIGN to open channel to default terminal (TT:).
|
VMSLibrary.Result<java.lang.Void> |
SYS$ASSIGN(java.lang.String devnam)
Call SYS$ASSIGN to open channel to specified terminal.
|
VMSLibrary.Result<java.lang.Void> |
SYS$DASSGN()
Call LIB$DASSGN to close channel.
|
VMSLibrary.Result<java.lang.Character> |
SYS$QIOW_getch()
Call SYS$QIOW to read single character from terminal (getch functionality).
|
VMSLibrary.Result<java.lang.String> |
SYS$QIOW_gets()
Call SYS$QIOW to read line from terminal (gets functionality).
|
VMSLibrary.Result<java.lang.String> |
SYS$QIOW_gets(boolean echo)
Call SYS$QIOW to read line from terminal (gets functionality).
|
VMSLibrary.Result<java.lang.Boolean> |
SYS$QIOW_kbhit()
Call SYS$QIOW to check if there is input available to be read (kbhit functionality).
|
VMSLibrary.Result<java.lang.Void> |
SYS$QIOW_puts(java.lang.String s)
Call SYS$QIOW to write string to terminal (puts functionality).
|
public VMSLibrary.Result<java.lang.Void> SYS$ASSIGN() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
- if device name can not be encodedpublic VMSLibrary.Result<java.lang.Void> SYS$ASSIGN(java.lang.String devnam) throws java.io.UnsupportedEncodingException
devnam
- terminal namejava.io.UnsupportedEncodingException
- if device name can not be encodedpublic VMSLibrary.Result<java.lang.Void> SYS$QIOW_puts(java.lang.String s) throws dk.vajhoej.record.RecordException, java.io.UnsupportedEncodingException
s
- string to writedk.vajhoej.record.RecordException
- if internal errorjava.io.UnsupportedEncodingException
- if string can not be encodedpublic VMSLibrary.Result<java.lang.String> SYS$QIOW_gets() throws dk.vajhoej.record.RecordException, java.io.UnsupportedEncodingException
dk.vajhoej.record.RecordException
- if internal errorjava.io.UnsupportedEncodingException
- if string can not be decodedpublic VMSLibrary.Result<java.lang.String> SYS$QIOW_gets(boolean echo) throws dk.vajhoej.record.RecordException, java.io.UnsupportedEncodingException
echo
- echo inputdk.vajhoej.record.RecordException
- if internal errorjava.io.UnsupportedEncodingException
- if string can not be decodedpublic VMSLibrary.Result<java.lang.Character> SYS$QIOW_getch() throws dk.vajhoej.record.RecordException, java.io.UnsupportedEncodingException
dk.vajhoej.record.RecordException
- if internal errorjava.io.UnsupportedEncodingException
- will never happenpublic VMSLibrary.Result<java.lang.Boolean> SYS$QIOW_kbhit() throws dk.vajhoej.record.RecordException, java.io.UnsupportedEncodingException
dk.vajhoej.record.RecordException
- if internal errorjava.io.UnsupportedEncodingException
- will never happenpublic VMSLibrary.Result<java.lang.Void> SYS$DASSGN()