#! rnews 2135 Newsgroups: comp.lang.python Path: news.xs4all.nl!newsspool.news.xs4all.nl!transit.news.xs4all.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!attws2!ip.att.net!NetNews1!xyzzy!nntp From: Harry George <[EMAIL PROTECTED]> Subject: Re: Best editor? X-Nntp-Posting-Host: cola2.ca.boeing.com Content-Type: text/plain; charset=us-ascii Message-ID: <[EMAIL PROTECTED]> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Lines: 49 Sender: [EMAIL PROTECTED] Organization: The Boeing Company References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Mime-Version: 1.0 Date: Wed, 6 Apr 2005 19:35:28 GMT Xref: news.xs4all.nl comp.lang.python:371180
"ChinStrap" <[EMAIL PROTECTED]> writes: > Well I would be more than willing to learn Emacs if it does all these > things you speak of, but really I can't get started because the default > scheme is so friggin ugly it isn't funny. > > Anyone want to send me a configuration setup with Python in mind, and > decent colors? > Set .emacs for: ;;; basic (set-background-color "white") (set-foreground-color "black") (set-border-color "black") (setq column-number-mode t) (setq dired-ls-F-marks-symlinks t) Do that prior to the python settings: ;---python--------------------------- (load "python-mode") (setq auto-mode-alist (cons '("\\.py$" . python-mode) auto-mode-alist)) (setq interpreter-mode-alist (cons '("python" . python-mode) interpreter-mode-alist)) (autoload 'python-mode "python-mode" "Python editing mode." t) (add-hook 'python-mode-hook 'turn-on-font-lock) (setq python-mode-hook 'python-initialise) (defun python-initialise () (interactive) (setq default-tab-width 4) (setq indent-tabs-mode nil) ) Then the default color scheme looks ok (at least to me). The critical command is: (add-hook 'python-mode-hook 'turn-on-font-lock) If you comment that out (with a leading ";"), then font coloring is turned off and you just have black on white. You can learn the language and the editor in that mode if necessary. -- [EMAIL PROTECTED] 6-6M21 BCA CompArch Design Engineering Phone: (425) 294-4718 #! rnews 1727 Xref: xyzzy comp.security.ssh:39215 Newsgroups: comp.security.ssh Path: xyzzy!nntp From: "Mike Lowery" <[EMAIL PROTECTED]> Subject: Re: Ignoring known_hosts X-Nntp-Posting-Host: e458612.nw.nos.boeing.com Message-ID: <[EMAIL PROTECTED]> X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Priority: 3 X-Msmail-Priority: Normal Lines: 33 Sender: [EMAIL PROTECTED] (Boeing NNTP News Access) Organization: The Boeing Company X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Date: Wed, 6 Apr 2005 19:36:09 GMT "Richard E. Silverman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >>>>> "Mike" == Mike Lowery <[EMAIL PROTECTED]> writes: > > >> [~/.ssh/known_hosts] > >> > >> foo [foo's key ...] bar [foo's key ...] > >> > >> [~/.ssh/config] > >> > >> host foo hostname <foo's name or address> hostkeyalias foo > >> > >> host bar hostname <bar's name or address> hostkeyalias bar > >> > >> ... and use "ssh {foo|bar}". > > Mike> This might work > > It will work. > > Mike> but again, it requires me manually adding each server to the > Mike> config file which I'm hoping to avoid since there are many. > > How? If your machines are not uniquely identified to the client by their > names or addresses, then you must indicate the distinctions yourself by > configuration. How? Tell SSH to stop checking for this potential "problem." I don't care that the key doesn't match what it was last time, just give me access! Apparently that option doesn't exist. -- http://mail.python.org/mailman/listinfo/python-list