Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2021-08-07 18:59:05 +0300
committerSimon Tatham <anakin@pobox.com>2021-08-07 19:08:19 +0300
commit9983ff53d5a3d59d58030be0cd46a30eb5da5abc (patch)
treeec0066e630815492d5140238c27f9142967433a4 /doc
parent84175f4aeafab4e66ae9b0429adbe0de62ffd2b1 (diff)
psusan manpage: add a PATH to the UML example.
Ian Jackson observes that if PATH is not set in the environment, current versions of bash will pick a default one that has "." as the last directory, which is generally considered a terrible idea: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991959 Work around this by specifying a more sensible default in our example script, per Ian's suggestion in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991960
Diffstat (limited to 'doc')
-rw-r--r--doc/man-psusan.but3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/man-psusan.but b/doc/man-psusan.but
index fa986e88..0ecb5ca9 100644
--- a/doc/man-psusan.but
+++ b/doc/man-psusan.but
@@ -191,6 +191,9 @@ And the setup script \cw{uml-psusan.sh} might look like this:
\c # Choose what shell you want to run inside psusan
\e iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
\c export SHELL=/bin/bash
+\c # Set up a default path
+\e iiiiiiiiiiiiiiiiiiiiiii
+\c export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
\c # And now run psusan over the serial port
\e iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
\c exec /home/simon/src/putty/misc/psusan