View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

emacs & other minor issues

Karen Kwitter wrote on Jan 19, 2010

Hi again, Mike,

Since the new install, my ECL window is acting up - often the new output on the screen inverts (white letter on blue background) at the end of a task, and I have to type "clear" to undo it.

Also, emacs is weird - it hides the first line of the file I'm editing underneath the emacs header line, writing an inverted-color 2 several columns in; and it closes in the middle of the window rather than the bottom. This is true for several different sized xwindows.

As I say, it's minor, but still a pain.

Thanks,
Karen

Mike Fitzpatrick wrote on Jan 19, 2010

Since the new install of what, IRAF (from us or SciSoft?) or the OS (which one?)??

Nothings changed recently in IRAF that affects terminal handling, however linux is constantly changing the termcap settings for xterm and I tend to use

setenv TERM xterm-color


in my .cshrc file to avoid problems with e.g. reverse video after a man page. This applies to XGterm as well as Xterm, I see other funny coloring (usually syntactic colors for code in editors) when using plain text terminals like Konsole. I don't use emacs myself but this would be a new problem for X11 under OSX is that's the case, see if the 'xterm-color' setting has better luck or please post more information.

-Mike

Karen Kwitter wrote on Jan 19, 2010

Hi Mike,

It's SciSoft, on Mac OSx 10.5.8.

I tried TERM=xterm-color in my .bashrc, but that hasn't fixed it. Interestingly, if I type "cat" or "page" instead of "more" in IRAF, I don't have the same inverse video problem at the end.

Regarding emacs, if it opened in a separate window might it work better? If so, can you tell me how to do it?

I have also noticed that in epar, when editing a line (with ^U-^L), the delete key only moves the cursor backwards, and doesn't delete; I have to use the forward-delete key to delete backwards. I checked the settings in the emacs.ed and delete is listed as ^H, which is as I think it's supposed to be. Is there something else I should invoke or change?

Thanks,
Karen

Last post on Jan 19, 2010