seid/dotemacs

48 lines
1.5 KiB
Plaintext

;; .emacs
;; This file is part of the SEID - SDF Emacs Interface and Documentation project
;; A custom GNU Emacs startup file that enables SDF programs to run in Emacs
;; using shell scripts
;; See README.md for installation and usage details
;; Copyright (C) 2022 Scott C. MacCallum
;; scm@sdf.org
;; This program is free software: you can redistribute it and/or modify it under
;; the terms of the GNU Affero General Public License as published by the Free
;; Software Foundation, either version 3 of the License, or (at your option) any
;; later version.
;; This program is distributed in the hope that it will be useful, but WITHOUT
;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
;; FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
;; details.
;; You should have received a copy of the GNU Affero General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;; Remove the menu bar
(menu-bar-mode -1)
;; Remove the tool bar
(tool-bar-mode 0)
;; Set font and size
(set-frame-font "mono-14")
;; Change the background color to black
(add-to-list 'default-frame-alist '(background-color . "black"))
;; Change the foreground color to green
(add-to-list 'default-frame-alist '(foreground-color . "green"))
;; Open a local terminal
(ansi-term "/bin/bash")
(rename-buffer "term")
;; Run bboard on SDF
(ansi-term "$HOME/sdf/bboard.sh")
(rename-buffer "bboard")
;; Run com on SDF
(ansi-term "$HOME/sdf/com.sh")
(rename-buffer "com")