Skip to content

Can not correctly paste multi line SQL statement under the sqlplus tool through XTERMJS #4372

Answered by jerch
rysinal asked this question in Q&A
Discussion options

You must be logged in to vote

Most cmdline REPLs use NL as a command separator, thus cannot be fed from multiline commands directly. Most likely you'd have to resemble the command into one big line, or into smaller pieces. Yes the numbers look like sqlplus answers line input with a line number, but since you entered the lines "at once", the screen state gets scrambled and numbers are appended at the end.
This is not an issue of the terminal (as you showed with vim), but how your app tries to interact with you. If anything, ask in sqlplus help forums.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Tyriar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
invalid type/question A question on how to use the library
2 participants
Converted from issue

This discussion was converted from issue #4371 on January 18, 2023 15:32.