man12 - 11/3/71 NAME SYNOPSIS DESCRIPTION dc - desk...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
11/3/71 DC (I) NAME dc -- desk calculator SYNOPSIS dc DESCRIPTION dc is an arbitrary precision integer arithmetic package. The overall structure of dc is a stacking (reverse Polish) calculator. The following constructions are recognized by the calculator: number The value of the number is pushed on the stack. If the number starts with a zero, it is taken to be octal, otherwise it is decimal. + - * / % The top two values on the stack are added (±), subtracted (—), multiplied (*), divided (*) or remaindered (%) The two entries are popped off of the stack, the result is pushed on the stack in their place. sx The top of the stack is popped and stored into a register named x, where x may be any character. lx The value in register x is pushed on the stack. The register x is not altered. d The top value on the stack is pushed on the stack. Thus the top value is duplicated. p The top value on the stack is printed in decimal. The top value remains unchanged. f All values on the stack are popped off and printed in decimal. r All values on the stack are popped. q exit. h print brief synopsis of commands to dc. new—line space ignored. An example to calculate the monthly, weekly and
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
11/3/71 DC (I) hourly rates for a $10,000/year salary. 10000 100* (now in cents) dsa (non—destructive store) 12/ (pennies per month) 1a52/ (pennies per week) dl0* (deci—pennies per week) 375/ (pennies per hzur) f (print all results) (3) 512 (2) 19230 (1) 83333 FILES SEE ALSO DIAGNOSTICS ? (x) for unrecognized character x. BUGS % doesn’t work correctly. OWNER ken
Background image of page 2
11/3/71 DF (I) NAME df -- disk free SYNOPSIS df [ filesystem ] DESCRIPTION prints out the number of free blocks available on a file system. If the file system is unspecified, the free space on /dev/rf0 and /dev/rk0 is printed. FILES /dev/rf0, /dev/rk0 SEE ALSO check DIAGNOSTICS BUGS OWNER ken, dmr
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
11/3/71 DSW (I) NAME dsw -- delete interactively SYNOPSIS dsw [ directory ] DESCRIPTION For each file in the given directory ("." if not specified) dsw types its name. If y is typed, the file is deleted; if "x", dsw exits; if anything else, the file is not removed. FILES SEE ALSO rm DIAGNOSTICS “?” BUGS The name dsw is a carryover from the ancient past. Its etymology is amusing but the name is nonetheless ill— advised. OWNER dmr, ken
Background image of page 4
11/3/71 DTF (I) NAME dtf -- DECtape format SYNOPSIS /etc/dtf DESCRIPTION dtf will write timing tracks, mark tracks and block numbers on a virgin DECtape. The format is DEC standard of 578 blocks of 256 words each. The end zones are a little longer than standard DEC. Before use, the tape to be formatted should be mounted on drive 0. The ‘wall’ and ‘wtm’ switches should be enabled. After the tape is formatted, the switches should be disabled to prevent damage to subsequent tapes due to a controller logic error. FILES
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/18/2010 for the course ARCH Arch 101 taught by Professor Edwardhoe during the Spring '10 term at 카이스트, 한국과학기술원.

Page1 / 29

man12 - 11/3/71 NAME SYNOPSIS DESCRIPTION dc - desk...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online