comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: suppressing carriage return in PRINT
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: suppressing carriage return in PRINT [message #30701 is a reply to message #30575] Thu, 09 May 2002 07:00 Go to previous message
Kenneth Mankoff is currently offline  Kenneth Mankoff
Messages: 42
Registered: August 1999
Member
Craig Markwardt <craigmnet@cow.physics.wisc.edu> writes:

> Kenneth Mankoff <mankoff@snoe.colorado.edu> writes:
>
>> Chris O'Dell <odell@cmb.physics.wisc.edu> writes:
>>
>>> This should be really easy. How do you print something (to the normal
>>> print window in IDL) without a carriage return?
>>
>> Craig: Is there any chance you can get this to work in EMACS? Or you
>> could give me some pointers how to modify it? I know
>> its not vt100 and therefore a whole different beast, but I love the
>> routine and am sometimes forced to use x-terms just because nothing
>> shows up in emacs.
>
> Since EMACS uses a "dumb" terminal I do not think this will work.
> [ I just tried this using STATUSLINE, /ENABLE. ] Same probably
> goes for the Windows IDE.
>
> Comments?

The only way I can think that it might work is currently beyond my
ability to implement. It would require JD to implement, I think, if
it is even possible. But it would go like this:

I assume the IDLWAVE shell can interact with Emacs, in which case
STATUSLINE would have to detect its being called in Emacs (this much
I know how to do), and then issue commands to the buffer like:
'(newline-no-cr) or whatever the LISP syntax would be to return to the
beginning of the current line without a carriage-return.

Oh well... It is not important. I like statusline, but its output
is critical enough to require me to use an xterm for only a few of
the routines I run.

Maybe I will get around to learning how to implement this after I
have implemented the Perl wrapper that allows subscripting with [-1].

-k.
--
------------------------------------------------------------ ----------
Ken Mankoff http://lasp.colorado.edu/snoe/
http://lasp.colorado.edu/mars/
http://lasp.colorado.edu/~mankoff/ http://lasp.colorado.edu/marsrobot/
------------------------------------------------------------ ----------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: EGAD! A common block question.......
Next Topic: library help -- multiple procedures in one file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 23:58:48 PDT 2025

Total time taken to generate the page: 1.28375 seconds