Make your own free website on Tripod.com

Booting from DOS system files in v86 mode

Customized emacs environment

Sendmail 8.12.1 Configuration for Milter support


Booting from DOS system files in v86 mode
  1. [Check if dosemu is installed]. Type dos<RET> and if it shows you a dos prompt then you have dosemu installed. If it is not installed, install the relative rpm [dosemuXXX.rpm]. You will find it at www.linux.org. Install using rpm -ivh dosemu*.* <RET>. What you will have at this moment is the image files of dos like OS on which the dosemu is operating.
  2. [Mount the primary DOS partition as /mnt/dosc].
  3. [Create links for MSDOS system files]. Create a dir /var/lib/bootdir. Create following links :
  1. [Configure /etc/dosemu.conf]. Search for the keyword '_hdimage'. It will be pointing to a image file (for eg, _hdfirst). Change the entry to 'bootdir'.
  2. [Shoot dos]. You will see the vignette of msdos after starting. You can use all the text-mode application of MSDOS.

Customized emacs environment

Emacs environment can be altered by specifying options in the .emacs file present in the home directory. Copy the following matter in the .emacs file and get an easy to use environment in Linux. The changes are done keeping in mind the user's migrating from the IDE environment of TurboC++ 3.0. Following things are changed:

The .emacs file is as follows

--------------------------------------------------------------------------------------------------

(defconst my-c-style
'((c-tab-always-indent . t)
(c-comment-only-line-offset . 4)
(c-hanging-braces-alist . ((substatement-open after)
(brace-list-open)))
(c-hanging-colons-alist . ((member-init-intro before)
(inher-intro)
(case-label after)
(label after)
(access-label after)))
(c-cleanup-list . (scope-operator
empty-defun-braces
defun-close-semi))
(c-offsets-alist . ((arglist-close . c-lineup-arglist)
(substatement-open . 0)
(case-label . 4)
(block-open . 0)
(knr-argdecl-intro . -)))
(c-echo-syntactic-information-p . t)
)
"My C Programming Style")

;; Customizations for all of c-mode, c++-mode, and objc-mode
(defun my-c-mode-common-hook ()
;; add my personal style and set it for the current buffer
(c-add-style "PERSONAL" my-c-style t)
;; offset customizations not in my-c-style
(c-set-offset 'member-init-intro '++)
;; other customizations
(setq tab-width 8
;; this will make sure spaces are used instead of tabs
indent-tabs-mode nil)
;; we like auto-newline and hungry-delete
(c-toggle-auto-hungry-state 1)
;; keybindings for all supported languages. We can put these in
;; c-mode-base-map because c-mode-map, c++-mode-map, objc-mode-map,
;; java-mode-map, and idl-mode-map inherit from it.
(define-key c-mode-base-map "\C-m" 'newline-and-indent)
)

(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
(setq scroll-step 1)
(global-font-lock-mode 1)
(add-hook 'text-mode-hook 'turn-on-hscroll)
(global-set-key [end] 'end-of-line)
(global-set-key [home] 'beginning-of-line)
(global-set-key [f9] 'compile)
(global-set-key [f3] 'find-file-other-window)
(global-set-key [f1] 'info-lookup-symbol)
(global-set-key [f2] 'save-buffer)
(global-set-key [f6] 'switch-to-buffer)
(global-set-key [f8] 'gud-next)
(global-set-key [f7] 'gud-step)
(global-set-key [insertchar] 'overwrite-mode)
(hscroll-global-mode nil)

--------------------------------------------------------------------------------------------------------


Sendmail 8.12.1 Configuration for Milter support

  1. Create file
  2. /sendmail-8.12.1/sh Build
  3. sh Build install
  4. goto individual dir & perform 'sh Build install
  5. for further information read README from sendmail package.