| System Setup: Other | Configuration Hardware Linux Disks X Windows Printer Modem Sound Network Scanner CD-RW Windows Other | Table of Contents
 
 
 
 
 
 
 
 
 Emacs SetupSUSE installs gnu-emacs with console and X style interfaces. It automatically generates an associated .gnu-emacs, and requests that changes be added from there. I copied my .emacs from redhat to .gnu-emacs-local and added this line to .gnu-emacs:(load "/home/hgg9140/.gnu-emacs-local")Then went to emacs's own customization process, which builds gnu-emacs-custom. Current settings for both files are: /home/hgg9140/.gnu-emacs-local 
;;; -*- Mode: Emacs-Lisp -*-
;;;-----------------------------
;;;Set buffer list to use current window if >1 else split
;;;
(defun my-list-buffers (&rest args)
  (interactive)
  (let ((buff-window (get-buffer-window "*Buffer List*")))
    (if (and (not buff-window)                ; Not visible
	     (not (one-window-p 'no-mini)))   ; Multi-window
	;; Attach "*Buffer List*" to current window
	(switch-to-buffer "*Buffer List*")))
  (apply 'list-buffers args)
  (pop-to-buffer "*Buffer List*")            ; Go there
  (forward-line 3))                          ; Skip uninteresting stuff
(global-set-key "\C-x\C-b" 'my-list-buffers)
;;;----------------------------------
;;; bury menu buffer after selecting buffer
;;;
(defun Buffer-menu-this-window ()
  "Select this line's buffer in this window, and bury buffer menu"
  (interactive)
  (let ((menu-buffer (current-buffer)))
    (switch-to-buffer (Buffer-menu-buffer t))
    (bury-buffer menu-buffer)))
;;;-----------------------
(setq column-number-mode t)
;;;-----------------------
(setenv "MAILHOST" "pop.seanet.com")
;;;------------------------
;;; pdx
 (load "pdx-mode")
 (setq auto-mode-alist
       (append
       '(("\\.pdx\\'" . pdx-mode))
       auto-mode-alist))
;;;------------------------
;;; python
;;;(setq load-path (cons "/dir/of/python-mode/" load-path))
 (load-library "python-mode")
 (setq auto-mode-alist
       (cons '("\\.py$" . python-mode) auto-mode-alist))
 ;;;(add-hook 'python-mode-hook 'turn-on-font-lock)
 (setq indent-tabs-mode ())
;;;------------------------
;;; mime
;;;------------------------
;;(load-library "rmime")
(add-hook 'rmail-show-message-hook 'rmime-format)
(add-hook 'rmail-edit-mode-hook    'rmime-cancel)
(autoload 'rmime-format "rmime" "" nil)
;;;------------------------
;;; etach
;;;------------------------
(load-library "etach")
(global-set-key "\C-c\C-f" 'find-file-at-point)
(global-set-key "\C-c\C-u" 'browse-url-at-point)
(define-key rmail-mode-map "F" 'mime-forward)
(define-key rmail-summary-mode-map "F" 'mime-forward)
(define-key rmail-mode-map "K" 'kill-label-detached)
(define-key rmail-summary-mode-map "K" 'kill-label-detached)
;;;------------------------
;;; mailcrypt
;;;------------------------
(load-library "mailcrypt")
(mc-setversion "gpg")
(add-hook 'rmail-show-message-hook 'mc-install-read-mode)
;;;------------------------
;;;GPL Copying
;;;
;;;(require 'gpl)
;;;(require 'gpl-copying)
/home/hgg9140/.gnu-emacs-custom (showing only safe lines) 
(custom-set-variables
 '(mail-yank-prefix "  > ")
 '(pdx-run-on-save nil)
 '(mail-setup-hook (quote (hilit-rehighlight-buffer-quietly rmailgen-get-archive-file-name mc-write-mode)))
 '(mail-default-reply-to "hgg9140@seanet.com")
 '(mail-host-address "seanet.com")
 '(rmail-enable-mime t)
 '(default-tab-width 4 t)
 '(rmail-display-summary t)
 '(gnus-show-mime t)
 '(gnus-local-domain "seanet.com")
 '(mail-signature t)
 '(mail-bury-selects-summary t)
 '(mail-alias-file nil)
 '(standard-indent 4)
 '(indent-tabs-mode nil)
 '(mail-send-nonascii nil)
 '(user-mail-address "hgg9140@seanet.com")
 '(gnus-check-new-newsgroups nil)
 '(delete-selection-mode nil nil (delsel))
 '(scroll-bar-mode (quote right))
 '(user-full-name "Harry George")
 '(mail-interactive t)
 '(rmail-primary-inbox-list (quote ("po:hgg9140" "/var/spool/mail/hgg9140")))
 '(gnus-nntp-server "news.seanet.com"))
(custom-set-faces)
 
 
 PostgresqlSUSE came with 6.4, but I wanted 6.5.1. As root:
 As postgres: 
 Reboot. This 
 As postgres, run: createuser -d -u <my userid>Thus, I become a superuser. As myself: 
 
 ITRANSITRANS is a system for handling Sanskrit (and other Indian languages). Steps:
 
 DocbookInstalled sgmltools 2.0.2. Took quite a while to get a useful combination of features. Ended up with: 
 
 
 Run: sgmltools --verbose --backend=html --dsssl-spec=sgmltools-html myfile.sgmlI've checked html, dvi, ps, rtf. Per a note in dejanews comp.text.sgml, to beat the "pool size" problem on dvi and ps, add to /etc/texmf/texmf.cnf: % settings for jadetex hash_extra.jadetex = 15000 hash_extra.pdfjadetex = 15000 pool_size.jadetex = 500000 pool_size.pdfjadetex = 500000 string_vacances.jadetex = 45000 string_vacances.pdfjadetex = 45000 max_strings.jadetex = 55000 max_strings.pdfjadetex = 55000 pool_free.jadetex = 47500 pool_free.pdfjadetex = 47500 nest_size.jadetex = 500 nest_size.pdfjadetex = 500 param_size.jadetex = 1500 param_size.pdfjadetex = 1500 save_size.jadetex = 5000 save_size.pdfjadetex = 5000 stack_size.jadetex = 1500 stack_size.pdfjadetex = 1500Then run fmtutil --all 
 DosemuJust setup and ran dosemu: 
 
 I then installed Lotus 123 v 2.2, and was able to bring up and print some old spreadsheets. 
 tomsrtbtJust installed and tried tomsrtbt-1.7.140. Steps: cd /usr/local/src mkdir tomsrtbt cp tomsrtbt-1.7.140.tar.gz tomsrtbt cd tomsrtbt gzip -cd tomsrtbt-1.7.140 | tar xvf - cd tomsrtbt-1.7.140 Then read the instructions (tomsrtbt.RAQ), and checked for existence of a /dev/fd0u1722. I had one, so didn't need the instructions for making one. Read the install.s script, and since it was safe, I opend a root window and did the install: ./install.s. It formatted and loaded my disk. Then I used it to boot my practice system (486 66MHz, 32MByte, also SUSE 6.1). Worked fine. First thing, I mounted the local harddisk: 
 fdisk (do "p" to see the partitions: found /dev/hda3 was wanted) cd /mnt mkdir hda3 mount /dev/hda3 hda3 cd hda3 At this point, I had access to local executibles. I tried cd'ing to usr/bin and running ./pico, but it didn't go. However, emacs did. May want to add pico to the rtbt disk (or add it to a second compressed disk), since I'm hopeless in vi and emacs is too big. ...Doing ldd on pico shows my copy uses ld-linux.2 and tomsrtbt uses .1. Similarly libc.so.6 vs .5. So I'd better look at his web site to see if he already has pico built. It would have to go in /tmp apparently, since / and /usr are full. ...Nope, just modules. We'll suffer with vi for a while. 
 Rt-LinuxI wanted to set this up on my 486 66MHz, but compile it on my Pentium 266MHz. After many gyrations, I gave up and installed both the linux2.2.10 and the rtlinux stuff on the 486. Basic layout: 
 ~proj/rtl/: drwxr-xr-x 3 hgg9140 users 1024 Jul 25 11:41 beta11 drwxr-xr-x 2 hgg9140 users 1024 Sep 5 20:33 doc -rw-r--r-- 1 hgg9140 users 13902979 Sep 6 07:51 linux-2.2.10.tar.gz drwxr-xr-x 14 hgg9140 users 1024 Jun 13 11:01 linux22 -rw-r--r-- 1 hgg9140 users 122291 Sep 5 19:57 rtl-beta11.tgz -rw-r--r-- 1 hgg9140 users 5353 Sep 5 19:58 rtl-install.html Here, the linux-2.2.10.tar.gz is the recommended kernel and rtl-beta11.tgz is claimed to be stable for that kernel. Then: 
 gzip -cd rtl-beta11.tgz | tar xvf - gzip -cd linux-2.2.10.tar.gz | tar xvf - mv linux linux22 (because rtl's patch expects that name) patch -p0 <beta11/kernel_patch cd linux22 Configure the kernal: make xconfig. Items to remember: 
 
 Build it: make dep; make clean make zImage make modules make install make module_install Next, build the rt modules. Edit the makefile: LINUX_KERNEL_DIR=../linux22 ... MOD_DIR=../modules ... INC_INSTDIR=include/rtlinux ... INSTALL_PATH=boot-rtl ... #(in install:, path was hardcoded to /usr/include/rtlinux) @mkdir -p $(INC_INSTDIR)/asm-i386 
 Next, setup lilo to use it: 
  /etc/lilo.conf:
    image=/boot/rtl/vmlinuz
        label=linux-rtl
        root=/dev/hda3
Then run lilo. Then reboot. Use tab to see options, select linux-rtl. It comes up showing Kernel 2.2.10-RTL_BETA11. But the test: 
 ksyms -a | grep " "rt_ | wc -l does not find rt_ items. However, that may be because kysyms isn't looking at the System.map in /boot/rtl. That map does in fact have the needed symbols. cd to beta11/rtl/examples and try them. I found: 
 
 PowerP4Wow! This is a postprocessor for pdftex, resulting in powerpoint-like slide shows. Installation:
 
 
 gcc 2.95.1Download the full distribution, and the java lib.
 
 Similarly for the Cygnus-supplied java library: 
 Test it on a java program: gcj hello.java Nope, not finding the libstd++. Which one does it need? 
 gcj -print-libgcc-file-name /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/libgcc.a Ah Ha! As root, put that path in /etc/ld.so.conf, and rerun ldconfig... That took care of the lib issues, but then got: 
 /usr/lib/crt1.o(.text+0x36): undefined reference to `main' collect2: ld returned 1 exit status Looked on dejanews (search "gcj"), and found others had the same problem. But went to gcj documentaiton and found there was a commandline option for main: 
 go: gcj --main=hello -o hello hello.java ./hello Success! Found I had to compile the other classes with gcj -c Stack.java ... gcj --main=StackTest -o StackTest Stack.o Stacktest.java 
 
 
 
 
 
 
 | 
| Creator: Harry George Updated/Created: 2001-01-07 |