HACTRN Survival Guide
HACTRN (pronounced “hack tran”) is the DDT debugger and also login shell. Here a summary of useful commands for HACTRN in comparison with common UNIX commands. Note that to get a HACTRN on an idle terminal, you first have to type CTRL-Z
.
Everywhere $
is written, it means typing Escape
.
UNIX | DDT | Colon command |
---|---|---|
login: user | user$ u | :login user |
logout | $ $ u | :logout |
TERM=vt52 | :tctyp vt52 | |
TERM=vt100 | :crtsty vt100 | |
ls | CTRL-F | :listf |
ls dir | dirCTRL-F | :listf dir |
ls / | CTRL-R m.f.d. (file) | :print m.f.d. (file) |
ls *.foo | CTRL-R dir: second foo | :print dir: second foo |
more file | CTRL-R file | :print file |
mkdir dir | CTRL-R dir;..new. (udir) | :print dir;..new. (udir) |
cd dir | dir$ $ CTRL-S | :cwd dir |
cp f1 f2 | $ CTRL-R f1,f2 | :copy f1,f2 |
rm file | CTRL-O file | :delete file |
ln f1 f2 | $ CTRL-O f1,f2 | :link f1,f2 |
mv f1 f2 | $ $ CTRL-O f1,f2 | :rename f1,f2 |
mv file dir | :move file,dir | |
emacs | emacsCTRL-K | :emacs |
ps | $ $ v | :listj |
kill pid | pid$ CTRL-X | :job pid :kill |
sudo -u u cmd | u$ CTRL-S cmd | |
top | peekCTRL-H | :peek |
CTRL-U | CTRL-D | |
CTRL-C | CTRL-G | |
CTRL-Z | CTRL-Z | |
CTRL-D | CTRL-C | |
fg | $ P | :continue |
bg | CTRL-P | :proceed |