There are two installations of the Mjølner System at DAIMI:
Users of the new daimi-setup system can get the correct setup for the system simply by executing:
/usr/local/lib/beta
If you have already done so, the addon is still valid.
daimi-setup --addon=/usr/local/lib/beta/daimi-setup/beta
The rest of you will have to do something similar to the following:
You should not refer to
setenv BETALIB /usr/local/lib/beta set path = ( $path ${BETALIB}/bin ) switch("$OP_TYPE") case "IRIX*": if ($?LD_LIBRARY_PATH) then setenv LD_LIBRARY_PATH $BETALIB/lib/sgi:$LD_LIBRARY_PATH else setenv LD_LIBRARY_PATH $BETALIB/lib/sgi endif breaksw default: breaksw endsw
~beta
in shell-commands
(see following item). The use of ~beta
is, however, allowed in
fragment denotations (ORIGIN
, INCLUDE
, etc.),
since the fragment system will expand ~beta
in fragment denotations
to the value defined by BETALIB
.
~beta
refers to the development
version of the System (used by e.g.
DEVISE).
This directory has limited access: You have to be a member of the UNIX net-group
beta
to gain access to most of the directories in ~beta
.
If you think you need access to some of these directories, please contact
beta@cs.au.dk.
A CD for Linux, Windows 95/98/NT/2000, Power Macintosh, Silicon Graphics and Sun Sparc is available for the system for students. If you want to borrow a copy of this CD, you should contact preben@cs.au.dk or clemen@cs.au.dk.
Some machines are intended for specific courses, please look at DAIMI Studies in Computer Science for details.
sgi
sub-directory (it will tell you if it does).
In this case you need to set
before you will be able to run the program (SG03).
setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH:${BETALIB}/lib/sgi/:./sgi
/usr/local/lib/beta/emacs/beta-mode
/usr/local/lib/beta/emacs/beta-menu19
/usr/local/lib/beta/emacs/beta-hilite19
Peter von der Ahe <pahe@cs.au.dk>
has made an alternative beta-mode
, which is faster than
the default one.
It can be activated by
daimi-setup -a /users/pahe/Public/daimi-setup/pahe-beta
.bet
add the following to your .emacs
file:
(setq betalib (getenv "BETALIB")) (if (not betalib) (setq betalib "/usr/local/lib/beta")) ;; or if you are on a PC: ;; (if (not betalib) (setq betalib "c:\\beta")) (setq load-path (append load-path (list (format "%s/emacs" betalib)))) (autoload 'beta-mode "beta-mode") (setq auto-mode-alist (append (list (cons "\\.bet$" 'beta-mode)) auto-mode-alist))
beta-mode-hook
:
(defun mybeta () "Adds BETA menu" (interactive) (load "beta-menu19" t t) ) (setq beta-mode-hook 'mybeta)
beta-mode-hook
.
Here is a larger example:
(defun mybeta () "Make the following local bindings in beta-mode: C-xC-rj calls beta-comment-justify C-xC-rC-r calls beta-comment-justify-region C-xC-rC-c calls beta-convert-region-to-comment C-xC-ru calls beta-remove-comment C-xC-ri calls indent-buffer. Also adds BETA menu and beta-hilit19. " (interactive) (local-set-key "\C-x\C-rj" 'beta-comment-justify) (local-set-key "\C-x\C-r\C-r" 'beta-comment-justify-region) (local-set-key "\C-x\C-r\C-c" 'beta-convert-region-to-comment) (local-set-key "\C-x\C-ru" 'beta-remove-comment) (local-set-key "\C-x\C-ri" 'indent-buffer) (load "beta-menu19" t t) (load "beta-hilit19" t t) ) (setq beta-mode-hook 'mybeta)
If this does not help, try to look at the BETA Language FAQ.
You can also consult the course home pages, e.g.,
If you still need help, try posting the question to one or more of the following news groups, which is regularly read by teachers, and instructors.If you have the answer to another persons problem in these groups, please try to answer it in the news groups, and not by direct mail to the person - others may benefit from your answer.
For errors and comments on online manuals it is possible to report comments, suggestions, typos, errors, etc. through: