diff --git a/doc/index.html b/doc/index.html
index ef3f0cf..2f880e9 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -88,7 +88,11 @@ should probably be under /sdcard.
/system/bin/sh, but you may prefer to use the one that comes with
busybox or whatever. If you set it to the su binary (i.e.,
/system/xbin/su), then scp, sftp, and rsync will run as root and
-should be able to access files outside of the sdcard.
+should be able to access files outside of the sdcard. If the name of the
+shell contains "su" in it, instead of putting "-" before argv[0] to
+indicate the login shell, it puts "-" as argv[1]. That is, a regular
+login shell would be invoked as "-sh", but su will be invoked as
+"su -".
Buffer hack for rsync+SuperSU
A bug in SuperSU interacts with an infelicity in rsync to cause an
@@ -111,6 +115,13 @@ The options which are hardcoded are:
You can use \ or " to escape characters in this
commandline.
+Environment Variables
+You can specify environment variables to define before executing the
+shell. There is one variable per line, with a "name=value" format.
+A common use would be "ENV=/sdcard/ssh/.profile", if your device has a
+build of mksh that does not execute a .profile
+automatically.
+
Frequently Asked Questions
@@ -145,6 +156,9 @@ harmless.
Change Log
+- 2018/05/16 Version 18: Use correct idiom for su as a
+login shell (so busybox su can work). Add environment variables
+to setting.
- 2018/03/24 Version 17: Add native x86 support.
- 2017/10/28 Version 16: Fix rsync on Android 8.0 (Oreo).
- 2016/10/17 Version 15: Fix crash on pre-Nougat versions of Android.