dbTalk Databases Forums  

Terminal windows

comp.databases.pick comp.databases.pick


Discuss Terminal windows in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Albe
 
Posts: n/a

Default Terminal windows - 09-06-2006 , 02:05 AM






Hallo,
I was wondering if there is a way in any D3 to open a window on top of
another one and then close it leaving everything underneat as it was before;
I mean without having to rewrite everything.
This should be done regardless of the telnet client and the terminal
emulation I'm using.
Thanks,
Alberto



Reply With Quote
  #2  
Old   
Mark Brown
 
Posts: n/a

Default Re: Terminal windows - 09-06-2006 , 05:26 AM






I have been in posession of just such software since 1985. Unfortunately
it's not for sale. But the princile is sound and works very well.

i also believe that Accuterm has this ability

For example, consider the following:

if a > b then
emsg = "B is too small"
$open('c','c',17,5)
$box(0,0,17,15, ' Error! ',1,@(-33):@(-42),1)
echo off; in nothing; echo on
$close(0)
end


In it's simplest form, $OPEN opens a window centering the column and row
based on screen size, 17 bytes wide and 5 rows deep; $box places a box
around the area starting in relative positions 0,0 and placing a title into
the box. Type 1 says to use graphics characters to build the box, @(-33)
etc sets box color and the last 1 places a shade around the right and bottom
edges to make it stand out.

$close closes the last open window and the 0 says don't suppress repainting
the exposed area.

This requires a special table to control windows and window handles, a
special "named comon" (Oh No!!!) and a pre-compiler that will understand the
object-oriented syntax.

Not generally available, but I know for a fact that it can be done.


Mark Brown



"Albe" <coralbe_nospam (AT) email (DOT) it> wrote

Quote:
Hallo,
I was wondering if there is a way in any D3 to open a window on top of
another one and then close it leaving everything underneat as it was
before; I mean without having to rewrite everything.
This should be done regardless of the telnet client and the terminal
emulation I'm using.
Thanks,
Alberto




Reply With Quote
  #3  
Old   
GVP
 
Posts: n/a

Default Re: Terminal windows - 09-06-2006 , 06:37 AM




!!!!!
Quote:
This should be done regardless of the telnet client and the terminal emulation I'm using.
Hello Alberto,
It is possible. But not free. Reply to me directly.

Regards,
Grigory



Reply With Quote
  #4  
Old   
B Faux
 
Posts: n/a

Default Re: Terminal windows - 09-06-2006 , 11:26 AM



Mark;

I'm having flash-backs to Mercer Is. WA....yikes!!!

Bruce ;0

"Mark Brown" <mbrown (AT) drexelmgt (DOT) com> wrote

Quote:
I have been in posession of just such software since 1985. Unfortunately
it's not for sale. But the princile is sound and works very well.

i also believe that Accuterm has this ability

For example, consider the following:

if a > b then
emsg = "B is too small"
$open('c','c',17,5)
$box(0,0,17,15, ' Error! ',1,@(-33):@(-42),1)
echo off; in nothing; echo on
$close(0)
end


In it's simplest form, $OPEN opens a window centering the column and row
based on screen size, 17 bytes wide and 5 rows deep; $box places a box
around the area starting in relative positions 0,0 and placing a title
into the box. Type 1 says to use graphics characters to build the box,
@(-33) etc sets box color and the last 1 places a shade around the right
and bottom edges to make it stand out.

$close closes the last open window and the 0 says don't suppress
repainting the exposed area.

This requires a special table to control windows and window handles, a
special "named comon" (Oh No!!!) and a pre-compiler that will understand
the object-oriented syntax.

Not generally available, but I know for a fact that it can be done.


Mark Brown



"Albe" <coralbe_nospam (AT) email (DOT) it> wrote in message
news:edls0a$9kv$1 (AT) newsread (DOT) albacom.net...
Hallo,
I was wondering if there is a way in any D3 to open a window on top of
another one and then close it leaving everything underneat as it was
before; I mean without having to rewrite everything.
This should be done regardless of the telnet client and the terminal
emulation I'm using.
Thanks,
Alberto






Reply With Quote
  #5  
Old   
Ross Ferris
 
Posts: n/a

Default Re: Terminal windows - 09-06-2006 , 06:06 PM




Albe wrote:
Quote:
Hallo,
I was wondering if there is a way in any D3 to open a window on top of
another one and then close it leaving everything underneat as it was before;
I mean without having to rewrite everything.
This should be done regardless of the telnet client and the terminal
emulation I'm using.
Thanks,
Alberto
I believe Doug Dumitru had a product that did this MANY moons ago - a
"windowing" environment for R83 (and similar), that was written in Pick
assembler. I'd hazard a guess that it is no longer available.

Your capabilities in this regard will be driven VERY MUCH by the
terminal and/or emulator that is in use --> depending on your starting
point you may be able to do "something" in your basic code by keeping
your own screen images in a variable that you can just "print" to
refresh the screen.

(Some TE's and screens also allow you to "capture" what is currently on
the display, but your "regardless of the telnet client" statement means
you wouldn't be able to do this.)

Bottom line - it CAN be done be, but I do see a rewrite of some
description in your future



Reply With Quote
  #6  
Old   
(latimerp)
 
Posts: n/a

Default Re: Terminal windows - 09-06-2006 , 06:23 PM



Ross Ferris wrote:
Quote:
Albe wrote:
snip
I believe Doug Dumitru had a product that did this MANY moons ago - a
"windowing" environment for R83 (and similar), that was written in Pick
assembler. I'd hazard a guess that it is no longer available.
snip

It may/may not be, but the rewrites are not that much. It does depend on
the complexity and modularity of the application.

Patrick, <;=)


http://modsoft.com/fullview/index.htm



Quote:
Bottom line - it CAN be done be, but I do see a rewrite of some
description in your future


Reply With Quote
  #7  
Old   
Marshall Lucas
 
Posts: n/a

Default Re: Terminal windows - 09-06-2006 , 06:49 PM



A relatively simple one can be used with AccuTerm. Check their site
www.asent.com for the SUI code. I have used it and it does seem to work
with various terminal types. You basically have to "repaint" each
screen as you clear a window on top. You may have to write a handler to
keep a stack of "windows" that it can repaint in order ... or, simply
keep a variable loaded with the screen contents and use it to print to
the screen. A stack of these would then allow you to back up one or
many and go back forward to still open windows.

Marshall

(latimerp) wrote:
Quote:
Ross Ferris wrote:
Albe wrote:
snip
I believe Doug Dumitru had a product that did this MANY moons ago - a
"windowing" environment for R83 (and similar), that was written in Pick
assembler. I'd hazard a guess that it is no longer available.
snip

It may/may not be, but the rewrites are not that much. It does depend on
the complexity and modularity of the application.

Patrick, <;=)


http://modsoft.com/fullview/index.htm




Bottom line - it CAN be done be, but I do see a rewrite of some
description in your future


Reply With Quote
  #8  
Old   
slp
 
Posts: n/a

Default Re: Terminal windows - 09-06-2006 , 06:54 PM




Albe ha escrito:

Quote:
Hallo,
I was wondering if there is a way in any D3 to open a window on top of
another one and then close it leaving everything underneat as it was before;
I mean without having to rewrite everything.
This should be done regardless of the telnet client and the terminal
emulation I'm using.
Thanks,
Alberto
Hi,
I use BWTerm, a terminal emulator for Pick users. This was made for
work in environments AP, D3 or UniVerse. Can emulate terminals like
Term I (AP/D3) or Ansi (UniVerse) under IPX/SPX or TCP/IP. You can do
cursor formating, save screen, restore screen, scroll screen, print
screen, local print, shell execution, etc.
If you are interested, send me a mail.
Thanks.
Ciao.

Ing. Sergio Perin
Baseware Systems



Reply With Quote
  #9  
Old   
Peter Schellenbach
 
Posts: n/a

Default Re: Terminal windows - 09-07-2006 , 01:41 PM



Actually, the SUI windowing routines supplied with AccuTerm do not
require you to repaint the exposed area when closing a window, but they
do require support on the client side. AccuTerm 5.2 and above has a
feature for saving & restoring any part of the screen. The SUI routines
can also use page memory with the block copy functions in Wyse 60 and
VT420 terminals (or an emulator that correctly supports these features)
to simulate windowing.

Peter Schellenbach
AccuSoft Enterprises
:


Reply With Quote
  #10  
Old   
Alberto
 
Posts: n/a

Default Re: Terminal windows - 09-07-2006 , 01:56 PM



I want to thank anybody but the solution I am looking for should work on any
emulator, as I tried to say in my first post.
I supposed there could be some Pick Basic routines which implements this
feature. This because my applications use a telnet client which doesn't
support this feature but it supports other features which we are using and
which would cost a lot of trouble changing (please, excume my English).
Any other suggestion would be appreciated.
I don't mind rewriting some code for the programs I ant to implement with
this feature.
Thanks again,
Alberto

"Albe" <coralbe_nospam (AT) email (DOT) it> ha scritto nel messaggio
news:edls0a$9kv$1 (AT) newsread (DOT) albacom.net...
Quote:
Hallo,
I was wondering if there is a way in any D3 to open a window on top of
another one and then close it leaving everything underneat as it was
before; I mean without having to rewrite everything.
This should be done regardless of the telnet client and the terminal
emulation I'm using.
Thanks,
Alberto




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.