[TxMt] rmate not saving when the remote file does exist

Yvon Thoraval yvon.thoraval at gmail.com
Fri Sep 7 12:55:06 UTC 2012


I've installed rmate on a remote server although I'm able to create a new
file on this server, when doing some modification on an existing file, they
aren't saved after the saving and closing on the TextMate side.

The server is running Xubuntu 12.04, ruby 1.9.3 has been installed using
rvm.

the remote file perms are :
-rwxrw-r-- 1 yt yt 455 sept.  6 16:59 menu.zsh

what i did :

$ ssh dell-par
Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-30-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

Last login: Fri Sep  7 09:18:50 2012 from
2a01:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:2559
Linux D620 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
 14:49:17 up  5:38,  2 users,  load average: 0.11, 0.29, 0.56
yt at D620 /home/yt $ rmate bin/menu.zsh

yt at D620 /home/yt $ cat bin/menu.zsh
#!/usr/bin/zsh

MENU_DIR=${HOME}/bin/scripts
MENU_ITEMS=(`ls ${MENU_DIR}`)

while (( 1 > 0 )) {
i=0
while (( i++ < ${#MENU_ITEMS} )) {
echo "${i} -> ${MENU_ITEMS[i]:r}"
}
echo "${i}|q -> quit"
echo -n "Entrez un nombre de 1 à ${i} (ou q pour quitter). : "
read NUM
if [[ ${NUM} -eq ${i} || ${NUM} == "q" ]]; then
echo "bye!"
exit 0
else
echo "Vous avez choisi '${MENU_ITEMS[${NUM}]:r}'."
${MENU_DIR}/${MENU_ITEMS[${NUM}]}
fi
}
exit $?
yt at D620 /home/yt $


my local ~/.ssh/config file :

$ cat ~/.ssh/config
Host dell-par
User yt
Hostname 2a01:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:a960
RemoteForward 52698 127.0.0.1:52698

Host dell-pal
User yt
Hostname 2a01:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:a960
RemoteForward 52698 127.0.0.1:52698

Host gericom
User yt
Hostname  2a01:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:a07b
RemoteForward 52698 127.0.0.1:52698


also i wonder if it is usefull to put "RemoteForward 52698 127.0.0.1:52698"
for each host.

best

-- 
Yvon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20120907/6bffc13e/attachment.html>


More information about the textmate mailing list