File: remote-tcl

package info (click to toggle)
emacspeak 11.0-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,796 kB
  • ctags: 2,652
  • sloc: lisp: 25,857; sh: 856; makefile: 550; tcl: 474; perl: 266; cpp: 109
file content (51 lines) | stat: -rwxr-xr-x 1,843 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/sh
#$Id: remote-tcl,v 11.0 1999/11/29 16:58:57 raman Exp $
#Description: Launch a dectalk driver on a remote host.
# {{{  documentation

# Running dectalk driver remotely.

# This will have to be polished up, but I've beaten on it  and it appears to
# work like a charm.

# Appended below is a simple shell script that you should save as remote-tcl in
# the emacspeak directory.

# Having done so, when you launch a terminal and log in to another machine,
# a) Make sure the other machine can rsh to your desktop machine.
# (you may have to create a .rhosts appropriately depending on your network
# configuration)

# b) For now edit script remote-tcl and replace labrador by the name of your
# desktop machine. (eventually we'll get this from the environment)
# Also, make sure the pathname to tcl is correct for your environment.


# c) set the environment variable DTK_TCL to the complete pathname of the script
# remote-tcl.

# d) Make sure remote-tcl is executable --for safety just run it by hand first.

# e) If all goes well, launch emacs with emacspeak loaded on the remote machine,
# and turn off speech locally on the local emacspeak sesion in the terminal
# buffer by pressing C-e d q.

# Now, the remote emacspeak session will talk as if it were running locally.
# Note: when you switch buffers in the local emacspeak you'll get speech back
# since we only turned it off in the local eterm buffer.

# All of this works, but you'll have to think "local" and "remote" carefully.

# Also, remember that you will have to send C-e C-e twice for the remote
# emacspeak to see it once.

# Once all this gets robust I'll provide a way for you to switch the C-e prefix
# on a running emacspeak to something else e.g. C-r for the remote guy.

# Now for the script--

# }}}
remote=labrador
tcl=/usr/local/bin/tcl

rsh $remote $tcl $1