Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Allow setting of gherkin terminal size using zos3270.gherkin.terminal.rows and zos3270.gherkin.terminal.columns, or in the gherkin scenario itself. #962

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

techcobweb
Copy link
Contributor

@techcobweb techcobweb commented Jul 26, 2024

Signed-off-by: Mike Cobbett [email protected]

Why ?

See story galasa-dev/projectmanagement#1708

….rows and zos3270.gherkin.terminal.columns, or in the gherkin scenario itself.

Signed-off-by: Mike Cobbett <[email protected]>
@galasa-team
Copy link
Contributor

Build successful

int rows ;
rows = getNumericCPSProperty("zos3270.gherkin.terminal.rows",DEFAULT_TERMINAL_ROWS,rowsStepParameter);
columns = getNumericCPSProperty("zos3270.gherkin.terminal.columns",DEFAULT_TERMINAL_COLUMNS,rowsColumnParameter);
logger.info("Preferred terminal size is "+Integer.toString(rows)+" x "+Integer.toString(columns));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rows and columns might need swapping for this log message - for example with 24 rows and 80 columns, this would read as 24 x 80 instead of 80 x 24

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do wonder whether mainframers use 24x80

This is from host on demand:
image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adam Coulthard

Its normally 24 x 80 rows and columns

@galasa-team
Copy link
Contributor

Build successful

@techcobweb techcobweb merged commit 6339d68 into main Jul 26, 2024
6 checks passed
@techcobweb techcobweb deleted the mcobbett-1708-cps-controls-gherkin-terminal-size branch July 26, 2024 15:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants