1. RE: put_screen_char() doesn't work with EX under Windows

Robert Craig once said:

This is a known bug.
The test in put_screen_char() should be:

     if overflow > 0 then   -- correct

not:

     if overflow then   -- wrong

Please correct your copy of image.e
It will be corrected this way in 2.3.
Not many people use this routine.

martin.stachon at worldonline.cz wrote:
> When I tried to use put_screen_char() with Ex.exe (under Win98) i got 
> this error:
> 
> C:\EUPHORIA\include\image.e:337 in procedure put_screen_char() 
> slice ends past end of sequence (32 > 2) 
>     line = 1
>     column = 65'A'
>     char_attr = {57'9',2}
>     scr_addr = 753792
>     vc = {1,3,25,80'P',0,0,32' ',8}
>     overflow = -30
>  
> It is a bug or put_screen_char() cannot be used under Windows?
> 
>

new topic     » topic index » view message » categorize

2. RE: put_screen_char() doesn't work with EX under Windows

>Robert Craig once said:
[snip]
>Not many people use this routine.

That's only because it doesn't work.  I have wanted to use it before, but it 
didn't work, so I couldn't use it.

>First thing, EX.EXE will not work with MS-Windows it's sole purpose is DOS

Any dos eu program should work fine using ex.exe under windows.

>try instead EXW.EXE designed for Windows programs.

Yeah, if it had put_screen_char, get_screen_char, display_text_image and 
save_text_image.  I don't see any reason why it shouldn't have these 
routines if it uses a console.

new topic     » goto parent     » topic index » view message » categorize

3. RE: put_screen_char() doesn't work with EX under Windows

from my previous post...
[snip]
>Yeah, if it had put_screen_char, get_screen_char, display_text_image and
>save_text_image.  I don't see any reason why it shouldn't have these
>routines if it uses a console.
And what about get_mouse? It works well in Linux, even in an xterm window, 
so why can't it be done in windows? Surely it would be easy.

Well, Rob, how about it? (feedback would be appreciated)

Daryl van den Brink

new topic     » goto parent     » topic index » view message » categorize

4. RE: put_screen_char() doesn't work with EX under Windows

Kat wrote:
> On 11 May 2001, at 11:26, Robert Craig wrote:
> 
> 
> minimal interaction from me, but it would be nice to be able to 
> copy/paste 
> the current status to/from the dos boxes. I have 8 of them running right 
> now.
> 
 Kat

   CS:EE editor allows cut and paste to and from the windows clipboard
   so why are you saying that you can't do it from your program ?

Bernie

new topic     » goto parent     » topic index » view message » categorize

5. RE: put_screen_char() doesn't work with EX under Windows

> -----Original Message-----
> From: Kat [mailto:gertie at PELL.NET]
 
> Actually, about the only reason i'd use a windoze window is 
> because i can't 
> use the mouse in a dos box. The programs i am currently writing need 
> minimal interaction from me, but it would be nice to be able 
> to copy/paste 
> the current status to/from the dos boxes. I have 8 of them 
> running right now.

You can do that.  I cut and paste from EE all the time.  Just click on the
dotted box in the upper left corner of the box, and highlight what you want
to copy, then click the copy button (next to the dotted box).  To paste into
a dosbox, you just click the paste button (next to the copy button).  The
dos app thinks that the clipboard contents are being typed on the keyboard.

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

6. RE: put_screen_char() doesn't work with EX under Windows

On 11 May 2001, at 14:40, Matthew Lewis wrote:

> 
> > Actually, about the only reason i'd use a windoze window is 
> > because i can't 
> > use the mouse in a dos box. The programs i am currently writing need 
> > minimal interaction from me, but it would be nice to be able 
> > to copy/paste 
> > the current status to/from the dos boxes. I have 8 of them 
> > running right now.
> 
> You can do that.  I cut and paste from EE all the time.  Just click on the
> dotted box in the upper left corner of the box, and highlight what you want to
> copy, then click the copy button (next to the dotted box).  To paste into a
> dosbox, you just click the paste button (next to the copy button).  The dos
> app
> thinks that the clipboard contents are being typed on the keyboard.

Some day, i must take the time to get to know windoze better. Thanks, Matt.

Kat

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu