Subject: [sup-talk] Can't use "H" or "?"

From: [email-masked] (Guillaume Quintard)
Date: Sat, 24 Nov 2007 18:13:22 +0100

hi,
I can't access to the helmp menu, whenever I press H or ? (no matter
if I use left or right shift key) I get this :
The problem was: 'unknown key name "ctrl_g"' (error type ArgumentError)
A backtrace follows:
/var/lib/gems/1.8/gems/sup-0.2/lib/sup/keymap.rb:54:in
`keysym_to_string': unknown key name "ctrl_g" (ArgumentError)
        from /var/lib/gems/1.8/gems/sup-0.2/lib/sup/keymap.rb:80:in `help_text'
        from /var/lib/gems/1.8/gems/sup-0.2/lib/sup/keymap.rb:80:in `map'
        from /var/lib/gems/1.8/gems/sup-0.2/lib/sup/keymap.rb:80:in `help_text'
        from /var/lib/gems/1.8/gems/sup-0.2/lib/sup/keymap.rb:77:in `map'
        from /var/lib/gems/1.8/gems/sup-0.2/lib/sup/keymap.rb:77:in `help_text'
        from /var/lib/gems/1.8/gems/sup-0.2/lib/sup/modes/help-mode.rb:13:in
`initialize'
        from sup/bin/sup:209:in `new'
        from sup/bin/sup:209
        from /var/lib/gems/1.8/gems/sup-0.2/lib/sup/buffer.rb:251:in
`spawn_unless_exists'
        from sup/bin/sup:209

I'm using an azerty keyboard

-- 
shivan

---

From: [email-masked] (William Morgan)
Date: Sat, 24 Nov 2007 09:24:36 -0800

> The problem was: 'unknown key name "ctrl_g"' (error type ArgumentError)

It looks like you're using an out-of-date SVN checkout. Time to SVN update!

-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (William Morgan)
Date: Sat, 24 Nov 2007 09:45:22 -0800

>         from /var/lib/gems/1.8/gems/sup-0.2/lib/sup/buffer.rb:251:in

Oh, I see that you're starting sup from SVN but that it's loading code
from the 0.2 gem. You need to use something like "ruby -Ilib bin/sup" to
start it if you're running from SVN. You should probably uninstall that
gem to prevent further confusion.

---

From: [email-masked] (Guillaume Quintard)
Date: Sat, 24 Nov 2007 18:58:21 +0100

> gem to prevent further confusion.

actually, I tried without the gem, but I got this error message :

/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- sup (LoadError)
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
        from sup/bin/sup:8

and now that I uninstalled it, I get the message agin

-- 
shivan

---

From: [email-masked] (William Morgan)
Date: Sat, 24 Nov 2007 12:10:34 -0800

> and now that I uninstalled it, I get the message agin

Are you in the SVN directory? I.e. are "bin" and "lib" both
subdirectories of the current directory?

---

From: [email-masked] (Guillaume Quintard)
Date: Sun, 25 Nov 2007 04:29:50 +0100

> subdirectories of the current directory?

yep, sup is in sup/bin, and there's a lib directory on the same level as lib

-- 
Black masses are cool, as long as you're not the virgin.

---

From: [email-masked] (William Morgan)
Date: Mon, 26 Nov 2007 12:46:28 -0800

> yep, sup is in sup/bin, and there's a lib directory on the same level as lib

If you are in the SVN checkout directory, and there's a bin/sup, and a
lib/sup.rb, and a lot of lib/sup/*.rb, then it must be the case that:
  ruby -I lib bin/sup
finds the correct libraries!