Advertisement
NolanSyKinsley

Untitled

Sep 27th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.23 KB | None | 0 0
  1. <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.
  2. <pango> that must be xterm, so it uses traditional X way of copy&paste
  3. <NolanSyKinsley> nope
  4. * PomMyGoDN-pom has quit (Client Quit)
  5. <pango> which is select by left (begin) and right (end) click or left drag, and middle button for paste
  6. <NolanSyKinsley> that is a negative ghost rider
  7. <NolanSyKinsley> CTRL+Shift+C/V does not work either
  8. <pango> that's an IBM standard that didn't exist at the time (or was not followed)
  9. <NolanSyKinsley> right clicking does not even bring up any menu
  10. <NolanSyKinsley> at the time? this is 2014
  11. <pango> nope, it's use to end selection
  12. <pango> xterm was developed at the beginning of the '80s
  13. <NolanSyKinsley> I am fairly sure this is not xterm
  14. <pango> just check what's running then
  15. <NolanSyKinsley> alas, if it were, your suggestion of commands would surely work
  16. <NolanSyKinsley> and how would I go about that?
  17. <NolanSyKinsley> http://i.imgur.com/Or1Ptpr.png it says bash2
  18. <pango> yup, the shell running into it can set the window title
  19. <pango> using an ANSI sequence
  20. <pango> but it seems to be xterm alright
  21. <pango> > ps ax|grep '[x]term'
  22. <pango> 28426 pts/11 S+ 0:00 xterm -e /home/petchema/.PlayOnLinux//tmp/env_bash2 -T PlayOnLinux
  23. <Crendgrim> It also behaves like you described for me.
  24. <pango> internally it's driven by the $POL_TERM variable
  25. <pango> if you check lib/variables,
  26. <pango> if [ "$DEBIAN_PACKAGE" = "TRUE" ]; then
  27. <pango> export POL_TERM="x-terminal-emulator"
  28. <pango> else
  29. <pango> export POL_TERM="xterm"
  30. <pango> fi
  31. <Crendgrim> So one could replace that for any terminal emulator?
  32. * mrse7en-pol (~PlayOnLin@123.22.157.181) has joined #playonlinux
  33. * PlayOnLinux gives voice to mrse7en-pol
  34. <pango> as long as it accepts the same arguments
  35. <pango> namely -e and -T, at least
  36. <Crendgrim> hm, of course.
  37. <pango> see bash/expert/PolShell
  38. <pango> yes, but just the two possibilities above were troublesome already
  39. * mrse7en-pol has quit (Client Quit)
  40. <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
  41. <pango> (xterm and x-terminal-emulator)
  42. <pango> I don't remember the details exactly, but for one -e would take the next argument as the command to run
  43. <Crendgrim> I replaced "xterm" with "konsole" and xterm started. Heh.
  44. <pango> while for the other it was all the arguments after it, up the end of line
  45. <pango> so now the command is encapsulated into a script and the name of the script given to -e, so it doesn't matter
  46. <NolanSyKinsley> yea, x-terminal-emulator is what I am used to using
  47. <pango> still, such subtle differences are troublesome
  48. <NolanSyKinsley> wait...
  49. <Crendgrim> Hm
  50. <pango> so it's hard to support all existing terminal emulators if there's no standard way to communicate with them :/
  51. <NolanSyKinsley> the thing you just said.....
  52. <NolanSyKinsley> <pango> if [ "$DEBIAN_PACKAGE" = "TRUE" ]; then
  53. <NolanSyKinsley> <pango> export POL_TERM="x-terminal-emulator"
  54. <Crendgrim> Even if I replace $POL_TERM in bash/expert/PolShell with "konsole", it starts xterm.
  55. <NolanSyKinsley> I am on debian so it should use x-terminal-emulator
  56. <pango> aha, there's an xterm hardcoded in lib/playonlinux.lib too :/
  57. <pango> lib/playonlinux.lib: xterm -e "$POL_USER_ROOT/tmp/env_bash2" -T "$APPLICATION_TITLE"
  58. <pango> which looks awfully lot like the one used
  59. <Crendgrim> hah
  60. <pango> and another
  61. <pango> lib/playonlinux.lib: SUDO_COMMAND="xterm -e sudo"
  62. <NolanSyKinsley> is there a place I can submit bug reports to get this properly fixed?
  63. <NolanSyKinsley> this has annoyed me for years....
  64. <pango> there's a bugtracker on playonlinux.com
  65. <NolanSyKinsley> I.... never really go there...
  66. <pango> also the project is hosted on github, so one can submit merge requests
  67. <NolanSyKinsley> egads
  68. <NolanSyKinsley> no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement