Re: pasting into psql garbles text

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: pasting into psql garbles text
Дата
Msg-id b42b73150906271126n7fad32d4l2ae4a7e897d589f1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pasting into psql garbles text  (Greg Stark <gsstark@mit.edu>)
Ответы Re: pasting into psql garbles text  (Greg Stark <gsstark@mit.edu>)
Re: pasting into psql garbles text  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Sat, Jun 27, 2009 at 1:38 PM, Greg Stark<gsstark@mit.edu> wrote:
> On Sat, Jun 27, 2009 at 6:19 PM, Merlin Moncure<mmoncure@gmail.com> 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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Leif B. Kristensen"
Дата:
Сообщение: Re: pasting into psql garbles text
Следующее
От: Greg Stark
Дата:
Сообщение: Re: pasting into psql garbles text