[PD] fn delete
Hans-Christoph Steiner
hans at eds.org
Thu Mar 1 02:54:25 CET 2007
AFAIK, all key mapping is done in pd.tk (aka u_main.tk). But that
doesn't mean that it's simple to track down. That's part of what
need fixing ;).
Look for all the "bind" statements in pd.tk. Part of the problem is
that Pd turns off a lot of the default Tcl/Tk bindings, which is
probably the cause behind the problem that started this thread.
.hc
On Feb 28, 2007, at 4:01 AM, Luke Iannini (pd) wrote:
> I had a look with no prior knowledge of Tcl/Tk... I have no idea where
> the "Delete" message is being intercepted. It is not in pd.tk,
> afaict; it looks like it is being caught and told to send keycode 8
> (backspace). I was able to change BackSpace's keycode successfully
> (e.g. to a "." character) but changes to the Delete keycode still show
> up as the box. Strangely, the "Delete" keysym shows up in the console
> if you uncomment the debug code at the top of the proc, so I'm not
> sure where this is getting messed up (I found no other references in
> pd.tk).
>
> So, hope that confuses someone.
>
> Does anyone know if windows can be set to "fill while resizing" in
> Tcl/Tk? I've had a look around and can't find anything, and all other
> Tk apps I've tried in OS X have the same "transparent frame"/Windows
> 95/OS 9 style resize, so I assume that is a no.
>>
>> Yeah, the key mappings are a mess in Pd. It's all handled in Tcl.
>> This needs a clean-up on all platforms. Anyone want to try?
>>
>> .hc
>>
>> On Feb 27, 2007, at 2:25 PM, marius schebella wrote:
>>
>>> Hi,
>>> speaking about annoying things so much leads me to post another
>>> problem,
>>> that fn + delete, which usually deletes the character right of the
>>> cursor on osx, does not work in pd. there appears a funny rectangle
>>> character. maybe this one is easier to solve?
>>> I also had that problem on some linux machines, btw. whereas on
>>> windows
>>> it was not possible at all to delete what is right of the cursor,
>>> if I
>>> remember correctly.
>>> marius.
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>>> listinfo/pd-list
>>
>>
>> ---------------------------------------------------------------------
>> ---
>>
>> There is no way to peace, peace is the way. -A.J. Muste
>>
>>
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>> listinfo/pd-list
>>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
> listinfo/pd-list
------------------------------------------------------------------------
All information should be free. - the hacker ethic
More information about the Pd-list
mailing list