Christian Nybø ([info]chr) wrote,
@ 2007-04-10 19:15:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:xemacs common lisp slime lispworks

Slime in XEmacs talking through ssh to a remote lispworks
Presume you can talk to remote-host through ssh.

Install slime in ~/slime/ on both remote-host and the local host.

Create a file ~/swank.lisp on remote-host with the following lines:

(load "~/slime/swank-loader")
(flet ((create-server-aux ()
             (swank:create-server :port 14005 :style :spawn)))
  (swank::initialize-multiprocessing #'create-server-aux))

;; now the ssh command from emacs is: 
;; M-x ssh RET remote-host -L4005:localhost:14005 bash --login -c "lispworks -init swank" RET

Then you can say the following in the local XEmacs:
M-x slime-connect RET RET

Or merge the two into the following emacs lisp function:
(defun slime-on (host)
  (interactive "sHost: ")
  (let ((bufname (generate-new-buffer-name (format " *swank-init@%s*" host))))
    (ssh (format "%s -L4005:localhost:14005 bash  --login -c \"lispworks -init swank\""
           host)
     bufname)
    (accept-process-output (get-buffer-process bufname))  
    (slime-connect "localhost" 4005)))



(Post a new comment)

Need to download XRumer 5.0 for free!
(Anonymous)
2009-05-01 12:37 am UTC (link)
Hi, my friends! I want to download software pack X-Rumer 5.0 Palladium for free. Any download link???
I'm so need this magic program! It's can break captchas automatically! Activate accounts via email automatically too! Absolutely great software! Help me!
And did you hear news - price for XRumer 5.0 Palladium will grow up to $540 after 15 may 2009... And XRumer 2.9 and 3.0 - too old versions, it's cant break modern catpchas and cant break modern anti-bot protections. But XRumer 5.0 Palladium CAN!!!!
So help me for download this great program for free! Thanks!

(Reply to this)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…