On Sat, Jun 27, 2009 at 1:38 PM, Greg Stark<gsstark@xxxxxxx> wrote: > On Sat, Jun 27, 2009 at 6:19 PM, Merlin Moncure<mmoncure@xxxxxxxxx> wrote: >> I've noticed over a wide variety of operating systems that when you >> paste from an application into psql through a terminal (currently >> using the default gnome terminal in ubuntu) > > You should get yourself a real terminal. Even Ubuntu hides xterm away somewhere. I confirmed that xterm does not exhibit the issue. So this is at least partially a terminal problem. However, xterm does not directly accept pastes from wine clipboard apparently. it only works if I copy it to gedit first, then into xterm. The _only_ terminal application that exhibits this behavior is psql. specifically, vim does not. > What application are you pasting this text from? copy/paste in X > requires the application you're pasting from to be surprisingly > involved in the paste operation so perhaps it's behaving oddly. It doesn't matter the source application...it borks regardless if I copy from Source insight/wine (my normal editor), gedit, or another gnome terminal. However, only psql exhibits this issue. For example, when I use the buffer editor (mine is set to vim), everything pastes in normally. > Also, what version of readline, X, gnome-terminal, and whatever > application you're pasting from are you using? Source Insight/wine (or gedit, or whatever) GNOME gnome-terminal 2.24.1.1 X.Org X Server 1.5.2 libreadline5 5.2-3build1 merlin -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general