This bug is actual for fp from fpc package. xfce4-terminal do not allow you to know what is already on the screen. https://bugs.freepascal.org/view.php?id=34724 lxterminal works fine.
Hi, I've looked at the fp bug but I don't understand what "allow you to know what is already on the screen" means. The issue might be related to vte: lxterminal is using an older (gtk2) version of vte (which is no longer supported) while xfce4-terminal has migrated to the up-to-date version. I don't know what vte features that aren't there fp is trying to use. Egmont, if you're reading this - do you have any idea? Thanks!
I didn't want to be the first to comment :) but no, I don't understand it either. Probably it's boils down to a difference between gtk2 and gtk3 based vte, but there's a slim chance it's the other way around (with older xfce4-terminal, and gtk3-based lxterminal). Then we'd need to get the output, probably using script(1), and compare in the two cases. If it's different, a difference in $TERM (e.g. xterm vs. xterm-256color) could also trigger a different behavior. ManFree, could you please give us the version of both terminal emulators, as well as the output of echo $VTE_VERSION and echo $TERM in them? Does it work in xterm? Also, please run "script", followed by whatever freepascal program that triggers the problem, then type "exit" to quit script, and then attach the resulting "typescript" file. I can't think of any potentially relevant feature that was dropped from VTE during these years. Reading back the contents is not allowed (and never was in VTE, as far as I know) due to security reasons, and is hardly allowed in any other terminals. It could be a problem with saving/restoring the cursor, a bug in VTE 0.54.0 and 0.54.1 (https://gitlab.gnome.org/GNOME/vte/issues/48). Or it could be whatever else that I'm not thinking of right now...
Hi ManFree, any comments?
The first test. OK: lxterminal --version lxterminal 0.3.0 NOT OK: xfce4-terminal --version xfce4-terminal 0.8.7.4 (Xfce 4.12) NOT OK: xterm -version XTerm(325) echo $VTE_VERSION (nothing) echo $TERM xterm-256color NOT OK: urpmq --sourcerpm vte vte: vte-0.28.1-14.src.rpm The second test. OK: LXTerminal 0.1.11 OK: xfce4-terminal 0.6.3 NOT OK: xterm -version XTerm(312) do not switch on shell, output is inside fp echo $VTE_VERSION (nothing) echo $TERM xterm OK: vte-0.28.2-15.mga5.i586
What are these first and second tests? How are we supposed to reproduce?
No reply - closing.