Re: Settings using PuTTy

From: Boban Acimovic <acim(at)mbl(dot)is>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Settings using PuTTy
Date: 2001-12-13 17:28:39
Message-ID: 1008264519.28162.12.camel@acim.mbl.is
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

BTW, I am using OpenSSH server (Solaris 6, 7, 8) and client (Linux - KDE
- konsole) and I have the same problem with psql. So, this is not
specific to PuTTy. This must be possible to fix completely with TTY
settings, but I never had time to check this further out. Besides, I am
not using psql so often.

I didn't figure out how to get backspace and arrow keys to work
correctly, but I can help you to be able to delete at least.

In .bashrc (this file is in the home directory of your user on remote
machine) add this line:

stty erase ^?

This will make Ctrl-h to behave just like backspace. This is old UNIX
delete key used by vi as well. The right solution is to fix psql to
behave just like other modern UNIX console software.

Regards,
Boban Acimovic
www.mbl.is

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Lamar Owen 2001-12-13 22:50:55 Re: Settings using PuTTy
Previous Message Miguel Gonzalez 2001-12-13 17:14:49 Re: Settings using PuTTy