Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <NolanSyKinsley> If there are any PoL devs here, I really love the work you do but I have one major gripe. When you open a shell for a wine prefix for some reason your shell emulator does not allow copying or pasting, which in my opinion is a MAJOR fault. Many times I have needed to insert a lengthy command or need to copy information gathered from the shell and it is simply impossible, and I see no reason why it should be that way.
- <pango> that must be xterm, so it uses traditional X way of copy&paste
- <NolanSyKinsley> nope
- * PomMyGoDN-pom has quit (Client Quit)
- <pango> which is select by left (begin) and right (end) click or left drag, and middle button for paste
- <NolanSyKinsley> that is a negative ghost rider
- <NolanSyKinsley> CTRL+Shift+C/V does not work either
- <pango> that's an IBM standard that didn't exist at the time (or was not followed)
- <NolanSyKinsley> right clicking does not even bring up any menu
- <NolanSyKinsley> at the time? this is 2014
- <pango> nope, it's use to end selection
- <pango> xterm was developed at the beginning of the '80s
- <NolanSyKinsley> I am fairly sure this is not xterm
- <pango> just check what's running then
- <NolanSyKinsley> alas, if it were, your suggestion of commands would surely work
- <NolanSyKinsley> and how would I go about that?
- <NolanSyKinsley> http://i.imgur.com/Or1Ptpr.png it says bash2
- <pango> yup, the shell running into it can set the window title
- <pango> using an ANSI sequence
- <pango> but it seems to be xterm alright
- <pango> > ps ax|grep '[x]term'
- <pango> 28426 pts/11 S+ 0:00 xterm -e /home/petchema/.PlayOnLinux//tmp/env_bash2 -T PlayOnLinux
- <Crendgrim> It also behaves like you described for me.
- <pango> internally it's driven by the $POL_TERM variable
- <pango> if you check lib/variables,
- <pango> if [ "$DEBIAN_PACKAGE" = "TRUE" ]; then
- <pango> export POL_TERM="x-terminal-emulator"
- <pango> else
- <pango> export POL_TERM="xterm"
- <pango> fi
- <Crendgrim> So one could replace that for any terminal emulator?
- * mrse7en-pol (~PlayOnLin@123.22.157.181) has joined #playonlinux
- * PlayOnLinux gives voice to mrse7en-pol
- <pango> as long as it accepts the same arguments
- <pango> namely -e and -T, at least
- <Crendgrim> hm, of course.
- <pango> see bash/expert/PolShell
- <pango> yes, but just the two possibilities above were troublesome already
- * mrse7en-pol has quit (Client Quit)
- <NolanSyKinsley> =/ so yea, it is xterm that is misbehaving on my distro, the instucted commands for copy/paste do not work at all even when I open xterm by itself
- <pango> (xterm and x-terminal-emulator)
- <pango> I don't remember the details exactly, but for one -e would take the next argument as the command to run
- <Crendgrim> I replaced "xterm" with "konsole" and xterm started. Heh.
- <pango> while for the other it was all the arguments after it, up the end of line
- <pango> so now the command is encapsulated into a script and the name of the script given to -e, so it doesn't matter
- <NolanSyKinsley> yea, x-terminal-emulator is what I am used to using
- <pango> still, such subtle differences are troublesome
- <NolanSyKinsley> wait...
- <Crendgrim> Hm
- <pango> so it's hard to support all existing terminal emulators if there's no standard way to communicate with them :/
- <NolanSyKinsley> the thing you just said.....
- <NolanSyKinsley> <pango> if [ "$DEBIAN_PACKAGE" = "TRUE" ]; then
- <NolanSyKinsley> <pango> export POL_TERM="x-terminal-emulator"
- <Crendgrim> Even if I replace $POL_TERM in bash/expert/PolShell with "konsole", it starts xterm.
- <NolanSyKinsley> I am on debian so it should use x-terminal-emulator
- <pango> aha, there's an xterm hardcoded in lib/playonlinux.lib too :/
- <pango> lib/playonlinux.lib: xterm -e "$POL_USER_ROOT/tmp/env_bash2" -T "$APPLICATION_TITLE"
- <pango> which looks awfully lot like the one used
- <Crendgrim> hah
- <pango> and another
- <pango> lib/playonlinux.lib: SUDO_COMMAND="xterm -e sudo"
- <NolanSyKinsley> is there a place I can submit bug reports to get this properly fixed?
- <NolanSyKinsley> this has annoyed me for years....
- <pango> there's a bugtracker on playonlinux.com
- <NolanSyKinsley> I.... never really go there...
- <pango> also the project is hosted on github, so one can submit merge requests
- <NolanSyKinsley> egads
- <NolanSyKinsley> no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement