File gnome-terminal-nautilus-sshprompt.patch of Package gnome-terminal.openSUSE_13.1_Update

From 86562c941b298a35cb7bed51ffe771eb1a145de3 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Thu, 21 Nov 2013 19:31:02 +0100
Subject: [PATCH] terminal-nautilus: initiate ssh with -t

If not done, then most of the time no tty is allocated and users
are presented with a terminal which went perfectly to the directory
requested, but as there is no prompt presented, it appears to be
hanging there.
---
 src/terminal-nautilus.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/terminal-nautilus.c b/src/terminal-nautilus.c
index 4048a94..28290ac 100644
--- a/src/terminal-nautilus.c
+++ b/src/terminal-nautilus.c
@@ -238,9 +238,10 @@ ssh_argv (const char *uri,
 
   g_assert (uri != NULL);
 
-  argv = g_new0 (char *, 8);
+  argv = g_new0 (char *, 9);
   argc = 0;
   argv[argc++] = g_strdup ("ssh");
+  argv[argc++] = g_strdup ("-t");
 
   file = g_file_new_for_uri (uri);
   parse_sftp_uri (file, &user_name, &host_name, &host_port, &path);
-- 
1.8.4.2

openSUSE Build Service is sponsored by