Commit 0ff9ea4f authored by Russ Fish's avatar Russ Fish

Windows tweaks.

parent 23796494
......@@ -88,7 +88,9 @@ elsif (WINDOWS()) {
"rc.keys", "rc.mounts",
"rc.accounts", "rc.topomap",
"rc.route", "rc.ifconfig",
"rc.hostnames", ##"rc.syncserver", "rc.progagent",
"rc.hostnames", "rc.syncserver",
# rc.progagent is run by a separate service named ProgAgent.
# It's started by EmulabStartup after rc.bootsetup runs.
"rc.tarfiles", "rc.rpms",
"rc.startcmd"
);
......
......@@ -63,13 +63,14 @@
;================================================================
;; Compilation key bindings.
(global-set-key "\^CE" 'compile) ; ^C shift-e
(global-set-key "\^CN" 'next-error) ; ^C shift-n
(global-set-key "\^CP" 'previous-error) ; ^C shift-p
;(global-set-key "\^CK" 'kill-compilation) ; ^C shift-k
(global-set-key "\^C}" 'compilation-next-file) ; ^C shift-[
(global-set-key "\^C{" 'compilation-previous-file) ; ^C shift-]
(global-set-key "\^CE" 'compile) ; ^C shift-e
(global-set-key "\^CN" 'next-error) ; ^C shift-n
(global-set-key "\^CP" 'previous-error) ; ^C shift-p
;(global-set-key "\^CK" 'kill-compilation) ; ^C shift-k
(global-set-key "\^C}" 'compilation-next-file) ; ^C shift-[
(global-set-key "\^C{" 'compilation-previous-file) ; ^C shift-]
(global-set-key "\^CG" 'gdb) ; ^C shift-g for debugger, then
; ^X space to set breakpoints.
(defun make-this-file-writable ()
"Use this when you want to edit a read-only file. Changes the file permissions,
and marks the read-only buffer writable."
......
......@@ -230,7 +230,10 @@ sub os_ifconfig_line($$$$$$$;$$)
if ($inet ne "") {
$uplines .= sprintf($IFCONFIG, $iface, $inet, $mask);
$downlines = "$IFCONFIGBIN $iface down";
# No $downlines... Can't disable an interface???
# The command "netsh interface set interface name=... DISABLED"
# is specified as only for non-LAN interfaces.
}
return ($uplines, $downlines);
......
......@@ -42,7 +42,7 @@ if [ -z "$pswd" ]; then
fi
echo "Connecting Z: to //$host as $user."
if ! net use Z: '\\'$host'\'$user "$pswd" /user:$user /persistent:no; then
if ! net use Z: '\\'$host'\'$user "$pswd" /user:$host'\'$user /persistent:no; then
echo "Connection failed."
else
# Show network mount status.
......
......@@ -400,26 +400,31 @@ Some details remain to be documented: <br>
<ul>
<li> Home dirs are on <code>//fs</code> via SMB(Windows Client, Samba server)
<li> Home dirs and other shared directories are on <code>//fs</code>
via SMB(Windows Client, Samba server)
<ul>
<li> Cygwin/UNC mounts of Windows Shares under <code>/users</code>,
<code>/proj</code>, <code>/share</code>. The Cygwin
<code>/proj/&lt;pid&gt;</code>,
<code>/group/&lt;pid&gt;/&lt;gid&gt;</code>,
<code>/share</code>. The Cygwin
<code>mount</code> command shows what you can access. </li>
<li> <code>/share/windows</code> contains Windows software.
See <code>/share/windows/README.bin</code> for descriptions
of binary packages available for installation. </li>
<li> Can put <code>\\fs\&lt;share_name&gt;</code> into the Windows
Explorer "Address". These shares are marked not browsable, so
just <code>\\fs</code> shows little. </li>
</ul> </li>
<li> Shared directories: <code>/share</code>,
<code>/proj/&lt;pid&gt;</code>,
<code>/group/&lt;pid&gt;/&lt;gid&gt;</code>. </li>
<li> Bug: One protection mask for everything in a whole mount/share under
SMB. </li>
<li> Misfeature: There is only protection mask for everything in a whole
mount/share under SMB. It's set in the "share properties" on the
server (Samba config file in this case) so chmod will do you no
good. </li>
</ul>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment