166863Sbostic.\" Copyright (c) 1990, 1993, 1994 260721Sbostic.\" The Regents of the University of California. All rights reserved. 319291Smckusick.\" 450208Sbostic.\" This code is derived from software contributed to Berkeley by 550208Sbostic.\" the Institute of Electrical and Electronics Engineers, Inc. 650208Sbostic.\" 743742Scael.\" %sccs.include.redist.man% 819291Smckusick.\" 9*67355Sah.\" @(#)stty.1 8.5 (Berkeley) 06/01/94 1043742Scael.\" 1143742Scael.Dd 1243742Scael.Dt STTY 1 1347315Scael.Os 1443742Scael.Sh NAME 1543742Scael.Nm stty 1646311Skarels.Nd set the options for a terminal device interface 1743742Scael.Sh SYNOPSIS 1843742Scael.Nm stty 1948949Sbostic.Op Fl a | Fl e | Fl g 2048949Sbostic.Op Fl f Ar file 2148949Sbostic.Op operands 2248949Sbostic.Sh DESCRIPTION 2351597ScaelThe 2443742Scael.Nm stty 2548949Sbosticutility sets or reports on terminal 2643742Scaelcharacteristics for the device that is its standard input. 2754890SmarcIf no options or operands are specified, it reports the settings of a subset 2848958Sbosticof characteristics as well as additional ones if they differ from their 2948958Sbosticdefault values. 3043742ScaelOtherwise it modifies 3143742Scaelthe terminal state according to the specified arguments. 3243742ScaelSome combinations of arguments are mutually 3343742Scaelexclusive on some terminal types. 3443742Scael.Pp 3543742ScaelThe following options are available: 3648949Sbostic.Bl -tag -width Ds 3748949Sbostic.It Fl a 3851597ScaelDisplay all the current settings for the terminal to standard output 3951597Scaelas per 4048949Sbostic.St -p1003.2 . 4148949Sbostic.It Fl e 4251597ScaelDisplay all the current settings for the terminal to standard output 4348949Sbosticin the traditional 4448949Sbostic.Tn BSD 4548949Sbostic``all'' and ``everything'' formats. 4648949Sbostic.It Fl f 4754890SmarcOpen and use the terminal named by 4854890Smarc.Ar file 4954890Smarcrather than using standard input. The file is opened 5057009Scaelusing the 5157009Scael.Dv O_NONBLOCK 5254890Smarcflag of 5357009Scael.Fn open , 5454890Smarcmaking it possible to 5554890Smarcset or display settings on a terminal that might otherwise 5654890Smarcblock on the open. 5748949Sbostic.It Fl g 5851597ScaelDisplay all the current settings for the terminal to standard output 5948958Sbosticin a form that may be used as an argument to a subsequent invocation of 6048958Sbostic.Nm stty 6151597Scaelto restore the current terminal state as per 6251601Scael.St -p1003.2 . 6348949Sbostic.El 6443742Scael.Pp 6543742ScaelThe following arguments are available to set the terminal 6643742Scaelcharacteristics: 6754890Smarc.Ss Control Modes: 6854890Smarc.Pp 6954890SmarcControl mode flags affect hardware characteristics associated with the 7054890Smarcterminal. This corresponds to the c_cflag in the termios structure. 7148949Sbostic.Bl -tag -width Fl 7248949Sbostic.It Cm parenb Pq Fl parenb 7343742ScaelEnable (disable) parity generation 7443742Scaeland detection. 7548949Sbostic.It Cm parodd Pq Fl parodd 7643742ScaelSelect odd (even) parity. 7748949Sbostic.It Cm cs5 cs6 cs7 cs8 7843742ScaelSelect character size, if possible. 7948949Sbostic.It Ar number 8043742ScaelSet terminal baud rate to the 8143742Scaelnumber given, if possible. 8243742ScaelIf the 8343742Scaelbaud rate is set to zero, modem 8443742Scaelcontrol is no longer 8543742Scaelasserted. 8648949Sbostic.It Cm ispeed Ar number 8743742ScaelSet terminal input baud rate to the 8843742Scaelnumber given, if possible. 8943742ScaelIf the 9043742Scaelinput baud rate is set to zero, the 9143742Scaelinput baud rate is set to the 9243742Scaelvalue of the output baud 9343742Scaelrate. 9448949Sbostic.It Cm ospeed Ar number 9543742ScaelSet terminal output baud rate to 9643742Scaelthe number given, if possible. 9743742ScaelIf 9843742Scaelthe output baud rate is set to 9943742Scaelzero, modem control is 10043742Scaelno longer asserted. 101*67355Sah.ne 1i 10254890Smarc.It Cm speed Ar number 10354890SmarcThis sets both 10454890Smarc.Cm ispeed 10554890Smarcand 10654890Smarc.Cm ospeed 10754890Smarcto 10854890Smarc.Ar number . 10948949Sbostic.It Cm hupcl Pq Fl hupcl 11043742ScaelStop asserting modem control 11143742Scael(do not stop asserting modem control) on last close. 11248949Sbostic.It Cm hup Pq Fl hup 11343742ScaelSame as hupcl 11448949Sbostic.Pq Fl hupcl . 11548949Sbostic.It Cm cstopb Pq Fl cstopb 11643742ScaelUse two (one) stop bits per character. 11748949Sbostic.It Cm cread Pq Fl cread 11843742ScaelEnable (disable) the receiver. 11948949Sbostic.It Cm clocal Pq Fl clocal 12043742ScaelAssume a line without (with) modem 12143742Scaelcontrol. 12254890Smarc.It Cm crtscts Pq Fl crtscts 12354890SmarcEnable RTS/CTS flow control. 12454890Smarc.El 12554890Smarc.Ss Input Modes: 12654890SmarcThis corresponds to the c_iflag in the termios structure. 12754890Smarc.Bl -tag -width Fl 12848949Sbostic.It Cm ignbrk Pq Fl ignbrk 12943742ScaelIgnore (do not ignore) break on 13043742Scaelinput. 13148949Sbostic.It Cm brkint Pq Fl brkint 13248949SbosticSignal (do not signal) 13348949Sbostic.Dv INTR 13448949Sbosticon 13543742Scaelbreak. 13648949Sbostic.It Cm ignpar Pq Fl ignpar 13743742ScaelIgnore (do not ignore) parity 13843742Scaelerrors. 13948949Sbostic.It Cm parmrk Pq Fl parmrk 14043742ScaelMark (do not mark) parity errors. 14148949Sbostic.It Cm inpck Pq Fl inpck 14243742ScaelEnable (disable) input parity 14343742Scaelchecking. 14448949Sbostic.It Cm istrip Pq Fl istrip 14543742ScaelStrip (do not strip) input characters 14643742Scaelto seven bits. 14748949Sbostic.It Cm inlcr Pq Fl inlcr 14848949SbosticMap (do not map) 14948949Sbostic.Dv NL 15048949Sbosticto 15148949Sbostic.Dv CR 15248949Sbosticon input. 15348949Sbostic.It Cm igncr Pq Fl igncr 15448949SbosticIgnore (do not ignore) 15548949Sbostic.Dv CR 15648949Sbosticon input. 15748949Sbostic.It Cm icrnl Pq Fl icrnl 15848949SbosticMap (do not map) 15948949Sbostic.Dv CR 16048949Sbosticto 16148949Sbostic.Dv NL 16248949Sbosticon input. 16348949Sbostic.It Cm ixon Pq Fl ixon 16448949SbosticEnable (disable) 16548949Sbostic.Dv START/STOP 16648949Sbosticoutput 16743742Scaelcontrol. 16843742ScaelOutput from the system is 16943742Scaelstopped when the system receives 17048949Sbostic.Dv STOP 17148949Sbosticand started when the system 17248949Sbosticreceives 17354890Smarc.Dv START , 17454890Smarcor if 17554890Smarc.Cm ixany 17654890Smarcis set, any character restarts output. 177*67355Sah.ne 1i 17848949Sbostic.It Cm ixoff Pq Fl ixoff 17943742ScaelRequest that the system send (not 18048949Sbosticsend) 18148949Sbostic.Dv START/STOP 18248949Sbosticcharacters when 18343742Scaelthe input queue is nearly 18443742Scaelempty/full. 18554890Smarc.It Cm ixany Pq Fl ixany 18654890SmarcAllow any character (allow only 18754890Smarc.Dv START ) 18854890Smarcto restart output. 18954890Smarc.It Cm imaxbel Pq Fl imaxbel 19054890SmarcThe system imposes a limit of 19154890Smarc.Dv MAX_INPUT 19254890Smarc(currently 255) characters in the input queue. If 19354890Smarc.Cm imaxbel 19454890Smarcis set and the input queue limit has been reached, 19554890Smarcsubsequent input causes the system to send an ASCII BEL 19654890Smarccharacter to the output queue (the terminal beeps at you). Otherwise, 19754890Smarcif 19857009Scael.Cm imaxbel 19954890Smarcis unset and the input queue is full, the next input character causes 20054890Smarcthe entire input and output queues to be discarded. 20154890Smarc.El 20254890Smarc.Ss Output Modes: 20354890SmarcThis corresponds to the c_oflag of the termios structure. 20454890Smarc.Bl -tag -width Fl 20548949Sbostic.It Cm opost Pq Fl opost 20643742ScaelPost-process output (do not 20743742Scaelpost-process output; ignore all other 20843742Scaeloutput modes). 20954890Smarc.It Cm onlcr Pq Fl onlcr 21065227SmckusickMap (do not map) 21154890Smarc.Dv NL 21254890Smarcto 21354890Smarc.DV CR-NL 21454890Smarcon output. 21554890Smarc.It Cm oxtabs Pq Fl oxtabs 21654890SmarcExpand (do not expand) tabs to spaces on output. 21754890Smarc.El 21854890Smarc.Ss Local Modes: 21954890Smarc.Pp 22057009ScaelLocal mode flags (lflags) affect various and sundry characteristics of terminal 22157009Scaelprocessing. 22257009ScaelHistorically the term "local" pertained to new job control features 22357009Scaelimplemented by Jim Kulp on a 22457009Scael.Tn Pdp 11/70 22557009Scaelat 22657150Smckusick.Tn IIASA . 22757009ScaelLater the driver ran on the first 22857009Scael.Tn VAX 22957009Scaelat Evans Hall, UC Berkeley, where the job control details 23057009Scaelwere greatly modified but the structure definitions and names 23157009Scaelremained essentially unchanged. 23257009ScaelThe second interpretation of the 'l' in lflag 23357009Scaelis ``line discipline flag'' which corresponds to the 23457009Scael.Ar c_lflag 23557009Scaelof the 23657009Scael.Ar termios 23757009Scaelstructure. 23854890Smarc.Bl -tag -width Fl 23948949Sbostic.It Cm isig Pq Fl isig 24043742ScaelEnable (disable) the checking of 24143742Scaelcharacters against the special control 24248949Sbosticcharacters 24348949Sbostic.Dv INTR , QUIT , 24448949Sbosticand 24548949Sbostic.Dv SUSP . 24648949Sbostic.It Cm icanon Pq Fl icanon 24743742ScaelEnable (disable) canonical input 24848949Sbostic.Pf ( Dv ERASE 24948949Sbosticand 25048949Sbostic.Dv KILL 25148949Sbosticprocessing). 25248949Sbostic.It Cm iexten Pq Fl iexten 25343742ScaelEnable (disable) any implementation 25443742Scaeldefined special control characters 25543742Scaelnot currently controlled by icanon, 25643742Scaelisig, or ixon. 25748949Sbostic.It Cm echo Pq Fl echo 25843742ScaelEcho back (do not echo back) every 25943742Scaelcharacter typed. 26048949Sbostic.It Cm echoe Pq Fl echoe 26148949SbosticThe 26248949Sbostic.Dv ERASE 26348949Sbosticcharacter shall (shall 26443742Scaelnot) visually erase the last character 26543742Scaelin the current line from the 26643742Scaeldisplay, if possible. 26748949Sbostic.It Cm echok Pq Fl echok 26848949SbosticEcho (do not echo) 26948949Sbostic.Dv NL 27048949Sbosticafter 27148949Sbostic.Dv KILL 27243742Scaelcharacter. 273*67355Sah.ne 1i 27454890Smarc.It Cm echoke Pq Fl echoke 27554890SmarcThe 27654890Smarc.Dv KILL 27754890Smarccharacter shall (shall 27854890Smarcnot) visually erase the 27954890Smarcthe current line from the 28054890Smarcdisplay, if possible. 28148949Sbostic.It Cm echonl Pq Fl echonl 28248949SbosticEcho (do not echo) 28348949Sbostic.Dv NL , 28448949Sbosticeven if echo 28543742Scaelis disabled. 28654890Smarc.It Cm echoctl Pq Fl echoctl 28754890SmarcIf 28854890Smarc.Cm echoctl 28954890Smarcis set, echo control characters as ^X. Otherwise control characters 29054890Smarcecho as themselves. 29154890Smarc.It Cm echoprt Pq Fl echoprt 29254890SmarcFor printing terminals. If set, echo erased characters backwards within ``\\'' 29354890Smarcand ``/''. Otherwise, disable this feature. 29448949Sbostic.It Cm noflsh Pq Fl noflsh 29548949SbosticDisable (enable) flush after 29648949Sbostic.Dv INTR , QUIT , SUSP . 29754890Smarc.It Cm tostop Pq Fl tostop 29854890SmarcSend (do not send) 29954890Smarc.Dv SIGTTOU 30054890Smarcfor background output. This causes background jobs to stop if they attempt 30154890Smarcterminal output. 30254890Smarc.It Cm altwerase Pq Fl altwerase 30354890SmarcUse (do not use) an alternate word erase algorithm when processing 30454890Smarc.Dv WERASE 30566863Sbosticcharacters. 30666863SbosticThis alternate algorithm considers sequences of 30766863Sbosticalphanumeric/underscores as words. 30866863SbosticIt also skips the first preceding character in its classification 30966863Sbostic(as a convenience since the one preceding character could have been 31066863Sbosticerased with simply an 31154890Smarc.Dv ERASE 31254890Smarccharacter.) 31354890Smarc.It Cm mdmbuf Pq Fl mdmbuf 31454890SmarcIf set, flow control output based on condition of Carrier Detect. Otherwise 31554890Smarcwrites return an error if Carrier Detect is low (and Carrier is not being 31654890Smarcignored with the 31754890Smarc.Dv CLOCAL 31854890Smarcflag.) 31954890Smarc.It Cm flusho Pq Fl flusho 32054890SmarcIndicates output is (is not) being discarded. 32154890Smarc.It Cm pendin Pq Fl pendin 32254890SmarcIndicates input is (is not) pending after a switch from non-canonical 32354890Smarcto canonical mode and will be re-input when a read becomes pending 32454890Smarcor more input arrives. 32554890Smarc.El 32654890Smarc.Ss Control Characters: 32754890Smarc.Bl -tag -width Fl 32854890Smarc.It Ar control-character Ar string 32957009ScaelSet 33054890Smarc.Ar control-character 33157009Scaelto 33254890Smarc.Ar string . 33343742ScaelIf string is a single character, 33443742Scaelthe control character is set to 33543742Scaelthat character. 33643742ScaelIf string is the 33743742Scaeltwo character sequence "^-" or the 33843742Scaelstring "undef" the control character 33954890Smarcis disabled (i.e. set to 34054890Smarc.Pf { Dv _POSIX_VDISABLE Ns } . ) 34143742Scael.Pp 34243742ScaelRecognized control-characters: 34348949Sbostic.Bd -ragged -offset indent 34448949Sbostic.Bl -column character Subscript 34557009Scael.It control- 34648949Sbostic.It character Subscript Description 34748949Sbostic.It _________ _________ _______________ 34848949Sbostic.It eof Ta Tn VEOF EOF No character 34948949Sbostic.It eol Ta Tn VEOL EOL No character 35054890Smarc.It eol2 Ta Tn VEOL2 EOL2 No character 35148949Sbostic.It erase Ta Tn VERASE ERASE No character 35254890Smarc.It werase Ta Tn VWERASE WERASE No character 35348949Sbostic.It intr Ta Tn VINTR INTR No character 35448949Sbostic.It kill Ta Tn VKILL KILL No character 35548949Sbostic.It quit Ta Tn VQUIT QUIT No character 35648949Sbostic.It susp Ta Tn VSUSP SUSP No character 35748949Sbostic.It start Ta Tn VSTART START No character 35848949Sbostic.It stop Ta Tn VSTOP STOP No character 35954890Smarc.It dsusp Ta Tn VDSUSP DSUSP No character 36054890Smarc.It lnext Ta Tn VLNEXT LNEXT No character 36154890Smarc.It reprint Ta Tn VREPRINT REPRINT No character 36254890Smarc.It status Ta Tn VSTATUS STATUS No character 36348949Sbostic.El 36448949Sbostic.Ed 36548949Sbostic.It Cm min Ar number 36648949Sbostic.It Cm time Ar number 36743742ScaelSet the value of min or time to 36843742Scaelnumber. 36948949Sbostic.Dv MIN 37048949Sbosticand 37148949Sbostic.Dv TIME 37248949Sbosticare used in 37343742ScaelNon-Canonical mode input processing 37443742Scael(-icanon). 37554890Smarc.El 37654890Smarc.Ss Combination Modes: 37754890Smarc.Pp 37854890Smarc.Bl -tag -width Fl 37954890Smarc.It Ar saved settings 38054890SmarcSet the current terminal 38154890Smarccharacteristics to the saved settings 38254890Smarcproduced by the 38354890Smarc.Fl g 38454890Smarcoption. 38548949Sbostic.It Cm evenp No or Cm parity 38643742ScaelEnable parenb and cs7; disable 38743742Scaelparodd. 38848949Sbostic.It Cm oddp 38943742ScaelEnable parenb, cs7, and parodd. 39048949Sbostic.It Fl parity , evenp , oddp 39143742ScaelDisable parenb, and set cs8. 39251577Scael.It Cm \&nl Pq Fl \&nl 39343742ScaelEnable (disable) icrnl. 39443742ScaelIn addition 39543742Scael-nl unsets inlcr and igncr. 39648949Sbostic.It Cm ek 39748949SbosticReset 39848949Sbostic.Dv ERASE 39948949Sbosticand 40048949Sbostic.Dv KILL 40148949Sbosticcharacters 40243742Scaelback to system defaults. 40348949Sbostic.It Cm sane 40446311SkarelsResets all modes to reasonable values for interactive terminal use. 40548949Sbostic.It Cm tty 40648949SbosticSet the line discipline to the standard terminal line discipline 40748949Sbostic.Dv TTYDISC . 40854890Smarc.It Cm crt Pq Fl crt 40954890SmarcSet (disable) all modes suitable for a CRT display device. 41054890Smarc.It Cm kerninfo Pq Fl kerninfo 41154890SmarcEnable (disable) the system generated status line associated with 41254890Smarcprocessing a 41354890Smarc.Dv STATUS 41454890Smarccharacter (usually set to ^T). The status line consists of the 41554890Smarcsystem load average, the current command name, its process ID, the 41654890Smarcevent the process is waiting on (or the status of the process), the user 41754890Smarcand system times, percent cpu, and current memory usage. 41854890Smarc.It Cm columns Ar number 41954890SmarcThe terminal size is recorded as having 42054890Smarc.Ar number 42154890Smarccolumns. 42254890Smarc.It Cm cols Ar number 42354890Smarcis an alias for 42454890Smarc.Cm columns. 425*67355Sah.ne 1i 42654890Smarc.It Cm rows Ar number 42754890SmarcThe terminal size is recorded as having 42854890Smarc.Ar number 42954890Smarcrows. 43054890Smarc.It Cm dec 43154890SmarcSet modes suitable for users of Digital Equipment Corporation systems ( 43254890Smarc.Dv ERASE , 43354890Smarc.Dv KILL , 43454890Smarcand 43557009Scael.Dv INTR 43654890Smarccharacters are set to ^?, ^U, and ^C; 43754890Smarc.Dv ixany 43854890Smarcis disabled, and 43954890Smarc.Dv crt 44054890Smarcis enabled.) 44154890Smarc.It Cm extproc Pq Fl extproc 44254890SmarcIf set, this flag indicates that some amount of terminal processing is being 44354890Smarcperformed by either the terminal hardware or by the remote side connected 44454890Smarcto a pty. 44554890Smarc.It Cm raw Pq Fl raw 44654890SmarcIf set, change the modes of the terminal so that no input or output processing 44754890Smarcis performed. If unset, change the modes of the terminal to some reasonable 44854890Smarcstate that performs input and output processing. Note that since the 44954890Smarcterminal driver no longer has a single 45054890Smarc.Dv RAW 45154890Smarcbit, it is not possible to intuit what flags were set prior to setting 45254890Smarc.Cm raw . 45354890SmarcThis means that unsetting 45454890Smarc.Cm raw 45554890Smarcmay not put back all the setting that were previously in effect. 45654890SmarcTo set the terminal into a raw state and then accurately restore it, the following 45754890Smarcshell code is recommended: 45854890Smarc.nf 45954890Smarc 46054890Smarcsave_state=$(stty -g) 46154890Smarcstty raw 46254890Smarc\&... 46354890Smarcstty "$save_state" 46454890Smarc 46554890Smarc.fi 46654890Smarc.It Cm size 46754890SmarcThe size of the terminal is printed as two numbers on a single line, 46854890Smarcfirst rows, then columns. 46948949Sbostic.El 47066914Sbostic.Ss Compatibility Modes: 47143742Scael.Pp 47266914SbosticThese modes remain for compatibility with the previous version of 47354890Smarcthe stty command. 47454890Smarc.Bl -tag -width Fl 47554890Smarc.It Cm all 47654890SmarcReports all the terminal modes as with 47754890Smarc.Cm stty Fl a 47854890Smarcexcept that the control characters are printed in a columnar format. 47954890Smarc.It Cm everything 48054890SmarcSame as 48154890Smarc.Cm all . 48254890Smarc.It Cm cooked 48354890SmarcSame as 48454890Smarc.Cm sane . 48554890Smarc.It Cm cbreak 48654890SmarcIf set, enables 48754890Smarc.Cm brkint , ixon , imaxbel , opost , 48854890Smarc.Cm isig , iexten , 48954890Smarcand 49054890Smarc.Cm Fl icanon . 49154890SmarcIf unset, same as 49254890Smarc.Cm sane . 49354890Smarc.It Cm new 49454890SmarcSame as 49554890Smarc.Cm tty . 49654890Smarc.It Cm old 49754890SmarcSame as 49854890Smarc.Cm tty . 49954890Smarc.It Cm newcrt Pq Fl newcrt 50054890SmarcSame as 50154890Smarc.Cm crt . 50254890Smarc.It Cm pass8 50354890SmarcThe converse of 50454890Smarc.Cm parity . 50554890Smarc.It Cm tandem Pq Fl tandem 50654890SmarcSame as 50754890Smarc.Cm ixoff . 50854890Smarc.It Cm decctlq Pq Fl decctlq 50954890SmarcThe converse of 51054890Smarc.Cm ixany . 511*67355Sah.ne 1i 51254890Smarc.It Cm crterase Pq Fl crterase 51354890SmarcSame as 51454890Smarc.Cm echoe . 51554890Smarc.It Cm crtbs Pq Fl crtbs 51654890SmarcSame as 51754890Smarc.Cm echoe . 51854890Smarc.It Cm crtkill Pq Fl crtkill 51954890SmarcSame as 52054890Smarc.Cm echoke . 52154890Smarc.It Cm ctlecho Pq Fl ctlecho 52254890SmarcSame as 52354890Smarc.Cm echoctl . 52454890Smarc.It Cm prterase Pq Fl prterase 52554890SmarcSame as 52654890Smarc.Cm echoprt . 52754890Smarc.It Cm litout Pq Fl litout 52854890SmarcThe converse of 52954890Smarc.Cm opost . 53054890Smarc.It Cm tabs Pq Fl tabs 53154890SmarcThe converse of 53254890Smarc.Cm tabs . 53354890Smarc.It Cm brk Ar value 53454890SmarcSame as the control character 53554890Smarc.Cm eol . 53654890Smarc.It Cm flush Ar value 53754890SmarcSame as the control character 53854890Smarc.Cm discard . 53954890Smarc.It Cm rprnt Ar value 54054890SmarcSame as the control character 54154890Smarc.Cm reprint . 54254890Smarc.El 54354890Smarc.Pp 54443742ScaelThe 54543742Scael.Nm stty 54648958Sbosticutility exits with a value of 0 if successful, and >0 if an error occurs. 54743742Scael.Sh SEE ALSO 54854890Smarc.Xr termios 4 54943742Scael.Sh STANDARDS 55043742ScaelThe 55143742Scael.Nm stty 55248949Sbosticfunction is expected to be 55348949Sbostic.St -p1003.2 55451597Scaelcompatible. The flags 55551597Scael.Fl e 55651597Scaeland 55751597Scael.Fl f 55851601Scaelare 55951597Scaelextensions to the standard. 560