Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sioc(1A) — Amiga System V Release 4 Version 2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kmap(5A)

font(5A)

screen(7A)

console(7A)

SIOC(1A)  —  MISC REFERENCE MANUAL PAGES

NAME

sioc − invoke SIOC ioctl functions

SYNOPSIS

/usr/amiga/bin/sioc [function [args]]

DESCRIPTION

sioc performs an ioctl(2) operation on its standard input.  The default ioctl command is "SIOC", which returns success if the connected file is a screen device (see screen(7A)).  This can be used with the if shell builtin in a shell script to conditionalize special treatment of amiga screens. 

The following values for the function argument are allowed:

0 Issue an SIOC command.  Exit status indicates return value.  (This function is the default if no function is specified)

front Issue an SIOCFRONT command. 

back Issue an SIOCBACK command. 

activate
Issue an SIOCACTIVATE command.

getkmap
Issue an SIOCGETKMAP command.  A keymap file (see kmap(7A)) is written to the standard output.

setkmap
Issue an SIOCSETKMAP command.  If an the name of a valid keymap file is given, the file is read and used as the argument to SIOCSETKMAP, otherwise zero is used, selecting the default keymap.

setdefkmap
Issue an SIOCSETDEFKMAP command.  If an the name of a valid keymap file is given, the file is read and used as the argument to SIOCSETDEFKMAP, otherwise zero is used, setting the default keymap to the initial powerup default.

winsize
Issue an SIOCWINSIZE command.  The results are written to standard output in the form:

LINES=25 COLUMNS=80
PLINES=200 PCOLUMNS=640

getfont
Issue an SIOCGETFONT command.  A font file (see font(7A)) is written to the standard output.

setfont
Issue an SIOCSETFONT command.  If an the name of a valid font file is given, the file is read and used as the argument to SIOCSETFONT, otherwise zero is used, selecting the default font.

setdeffont
Issue an SIOCSETDEFFONT command.  If an the name of a valid font file is given, the file is read and used as the argument to SIOCSETDEFFONT, otherwise zero is used, setting the default font to the initial powerup default.

gettype
Issue an SIOCGETTYPE command and print to standard output various parameters from the result.

displaytype
Issue an SIOCDISPLAYTYPE command and print the result in hexadecimal.

setdisplaytype
Issue an SIOCSETDISPLAYTYPE command.  One argument must be provided which is either a number for an absolute setting of displaytype, or a number preceded by ‘+’ or ‘-’ to set or reset the corresponding bits of displaytype.

setgroup
Issue an SIOCSETGROUP command.  The argument is the numeric screen group number.

getgroup
Issue an SIOCGETGROUP command.  The result is printed in decimal.

setdisplayadjust
Issue an SIOCSETDISPLAYADJUST command.  Four arguments must be provided.

getdisplayadjust
Issue an SIOCGETDISPLAYADJUST command and print the results.

DIAGNOSTICS

sioc’s exit status indicates the success or failure of the ioctl call.  An appropriate message is written to standard error output on failure.

FILES

/usr/amiga/lib/kmap/ - directory where keymap files are stored /usr/amiga/lib/font/ - directory where font files are stored /etc/sysinit - boot time configuration of display options.

SEE ALSO

kmap(5A), font(5A), screen(7A), console(7A). 

WARNING

The "named" function arguments are preferred, as the numeric forms may change or disappear in future releases. 

Amiga Unix  —  Last change:

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026