WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: got an escape press in main - logged to console  (Read 2106 times)

Offline clach04

  • Newbie
  • *
  • Posts: 31
got an escape press in main - logged to console
« on: September 05, 2009, 08:41:21 PM »
I just performed a frugal install of TC 2.3 (with wireless and Shiretoko). Very cool stuff, nice and quick boot :-)

I think I may have (intermittent) problems with flwm though. I found that right clicks were not working in Shiretoko/Firefox (can't access any of the Firefox menus either, Edit, Help, etc.) and I suspect flwm but I'm not sure.

I ended up Alt-Ctrl-Backspace'ing to try and startx again and found the console full of :
Code: [Select]
got an escape press in main
Messages when X went away and the console came back. A quick:
Code: [Select]
tc@box:~$ strings `which flwm` |grep "got an escape press in main"
got an escape press in main

showed that flwm was probably the culprit but a quick/casual browse through http://flwm.cvs.sourceforge.net/viewvc/flwm/flwm/ didn't find the cause/code (I only found a ref to any key press in Main.c). Where is the src for flwm for TC 2.3? I don't want to build, just trying to workout what is going on.

Thanks!

Chris




Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: got an escape press in main - logged to console
« Reply #1 on: September 05, 2009, 08:47:27 PM »
It is totally harmless.
Just ignore. I will make it go away in next release.
Fltk by default uses an Esc to close an application.
Pressing Esc key would close the window manager. Not desireable.
I added code to swallow the esc key and printed such to the console.
10+ Years Contributing to Linux Open Source Projects.

Offline clach04

  • Newbie
  • *
  • Posts: 31
Re: got an escape press in main - logged to console
« Reply #2 on: September 05, 2009, 08:49:49 PM »
Thanks for the quick reply. That's eased my mind.

Thanks for such a great compact distro!

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11020
Re: got an escape press in main - logged to console
« Reply #3 on: September 06, 2009, 03:06:01 AM »
Do right clicks work in other apps? If not, download the Xorg extension (don't configure it), and use xev to see which button it thinks it is.
The only barriers that can stop you are the ones you create yourself.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: got an escape press in main - logged to console
« Reply #4 on: September 06, 2009, 10:12:33 AM »
Quote
I think I may have (intermittent) problems with flwm though. I found that right clicks were not working in Shiretoko/Firefox (can't access any of the Firefox menus either, Edit, Help, etc.) and I suspect flwm but I'm not sure.
Cannot reproduce. Working fine here. In fact, I am using Shiretoko to post this and used the menus to cut and paste the above quote. Right click brings up the Shirekoto menu, except, of course, while on the title bar.
10+ Years Contributing to Linux Open Source Projects.

Offline clach04

  • Newbie
  • *
  • Posts: 31
Re: got an escape press in main - logged to console
« Reply #5 on: September 06, 2009, 10:40:23 AM »
It hasn't happennd again after rebooting (even though restarting X made no difference when it did happen). Very odd, if it happens again I'll get xorg/ev as suggested.

Right clicks did work for flwm menu's. I didn't hve any other apps installed at the time to test right click, I do now though so if it happens again I'll test that too.