scsh-users
[Top] [All Lists]

orion configuration

To: scsh-users <scsh-users@scsh.net>
Subject: orion configuration
From: Rohan Nicholls <rohan.nicholls@pareto.nl>
Date: Tue, 17 Aug 2004 15:57:10 +0200
List-id: <scsh-users.list-id.scsh.net>
Hi all,

I am a little confused with the config file for orion. i think it has to do with all the implicit backquoting that is going on.

Here is the part of the code that is giving me problems.

   (define (get-term)
     (let ((term (aterm -tr -trsb -sh 50 -fg yellow -bg black)))
       (& ,term)))



    (define root-options
      `((quit . "F12")
        (save-layout . "F11")
(nth-workspace . ("M-1" "M-2" "M-3" "M-4" "M-5" "M-6" "M-7" "M-8" "M-9"))
        (create-workspace . "F10")
        (kill-client . "M-Escape")
        (attach . "F9")
        (user-bindings . (("F2" apply ,get-term)
;                          ("F4" apply ,xsel->opera-remote)
...
                          ("F8" exec "emacs")))))




I tested the above in scsh, and it worked, but does not work in orion, but I think there is yet more backquoting going on, which has me confused. Doing ("F2" exec "aterm -tr -trsb -sh 60 fg yellow -bg black"), gives an error about not finding an application of that name, and if I then do ("F2" exec "aterm" " -tr -trsb -sh 60 fg yellow -bg black"), on a whim it gets also gives an error. I have tried passing strings, and other contortions, but so far to no avail. I a reading the scsh manual to see if I can figure out what is going on, but in the meantime if anyone can tell me what I am doing wrong...

This brings up more questions that I am hoping to get sorted out eventually, but if anyone has a quick answer. The orion-client project is becoming more and more necessary so I can test while running the wm.

Is there anyone who has set up a menu in orion, so you middle click on a window and it gives you a menu to choose from, and failing that is there a way to bind control-meta-<somekey>, as my attempts have failed so far. I am interested as I do not want to clobber my emacs bindings when I want to perform different commands.

Thanks,

Rohan












































































<Prev in Thread] Current Thread [Next in Thread>