Originally Posted by
2many2count
Ok, I found the problem. As WW said, it was a formatting issue. I have two PCs, one running desktop and the other server. I was using Gedit for my makefile editing on my desktop pc and the makefile worked fine. I had to use nano on my server box.
sshfs is great for remote editing:
Code:
sshfs lars@nostdal.org:/ ~/mounts/nostdal.org
cd ~/mounts/nostdal.org/home/lars/public_html
gedit index.html
~/mounts/nostdal.org is just a directory i use as a mount-point in my home-folder as you see .. (i watch DVD movies from my server over the wireless network using this btw.)
you use fusermount -u -z ~/mounts/nostdal.org to unmount
you can also execute a command remotely, like this:
Code:
lars@ibmr52:~$ ssh lars@nostdal.org gcc --version
gcc (GCC) 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
lars@ibmr52:~$
..so you can both edit and trigger compilation (execute scons -u) on a remote computer
Nano was inserting spaces for the tab. Is there a way to configure nano to use a tab instead of spaces for a tab? I used VI (yuck) and fixed the problem.
that's weird; i tried nano here just now (ubuntu feisty) and it inserts a tab-character (0x09) when i press tab .. the -E argument to nano converts tabs to spaces but that's probably not the problem
Bookmarks