All Questions
Tagged with postgresql terminal
4
questions
1
vote
1answer
213 views
psql output in Debian is messed up
Width of the terminal window is 280 columns, and Debian prints text just fine.
However, psql output is totally messed up. When I type a command, it's not wrapped: if I exceed 80 symbols in a line, ...
0
votes
1answer
348 views
How to run command after entering postgres
I am trying to execute ls after opening a new Guake tab and logging into postgres.
guake -n guake -e 'sudo -i -u postgres && ls'
The command successful opens a new tab then prompts me for my ...
0
votes
1answer
655 views
Psql: Not a directory
I found my psql folder typing :
$ which psql
/usr/bin/psql
But when I Tried get in I got this:
where I am:
root@localhost:/usr/bin#
$ cd psql
-bash: cd: psql: Not a directory
I can see the folder ...
2
votes
1answer
1k views
Passing escape sequences to shells within ansi-term in Emacs
In a regular terminal (e.g. iTerm2 on OS X) I can connect to a database, e.g.
> psql ....
and then, as I type my command in psql, e.g.
$ select foo from bar
I can move around (as I type psql ...