Collaborative Emacs: Difference between revisions

From XPUB & Lens-Based wiki
(Update list styling)
(Fill in template for joining a session)
Line 5: Line 5:
## Enter your password
## Enter your password
# Open emacs:
# Open emacs:
## Use <emacs> to enter emacs
## Enter <code>emacs</code>
# <b>IF THIS IS YOUR FIRST TIME COLLABORATING THROUGH EMACS:</b> Install ...
# <b>IF THIS IS YOUR FIRST TIME COLLABORATING THROUGH EMACS:</b> Install the CRDT package
## Press <code>Alt+X</code>
## If you are using MacOS, perform the following steps. Otherwise, skip to (3.2)
##
### Go to terminal settings
### Go to profile
### Check the box 'Use Option as Meta Key'
## Press <code>Alt+X</code> (Mac <code>Option+X</code>)
## Enter <code>package-install</code>
## Enter <code>crdt</code>
# <b>IF YOU ARE THE HOST OF THE SESSION:</b>
# <b>IF YOU ARE THE HOST OF THE SESSION:</b>
## Press <code>Alt+X</code>
## Press <code>Alt+X</code>
Line 14: Line 19:
# <b>IF YOU ARE JOINING A SESSION:</b>
# <b>IF YOU ARE JOINING A SESSION:</b>
## Press <code>Alt+X</code>
## Press <code>Alt+X</code>
## Use <crdt>
## Use <code>crdt-connect</code>
## For URL, enter:  
## For URL, enter: <code>localhost:6530</code>
# For Display, enter:
# For Display, enter: <code>USERNAME</code>
# Select the the file you want to work on:
## Use the arrow keys to move to the file you want to work on
## Press enter


You should now be able to collaborate!
You should now be able to collaborate!


[[Category:Protocol]]
[[Category:Protocol]]

Revision as of 15:44, 26 September 2023

==

  1. Connect to the server:
    1. USERNAME@145.24.139.16
    2. Enter your password
  2. Open emacs:
    1. Enter emacs
  3. IF THIS IS YOUR FIRST TIME COLLABORATING THROUGH EMACS: Install the CRDT package
    1. If you are using MacOS, perform the following steps. Otherwise, skip to (3.2)
      1. Go to terminal settings
      2. Go to profile
      3. Check the box 'Use Option as Meta Key'
    2. Press Alt+X (Mac Option+X)
    3. Enter package-install
    4. Enter crdt
  4. IF YOU ARE THE HOST OF THE SESSION:
    1. Press Alt+X
  5. IF YOU ARE JOINING A SESSION:
    1. Press Alt+X
    2. Use crdt-connect
    3. For URL, enter: localhost:6530
  6. For Display, enter: USERNAME
  7. Select the the file you want to work on:
    1. Use the arrow keys to move to the file you want to work on
    2. Press enter

You should now be able to collaborate!