trix.notes 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. TRIX NOTES 9 Aug 86 phr -*-outline-*-
  2. * The Nu Machine
  3. The GNU project has just received a TI Nu machine, one of a dozen or
  4. so recently semi-abandoned by LCS. The Concourse Computer Center got
  5. several of the others. Our machine has 2 MB of memory in 1/2 MByte
  6. boards, an 84 MB 8" Fujitsu hard disk, a 1/4" cartidge tape drive of
  7. some kind, and a 68010 processor board (speed unknown). It seems to
  8. be about as responsive as PREP, an 11/750 running 4.2bsd Unix. It
  9. currently has no ethernet board but I am trying to scrounge one.
  10. Physically, the machine uses a bit less floor space than an 11/750, is
  11. about half as tall, and weighs maybe 250 pounds. It uses about 1 kW
  12. of electricity which makes it a good space heater. It is moderately
  13. noisy. It can run either Trix or Unix; the Trix kernel has no
  14. provision for paging and the Unix kernel probably doesn't either.
  15. It is physically possible to put in another 1MB of 1/2 meg cards into
  16. our machine if the boards can be scrounged. There is apparently no
  17. such thing as a Nubus memory board of more than 1/2 MB despite what
  18. the manual says (see below). Jeff del Papa says that unmodified
  19. Explorer memory will work in the machine but John V. Wolfe says it
  20. could take a lot of hacking to make it work. Maybe somebody at LMI
  21. would know for sure. Explorer memory comes in cards up to 8 MB.
  22. * Booting Trix
  23. To bring up Trix, first turn on the Nu machine and monitor. The Nu
  24. machine power switch is the lever switch in the back. The black
  25. pushbutton next to it is the "reset" switch, used for emergency reboot
  26. and such things. The rotary switch next to that should always be set
  27. to position "1". Nobody I've asked knows why.
  28. When the machine comes up you should get a ">>" prompt, which means
  29. you are in the SDU monitor. There is some flakiness in the keyboard
  30. electronics that makes it send some characters like "10" on powerup or
  31. if the cable is rattled. Hit return and ignore it when it says "10:
  32. not found". Then type "uboot -k rsd trix" (see the SDU monitor manual
  33. description of the uboot program). "uboot" is the boot program; "-k
  34. rsd" tells uboot to use the bitmap terminal as the system console
  35. (otherwise, it will try to use the serial port, into which there is no
  36. terminal plugged); "trix" means boot the trix kernel. "uboot -k rsd
  37. unix" will boot a Sys V Unix system.
  38. Sometimes on powerup the screen will come up in a wedged mode where as
  39. the screen scrolls, characters get xor'd in with the characters that
  40. were already there instead of erasing the old characters. There is a
  41. bit in the software controlling whether the screen is in this mode or
  42. not, that comes up randomly when you turn the machine on. TRIX for
  43. some reason does not initialize it. There is a program called
  44. "vidfix" in /usr/tbin that might fix it; I haven't had a chance to
  45. try. The other way to fix this problem is to boot Unix, which resets
  46. the bit; then boot Trix again.
  47. * Using Trix
  48. Under TRIX, the bitmap monitor will come up under a primitive window
  49. system. To switch between windows, use the function keys F1 thru F4.
  50. All four keys appear to do exactly the same thing---cycle between the
  51. upper and lower window of a two-window screen, and a single window
  52. that takes nearly the full screen. There is a also a third, small
  53. "messages" window near the top of the screen doesn't appear to do
  54. anything. Error messages, including messages from things like failed
  55. system calls in Trix user programs, get splatted into the middle of
  56. the screen in normal (non-reverse) video mode.
  57. There is no analog to /etc/update; that is, cached disk blocks are not
  58. automatically flushed by the system a few times a minute like on Unix.
  59. If your reboot Trix always remember to type "sync" first. Hitting
  60. Control-Shift-Brkpause halts Trix and sends you back to the SDU
  61. monitor. The Brkpause key is at the upper right of the keyboard,
  62. above the numeric keypad.
  63. Trix sources live in /usr/trix/src; compiled commands are in /tbin and
  64. /usr/tbin. Versions of most of the common Unix commands are there.
  65. Trix uses the same file system as Unix, but Unix binaries will not run
  66. under Trix. So you can't run the Unix commands that live in /bin and
  67. /usr/bin.
  68. Trix uses its own shell "tsh" which has pipeline and redirection
  69. syntax similar to sh. A rather nice history mechanism is provided by
  70. the window system: the window system traps all control characters and
  71. interprets the sensible ones as Emacs-like editing commands. Thus, ^P
  72. copies the last command to the current command line; ^P again brings
  73. the one before that, etc.; you can use normal Emacs cursor motion and
  74. editing commands (^D, ^K, etc) to edit the command line, then hit
  75. return (even if the cursor is in the middle of the line) to execute
  76. the command. This works in other interactive programs such as "dc" as
  77. well as in tsh. There is a "history stack" that gets pushed when you
  78. do an exec and popped when the program returns, so each program
  79. maintains its own history. I have no idea how a program arranges
  80. to see the control characters.
  81. Since the window system catches all the control keys (and flashes a
  82. checkerboard pattern on the screen when you use one that doesn't have
  83. another function), things like interrupt and quit are on function
  84. keys. They are not very advanced. F6 in particular is the last
  85. resort interrupt character. It prints a thunderbolt character on the
  86. screen and blows away everything running in the window where you type
  87. it, thus erasing your history and sending you back to the root
  88. directory.
  89. * Programs
  90. /usr/tbin/p prints 24 lines of the file you specify, waits for you to
  91. hit return, types 24 more lines, etc. It's a primitive version of
  92. "more".
  93. There is a stripped down Emacs-like editor in /usr/tbin/ee. "ALT", in
  94. the lower left corner of the Nu keyboard, works as a meta key.
  95. C-x ? prints a list of commands.
  96. "vx" is an H19 terminal emulator that has some provisions for getting
  97. and putting files. It is what the RTS people used to copy files
  98. between Unix and Trix machines. I don't at the moment know how to use
  99. it.
  100. * Hardware
  101. Nu machine cards are triple height Eurocards. Our machine has 12
  102. slots, which are numbered 7 through 18 (what did you expect?) with
  103. slot 18 on the left when you are in front of the machine looking in.
  104. Slots 7 thru 15 are NuBus slots, and slots 13 thru 18 are Multibus
  105. slots. Slots 13 thru 15 can be used for both kinds of cards.
  106. Multibus cards are put on special carriers that make them fit the
  107. Eurocard connectors: the slots are all physically the same,
  108. electrically different. IF YOU PUT A CARD INTO THE WRONG KIND OF
  109. SLOT, YOU CAN BURN IT OUT. See the Nu machine installation manual and
  110. maybe some of the hardware manuals before hacking this.
  111. The Installation Manual alludes to the existence of 2 MB memory cards
  112. (apparently RTS has never had any cards denser than 1/2 MB), and LMI
  113. has made some 8MB cards that I'm told can work in our machine. Anyone
  114. know where to get some?
  115. * Mailing list
  116. There is a mailing list, info-gnu-trix@prep, for people interested
  117. in hacking on this machine or on the kernel.
  118. ----------------
  119. Local Variables:
  120. backup-by-copying-when-linked:t
  121. End: