View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

delete key (Mac OSX 10.6.6)

Jean Chiar wrote on Jan 19, 2011

Hello,

I'm having some trouble with the delete key within xgterm. However, it is not quite like the problems I read about in previous posts in this forum: the delete key works just fine within cl until I try to delete/edit the inputs within a specific iraf command.

For example, if I want to run the "response" routine, but type "respont" instead, I can delete just fine to fix the typo. Now, after I run 'response,' I get prompted for "Longslit calibration images". If I mistype at this point, my delete key no longer works and I just see "^H". I do not have a backspace key on my keyboard, so that is not an option. I also tried editing the equivalent of a .login file (/etc/csh.login) to add the line stty erase ^? (which is what I get if using the verbatim command within vi for the delete key). I sourced this file and re-ran cl and response, but the delete problem did not get fixed.

(I'm just using "response" as an example, the problem is not particular to this command.)

Is there another fix that I can try?

Thanks,
Jean

Mike Fitzpatrick wrote on Jan 19, 2011

If you're still having problems with this please post back, otherwise I would check your .cshrc file to see if there is an 'stty' or 'tset' command in there that might be resetting the terminal settings to undo what your .login setting does. Also, what value of the TERM unix environment variable are you using?

Last post on Jan 19, 2011