oracle - emacs on Windows + sql + ssh -


our university runs oracle database server. log in using campus username/password on ssh, rlwrap sqlplus automatically started , have log in again, database application, using username , password.

i use emacs on windows edit , run simple sql scripts on server. able edit files on other ssh servers using tramp, reason (most automatic launch of sqlplus) i'm not able on database server. emacs hangs tramp: waiting prompts remote shell.

i run interactive sql session in buffer, inserted code @ https://stackoverflow.com/a/17277015/1813487 .emacs appropriate modifications (namely, change occurrences of mysql oracle). when m-x sql-oracle, emacs hangs tramp: sending password.

is there way fix/configure this, or way convince admin disable automatic launch of sqlplus?


it may or may not important make tramp work re-compiling tramp.el suggested here. have little no knowledge of emacs lisp.

tramp-over-ssh works starting ssh session , sending shell commands. if ssh sessions can't run shell, won't able use tramp-over-ssh access remote files.

as starting sql emacs, way set sql-oracle-program script performs necessary commands, in case ssh <oracle-server>.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -