Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Disabling eclipse shortcuts while colde is running(Issue while running an interactive code from eclipse (pyraf task and : commands) )
Disabling eclipse shortcuts while colde is running [message #1696135] Fri, 22 May 2015 09:46 Go to next message
Delosari Khalet is currently offline Delosari KhaletFriend
Messages: 1
Registered: May 2015
Junior Member
Hi

I have an issue with eclipse which I think I know how to avoid but I am not sure how to implement it. A bit of context:

I am using eclipse with pydev to run a code which generates windows and accepts user input from keyboard. The particular library which manages this is PyRaf (based on IRAF).

So far most key events worked fine : "a" , "g", "1", "9", "w+a" .... (you catch my drift)
The issue comes when I try to use the ":" input which requires the "shift + ." key combination.

When I try this the colon ":" ends up in the eclipse console... Instead of being fed into my runing code window. I think this is because when I use the "shift" key eclipse is expecting a short cut.

So here is my question :

How do I disable the shortcuts?

I know eclipse has context for the shortcuts including console... But there are many and not sure how to impose a excluding context.

I would love any advice on how to do this properly

Thanks

UPDATE 1 (22/05/2015)

I have disabled all the shortcuts which start with "shitf +" and the issue still happens

UPDATE 2 (22/05/2015)

I have used xmodmap in linux to change one key character to ":" so pressing shift is no longer necessary... However the issue still happens... Hence it seems (to me) it is related to the ":" character ????

UPATE 3 (22/05/2015)

I have this warning when importing pyraf:

tput: No value for $TERM and no -T specified

I do not know if it is related to this issue or it is related to PyRAF trying to import some IRAF tasks

[Updated on: Fri, 22 May 2015 14:55]

Report message to a moderator

Re: Disabling eclipse shortcuts while colde is running [message #1696348 is a reply to message #1696135] Tue, 26 May 2015 00:45 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 05/22/2015 07:38 AM, Delosari Khalet wrote:
> Hi
>
> I have an issue with eclipse which I think I know how to avoid but I am
> not sure how to implement it. A bit of context:
>
> I am using eclipse with pydev to run a code which generates windows and
> accepts user input from keyboard. The particular library which manages
> this is PyRaf (based on IRAF).
> So far most key events worked fine : "a" , "g", "1", "9", "w+a"
> .... (you catch my drift) The issue comes when I try to use the ":"
> input which requires the "shift + ." key combination.
> When I try this the colon ":" ends up in the eclipse console...
> Instead of being fed into my runing code window. I think this is
> because when I use the "shift" key eclipse is expecting a short cut.
> So here is my question :
> How do I disable the shortcuts?
> I know eclipse has context for the shortcuts including console... But
> there are many and not sure how to impose a excluding context.
> I would love any advice on how to do this properly
>
> Thanks

PyDev isn't supported by Eclipse as it's written and maintained by an
independent, third party. PyDev's website suggests getting support for
it on stackoverflow.com. Likewise, PyRAF is nothing you can find support
for in the Eclipse forums.

I hope you can get help elsewhere, but PyRAF themselves warn you that
there's little to no support for that product. If you haven't you can
find a FAQ at
http://www.stsci.edu/institute/software_hardware/pyraf/pyraf_faq
Previous Topic:Eclipse shows only welcome page
Next Topic:Cannot connect GDB to serial port on Windows
Goto Forum:
  


Current Time: Fri Apr 19 06:01:42 GMT 2024

Powered by FUDForum. Page generated in 0.02460 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top