ITS Command Reference

-=[ home | about | donate | bootcamp | tvcon | challenges | wiki | commands ]=-

;tnx1.0e6 to svensson
UNIX            ^commands               :commands        
TERM=vt52	                        :tctyp vt52 
TERM=vt100	                        :crtsty vt100 
ls		^F                      :listf 
ls dir 		dir^F                   :listf dir 
ls / 		^R m.f.d. (file)        :print m.f.d. (file) 
                .^F			:dir .                   ;front end FS
ls *.foo 	^R dir: second foo      :print dir: second foo 
more file	^R file                 :print file 
mkdir dir	^R dir;..new. (udir)    :print dir;..new. (udir) 
cd dir 		dir$$s                  :cwd dir 
cp f1 f2 	$^R f1,f2               :copy f1,f2 
rm file 	^O file                 :delete file 
ln f1 f2 	$^O f1,f2               :link f1,f2 
mv f1 f2 	$$^O f1,f2              :rename f1,f2 
mv file dir	                        :move file,dir 
emacs 		emacs^K                 :emacs 
ps 		$$v                     :listj 
fg 		$P                      :continue 
bg 		^P                      :proceed 
kill pid 	pid$^X                  :job pid :kill 
sudo -u u cmd 	u$^S cmd  
top  		                        :peek 
^U              ^D  
^C              ^G  
^Z              ^Z  
^D              ^C  

A sample MACLISP session using LEDIT MODE in EMACS

;tnx1.0e6 to GLS
KA ITS 1648 DDT 1547 TTY 52               ;System herald

:login smith                              ;The luser logs in

:lisp                                     ;MACLISP is started

LISP 2154                                 ;MACLISP version
ALLOC? N                                  ;Take the world defaults

(plus 3.14 2.71)                          ;Add two numbers
5.85

(car '(simple list))                      ;Return the CAR of a LIST
SIMPLE

(ledit)                                   ;Enters EMACS in LEDIT MODE

(defun sum-squares (a b)                  ;Typed into the EMACS buffer
       (plus (times a a
             (times b b))))               ;META-Z pushes DEFUN to the world
                                          ;CTRL-X Z returns to LISP

;READING FROM LEDIT SUN-SQUARES           ;Back in LISP
;EDIT COMPLETED

(sum-squares 2.0 3.0)                     ;call SUM-SQUARES
36.0                                      ;Returns the wrong number

(ledit)                                   ;Re-enter EMACS in LEDIT MODE

CTRL-S (times a a                         ;Typed into EMACS
                                          ;Search for STRING (times a a

(defun sum-squares (a b)                  ;Correct SUM-SQUARES
       (plus (times a a)
             (times b b))))               ;META-Z pushes new DEFUN to world
                                          ;CTRL-X Z returns to LISP

;READING FROM LEDIT SUM-SQUARES           ;Back in LISP
;EDIT COMPLETED

(sum-squares 2.0 3.0)                     ;Call SUM-SQUARES again
13.0                                      ;Correct result

The LISP ... Editor ... LISP ... loop will no doubt be repeated many times.