RE: [U2] Change columns from 80 to 132 and from 132 to 80

2008-09-15 Thread lappies
Carlos Hanson wrote:
 On Fri, May 16, 2008 at 8:14 AM, Michael Bayer [EMAIL PROTECTED] wrote:
   
 On May 16, 2008, at 10:55 AM, Carlos Hanson wrote:

 
 On Fri, May 16, 2008 at 6:13 AM, Jim Steil [EMAIL PROTECTED] wrote:
   
 Hi:

 Can anyone tell me if it is possible to access data on an AS/400
 through
 SQLAlchemy?

   -Jim
 
 I'm connecting to an AS/400 using pyodbc, so I am sure that I can do
 it through SQLAlchemy.  If I have a chances to test it, I'll post my
 success.  But if you get an ODBC connection set up, the re should be
 no problem.
   
 well, connecting is just the beginning.  to take advantage of SQLA,
 you would also want an AS/400 dialect that knows how to render SQL in
 the way an AS/400 likes.  Im not familiar with anyone working on eck your .wis file and make sure that, when it receives those 
sequences it actually makes wIntegrate change column size.

Lastly, edit the TERM command (the source is in the UV account somewhere 
- APP.PROGS?) so that it responds to the WIDTH option.

I wrote a couple of spool utilities - in particular one I called 
WIDELIST, that threw wIntegrate into 132 column mode to list a file and 
then reverted back to 80 when it had finished. It's a simple job but 
fiddly. I might be able to find some of the sources and post them.

Cheers,
Wol

On Sep 12, 2008, at 3:49 PM, T Stokes wrote:

 I need to add this is from Wintegrate.


 T Stokes wrote:

 I am trying to find a way to change the columns on my screen from 80 

 132 and from 132 to 80. Either by scripts or by program.



 --  View this message in context: 
http://www.nabble.com/Change-columns- 
from-80-to-132-and-from-132-to-80-tp19462277p19462889.html
 Sent from the U2 - Users mailing list archive at Nabble.com.
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

-- 
Anthony W. Youngman [EMAIL PROTECTED]
'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man
lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source
Pick
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Change columns from 80 to 132 and from 132 to 80

2008-09-15 Thread Tim Stokes
Thank-you this is just what  I needed

Tim Stokes
[EMAIL PROTECTED]
Monolith Corporation
Phone: (919) 878-1900 ext 267
Fax: (919) 878-8844
 
 
 
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of lappies
Sent: Monday, September 15, 2008 6:22 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Change columns from 80 to 132 and from 132 to 80

Hi,

Use the Following ..

For 132...
CALL WIN.PCSCRIPT(wintsys\wit_scr\view132,)
EXECUTE 'TERM 132'

For 80
CALL WIN.PCSCRIPT(wintsys\wit_scr\view80,)
EXECUTE 'TERM 80'
 
HTH
Lappies Labuschagne
South Africa


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony W.
Youngman
Sent: Saturday, September 13, 2008 10:43 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Change columns from 80 to 132 and from 132 to 80

In message [EMAIL PROTECTED], Ed Clark 
[EMAIL PROTECTED] writes
Is this universe or unidata? Looks like universe defines the @(-29) 
function as setting 80 column mode, and the @(-30) function as  setting

132 column mode. These may not be defined for all term types,  but they

work for me in vt420.

I did exactly this for wIntegrate and PT250 emulation.

What you need to do (or check it works) is multifold ... :-)

Make sure those @ functions actually do something. Try setting VAR = 
@(-29) in a basic program and check the result isn't null. If they 
don't do anything you'll need to edit your terminfo database ...

Then check your .wis file and make sure that, when it receives those 
sequences it actually makes wIntegrate change column size.

Lastly, edit the TERM command (the source is in the UV account somewhere

- APP.PROGS?) so that it responds to the WIDTH option.

I wrote a couple of spool utilities - in particular one I called 
WIDELIST, that threw wIntegrate into 132 column mode to list a file and 
then reverted back to 80 when it had finished. It's a simple job but 
fiddly. I might be able to find some of the sources and post them.

Cheers,
Wol

On Sep 12, 2008, at 3:49 PM, T Stokes wrote:

 I need to add this is from Wintegrate.


 T Stokes wrote:

 I am trying to find a way to change the columns on my screen from 80


 132 and from 132 to 80. Either by scripts or by program.



 --  View this message in context: 
http://www.nabble.com/Change-columns- 
from-80-to-132-and-from-132-to-80-tp19462277p19462889.html
 Sent from the U2 - Users mailing list archive at Nabble.com.
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

-- 
Anthony W. Youngman [EMAIL PROTECTED]
'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The
man
lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source
Pick
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Change columns from 80 to 132 and from 132 to 80

2008-09-13 Thread Anthony W. Youngman
In message [EMAIL PROTECTED], Ed Clark 
[EMAIL PROTECTED] writes
Is this universe or unidata? Looks like universe defines the @(-29) 
function as setting 80 column mode, and the @(-30) function as  setting 
132 column mode. These may not be defined for all term types,  but they 
work for me in vt420.


I did exactly this for wIntegrate and PT250 emulation.

What you need to do (or check it works) is multifold ... :-)

Make sure those @ functions actually do something. Try setting VAR = 
@(-29) in a basic program and check the result isn't null. If they 
don't do anything you'll need to edit your terminfo database ...


Then check your .wis file and make sure that, when it receives those 
sequences it actually makes wIntegrate change column size.


Lastly, edit the TERM command (the source is in the UV account somewhere 
- APP.PROGS?) so that it responds to the WIDTH option.


I wrote a couple of spool utilities - in particular one I called 
WIDELIST, that threw wIntegrate into 132 column mode to list a file and 
then reverted back to 80 when it had finished. It's a simple job but 
fiddly. I might be able to find some of the sources and post them.


Cheers,
Wol


On Sep 12, 2008, at 3:49 PM, T Stokes wrote:


I need to add this is from Wintegrate.


T Stokes wrote:


I am trying to find a way to change the columns on my screen from 80 


132 and from 132 to 80. Either by scripts or by program.




--  View this message in context: 
http://www.nabble.com/Change-columns- 
from-80-to-132-and-from-132-to-80-tp19462277p19462889.html

Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


--
Anthony W. Youngman [EMAIL PROTECTED]
'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man
lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Change columns from 80 to 132 and from 132 to 80

2008-09-12 Thread T Stokes
I need to add this is from Wintegrate.


T Stokes wrote:
 
 I am trying to find a way to change the columns on my screen from 80 to
 132 and from 132 to 80. Either by scripts or by program.
 
 

-- 
View this message in context: 
http://www.nabble.com/Change-columns-from-80-to-132-and-from-132-to-80-tp19462277p19462889.html
Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Change columns from 80 to 132 and from 132 to 80

2008-09-12 Thread Kevin King
Depends on the emulator.  What emulator and emulation are you using in that
program?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Change columns from 80 to 132 and from 132 to 80

2008-09-12 Thread Ed Clark
I'm not familiar with wintegrate. Does it do multiple emulations? The  
control sequences to change a vt100 emulator are different than for a  
Wyse or Adds terminal. Check out the wintegrate programmer's manual.  
If it's anything like Accuterm, there's probably a private escape  
sequence that will change the screen size no matter what the emulation.




On Sep 12, 2008, at 3:49 PM, T Stokes wrote:


I need to add this is from Wintegrate.


T Stokes wrote:


I am trying to find a way to change the columns on my screen from  
80 to

132 and from 132 to 80. Either by scripts or by program.




--
View this message in context: http://www.nabble.com/Change-columns- 
from-80-to-132-and-from-132-to-80-tp19462277p19462889.html

Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Change columns from 80 to 132 and from 132 to 80

2008-09-12 Thread Ed Clark
Is this universe or unidata? Looks like universe defines the @(-29)  
function as setting 80 column mode, and the @(-30) function as  
setting 132 column mode. These may not be defined for all term types,  
but they work for me in vt420.


On Sep 12, 2008, at 3:49 PM, T Stokes wrote:


I need to add this is from Wintegrate.


T Stokes wrote:


I am trying to find a way to change the columns on my screen from  
80 to

132 and from 132 to 80. Either by scripts or by program.




--
View this message in context: http://www.nabble.com/Change-columns- 
from-80-to-132-and-from-132-to-80-tp19462277p19462889.html

Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Change columns from 80 to 132 and from 132 to 80

2008-09-12 Thread Tim Stokes
I am trying to set the columns in wintegrate from 80 to 132 or from 132
to 80


Tim Stokes
[EMAIL PROTECTED]
Monolith Corporation
Phone: (919) 878-1900 ext 267
Fax: (919) 878-8844
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Friday, September 12, 2008 3:40 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Change columns from 80 to 132 and from 132 to 80

Depends on the emulator.  What emulator and emulation are you using in
that
program?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/