gnuserv
I just figured out to keep a running emacs session on my server and connect to it remotely whenever I want without shutting it down. That means that I can keep it running all the time, work on my powerbook, disconnect and go home, come back to work the next day, reconnect and continue on from where I left off. It's really cool and it's going to allow be to be much more productive when I work from my powerbook.
Download gnuserv for gnu emacs, build and install it, copy the .el files to your emacs directory, and load gnuserv-compat.el. Then just type gnuserv-start on your server.
On another computer ssh over to your server and type gnuclient. There you are, it's the same session, try opening a couple of files, shutting down gnuclient, and reconnecting. They will still be there. But make sure not to go through the normal emacs shutdown C-x C-c because it will shutdown your server too. Think of gnuclient as just another frame.
Download gnuserv for gnu emacs, build and install it, copy the .el files to your emacs directory, and load gnuserv-compat.el. Then just type gnuserv-start on your server.
On another computer ssh over to your server and type gnuclient. There you are, it's the same session, try opening a couple of files, shutting down gnuclient, and reconnecting. They will still be there. But make sure not to go through the normal emacs shutdown C-x C-c because it will shutdown your server too. Think of gnuclient as just another frame.
2 Comments:
Or you could just use 'screen' and get all that functionality and more.
Yeah, screen is cool, but it's only text mode. Only weird people prefer text mode emacs to X mode emacs. :-)
Post a Comment
<< Home