[U2] [uv] SBClient - vt220 CHAR mode - How to colors ?

2007-09-20 Thread Manu Fernandes
Hi all,

I've a project to convert a old PICK basic application to Universe/NT.
I want to use SBClient in character mode, with vt220 terminal emulation.
 
(We build new modules with SB+.)

In BASIC, I convert colors sequences like background black from @(-40) to
@(-38,0) and so on for all colors.

But SBClient don't display any colors 
 
Is there someone with experience or any advice  

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


Re: [U2] Denial Of Service in UVRPC Universe

2007-09-20 Thread Herve Balestrieri
Augusto,

The UniRPC protocol hanging when contacted by other network protocols
working on the same TCP port is not exactly what we could name a bug.
But, for the very true reasons you exposed, enhancements have been made in
UniRPC daemon (unirpcd executable) to handle smoothly the case of
unexpected packets causing the daemon to hang, as the UniRPC applicative
protocol doesn't know about any of the others high-level protocols such as
telnet, ftp, and so on.

A new unirpcd parameter = -timeout tt, with tt in seconds allows the
UniRPC daemon to handle smoothly this situation.
We recommend the timeout value to be the smallest as your network can
support, because for the duration of the timeout, the UniRPC daemon is
actually hanging, but in a controlled manner, and no more UniRPC
connections can be accepted.
A value of 15 seconds seems generally the largest acceptable value on most
sites, so it could be reduced on purpose.

Note that this parameter exists for UniVerse on Windows platform starting
at release 10.1.23 for releases 10.1.x and 10.2.3 for releases 10.2.x.
The procedure to get it enabled through Windows Services Manager is
documented in the patchlist file accessible on :
https://www-927.ibm.com/software/data/u2/support/u2techconnect/downloads/readme/UV-10.1.23.zip

Have to look at Issue # 9074.

On UNIX platforms, the -timeout parameter was altready existing in the
early releases 10.0.x (and UniData 6.0.x), (and it's much easier to have it
enabled at system command line !).

Hope this will help.

P.S: The answer here is one more reason to attend to U2U in IBM Bedfont
Lakes (Feltham) as my manager suggested !...

Regards,

Herve' Balestrieri

 Hi all.

 If you do a telnet against any Universe server on port 31438 (I have
tested
 it on Universe 10.0.10 in Windows, Universe 10.0.20 in Linux and Universe

 10.0.6 in HP-UX), you will have something very similar to a Denial Of
 Service on this port 31438:
 -all previous UVRPC established sessions keep on working without
 problem, but
 -any subsequent tries to start new UVRPC sessions, will timeout with
 Error returned from connect = 81015.

 The problem desappears when the PC client closes the telnet session. (Or
you
 can restart UniVerse or the whole server...)

 Could someone tell me if is it a normal behaviour or is it a unirpcd bug?
 Is there any way of detect or avoid this kind of sessions?
 Could it be the same problem that some viruses (like Blaster) causes on
 UVRPC of Universe Servers?

 Any help will be apreciated.

 Regards,
 __
 Augusto Alonso Alonso
 IT Manager
 Quiter Servicios Informaticos S.L.
 [EMAIL PROTECTED]
 www.quiter.com
 __
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [uv] SBClient - vt220 CHAR mode - How to colors ?

2007-09-20 Thread David Murray
Manu,

What terminal definition have you setup within SB+ for the user/port?

Definition VT220 in SB+ does not support colour.

Definition TU.VT220 does support colour.

You may have to tweak one of the existing SB+ terminal definitions to get
the correct functionality required.

Cheers,

David Murray

.learn and do
.excel and share

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manu Fernandes
Sent: Thursday, September 20, 2007 4:28 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] [uv] SBClient - vt220 CHAR mode - How to colors ?

Hi all,

I've a project to convert a old PICK basic application to Universe/NT.
I want to use SBClient in character mode, with vt220 terminal emulation.
 
(We build new modules with SB+.)

In BASIC, I convert colors sequences like background black from @(-40) to
@(-38,0) and so on for all colors.

But SBClient don't display any colors 
 
Is there someone with experience or any advice  

Thanks.
Manu
---
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] Forum email

2007-09-20 Thread Jerry Banker
At one time I use to get forum questions as an email. What ever happened
to that?
Jerry
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [uv] SBClient - vt220 CHAR mode - How to colors ?

2007-09-20 Thread Kevin King
I was about to recommend changing the /TERM.DEFN, but then I realized that
you're asking about a non-SB+ screen, right?  It may be that SBClient uses
non-standard terminal control for handling colors.  You might, however, use
the TU.VT220 per David's advice to see what codes need to be sent to enable
the different colors.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [uv] SBClient - vt220 CHAR mode - How to colors ?

2007-09-20 Thread Manu Fernandes

Hi,

Precision, I do'nt login into SB+, I do'nt use it !
I'll use SBClient like a character based term emulator without SB+.
SB+ interface is the next step ~future not defined.

Thanks for help
Manu

- Original Message - 
From: David Murray [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Thursday, September 20, 2007 1:19 PM
Subject: RE: [U2] [uv] SBClient - vt220 CHAR mode - How to colors ?



Manu,

What terminal definition have you setup within SB+ for the user/port?

Definition VT220 in SB+ does not support colour.

Definition TU.VT220 does support colour.

You may have to tweak one of the existing SB+ terminal definitions to get
the correct functionality required.

Cheers,

David Murray

.learn and do
.excel and share

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manu Fernandes
Sent: Thursday, September 20, 2007 4:28 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] [uv] SBClient - vt220 CHAR mode - How to colors ?

Hi all,

I've a project to convert a old PICK basic application to Universe/NT.
I want to use SBClient in character mode, with vt220 terminal emulation.

(We build new modules with SB+.)

In BASIC, I convert colors sequences like background black from @(-40) 
to

@(-38,0) and so on for all colors.

But SBClient don't display any colors 

Is there someone with experience or any advice 

Thanks.
Manu
---
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/


[U2] Debug problems with 10.2.4 Reality format

2007-09-20 Thread Brenda Price
This is about to drive me crazy.  Anyone have a clue as to why my DEBUG
statement is only getting executed on the first record in the list of
records?  I also have a problem with a DEBUG not getting executed when
returning from a subroutine after the first time it executes.



  READ.CNT = 0

  EOF = FALSE

  LOOP

 READNEXT RET.LET.ID FROM RET.LIST ELSE EOF = TRUE

  UNTIL EOF DO

 SKIP = FALSE

 IS.KATRINA = @FALSE



 READ RET FROM RET.FILE, RET.LET.ID THEN

READ.CNT += 1

RET.PRT.DT = OCONV(FIELD(RET.LET.ID,*,2), 'D4-')

CUST.MSTR.ID = FIELD(RET.LET.ID,*,1)

KATRINA.CUST.ITEM = ''   ; * KATRINA CHANGE

READ KATRINA.CUST.ITEM FROM KATRINA.CUST.FILE, CUST.MSTR.ID
THEN IS.KATRINA = @TRUE  ; * KATRINA CHANGE

KATRINA.CUST2.ITEM = ''  ; * KATRINA CHANGE

READ KATRINA.CUST2.ITEM FROM KATRINA.CUST2.FILE,
CUST.MSTR.ID THEN IS.KATRINA = @TRUE; * KATRINA CHANGE

CLNT4.ID = CUST.MSTR.ID[1,4]

CLNT6.ID = CUST.MSTR.ID[1,6]

KATRINA.CLIENT.ITEM = '' ; * KATRINA CHANGE

READ KATRINA.CLIENT.ITEM FROM KATRINA.CLIENT.FILE, CLNT4.ID
THEN IS.KATRINA = @TRUE  ; * KATRINA CHANGE

IF IS.KATRINA THEN   ; * KATRINA CHANGE

   CALL ERRORLOG('RETURN.LETTERS','No letters allowed due to
Katrina disaster',CUST.MSTR.ID,'','')

   DELETE RET.FILE, RET.LET.ID

   CONTINUE

END

IF CLNT4.ID = '' THEN CONTINUE ; *

SPEC.PHS4.FLAG = FALSE

MATREAD CUST.MSTR.ITEM FROM CUST.MSTR.FILE, CUST.MSTR.ID
ELSE

   GOSUB WRITE.COMMENT

   DELETE RET.FILE, RET.LET.ID

   CONTINUE  ; * skip to next record

END

WEEKLY.FLAG = FALSE

IF CUST.MSTR.ITEM(19) = 'S' OR CUST.MSTR.ITEM(19) = 'W' THEN
WEEKLY.FLAG = TRUE

IF CUST.MSTR.ITEM(44) = 'Y' THEN

   DELETE RET.FILE, RET.LET.ID

   CONTINUE  ; * skip to next record

END

IF CUST.MSTR.ITEM(179) = 'Y' THEN  ; * no contact FDCPA

   CALL ERRORLOG('RETURN.LETTERS','No contact
FDCPA',CUST.MSTR.ID,'','')

   DELETE RET.FILE, RET.LET.ID

   CONTINUE

END

IF CUST.MSTR.ITEM(89) = 'N' THEN   ; * no notices
allowed

   CALL ERRORLOG('RETURN.LETTERS','No notices
allowed',CUST.MSTR.ID,'','')

   DELETE RET.FILE, RET.LET.ID

   CONTINUE

END

READ CLIENT.MSTR.ITEM FROM CLIENT.MSTR.FILE, CLNT4.ID ELSE

   CALL ERRORLOG ('RETURN.LETTERS','Cannot read CLIENT.MSTR
file.',CLNT4.ID,'','')

   CONTINUE  ; * skip to next record

END

SUF = CUST.MSTR.ID[5,2]

READV REASON FROM PMT.TYPE, RET2,3 ELSE REASON = ''

CHGBK.FLAG = FALSE

BEGIN CASE

   CASE RET2[1,2] = 'RC'

  TYPE = 'Check'

   CASE RET2[1,2] = 'RE'

  TYPE = 'Draft'

   CASE RET2[1,2] = 'REP'

  TYPE = 'Draft Prenote'

   CASE RET2[1,2] = 'RG' OR RET2[1,2] = 'RA'

  TYPE = 'Credit Card'

  IF RET2 = 'RG10' THEN

 CHGBK.FLAG = TRUE

  END

END CASE

PMT = CUST.MSTR.ITEM(20)

CLNT.PARAMETERS.ID = 

CLNT.PARAMETERS.ID = CLNT6.ID

MAT CLNT.PARAMETERS.ITEM = ''

MATREAD CLNT.PARAMETERS.ITEM FROM CLNT.PARAMETERS.FILE,
CLNT.PARAMETERS.ID ELSE

   CALL ERRORLOG ('RETURN.LETTERS','Cannot read
CLNT.PARAMETERS file',CLNT.PARAMETERS.ID,'','')

END

IF CLNT.PARAMETERS.ITEM(64) = 'Y' THEN

   SPEC.PHS4.FLAG = TRUE

END

LATE.DATE = CTL.REC1

CALL
CALC.LATE.PAYMENT(LET.TOT,'',LET.LATE,LATE,BAL,'',LATE.UNPAID,RETURN.UNP
AID,'','','',ACCR.SW,OPN.FLAG,CUST.MSTR.ID,LATE.DATE)  when I put a
debug here it does the same thing, it is skipped after the first break
unless I set a breakpoint

LET.RET = RETURN.UNPAID

LET.AMT = LET.TOT - LET.LATE - RETURN.UNPAID - LATE.UNPAID

BAL.DUE = BAL

DYS.LATE = DATE() - CUST.MSTR.ITEM(45)

CONTRACT.TYPE = CLNT.PARAMETERS.ITEM(97)

OPEN.END.FLAG = FALSE

IF CONTRACT.TYPE = 2 THEN

   OPEN.END.FLAG = TRUE

END ELSE

   IF CUST.MSTR.ITEM(101) # '' AND CUST.MSTR.ITEM(103)1,1
= '' THEN

  OPEN.END.FLAG = TRUE

   END

END

READ CUST.TRAN.ARCH.ITEM FROM CUST.TRAN.ARCH.FILE,
CUST.MSTR.ID ELSE

   CALL ERRORLOG ('RETURN.LETTERS','Cannot read
CUST.TRAN.ARCH 

RE: [U2] Debug problems with 10.2.4 Reality format

2007-09-20 Thread David Jordan
Hi Brenda

You have continue statements that would not reach that debug statement.  I
suspect that the test data is different to the live data and hence the
program is not acting as you expected, rather than an issue with the debug
statement.

Regards

David Jordan

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


RE: [U2] [uv] SBClient - vt220 CHAR mode - How to colors ?

2007-09-20 Thread David Murray
Manu,

OKies,

There is an ANSI colour/color option within the SBClient VT220
configuration:

Menus - 

SetupTerminalEmulation: VT200Configure buttonANSI Color tick box

Cheers,

David Murray


.learn and do
.excel and share
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Manu Fernandes
Sent: Thursday, September 20, 2007 12:23 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] [uv] SBClient - vt220 CHAR mode - How to colors ?

Hi,

Precision, I do'nt login into SB+, I do'nt use it !
I'll use SBClient like a character based term emulator without SB+.
SB+ interface is the next step ~future not defined.

Thanks for help
Manu

- Original Message - 
From: David Murray [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Sent: Thursday, September 20, 2007 1:19 PM
Subject: RE: [U2] [uv] SBClient - vt220 CHAR mode - How to colors ?


 Manu,

 What terminal definition have you setup within SB+ for the user/port?

 Definition VT220 in SB+ does not support colour.

 Definition TU.VT220 does support colour.

 You may have to tweak one of the existing SB+ terminal definitions to get
 the correct functionality required.

 Cheers,

 David Murray

 .learn and do
 .excel and share

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Manu Fernandes
 Sent: Thursday, September 20, 2007 4:28 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] [uv] SBClient - vt220 CHAR mode - How to colors ?

 Hi all,

 I've a project to convert a old PICK basic application to Universe/NT.
 I want to use SBClient in character mode, with vt220 terminal emulation.

 (We build new modules with SB+.)

 In BASIC, I convert colors sequences like background black from @(-40) 
 to
 @(-38,0) and so on for all colors.

 But SBClient don't display any colors 

 Is there someone with experience or any advice 

 Thanks.
 Manu
 ---
 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/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/