about summary refs log tree commit diff stats
path: root/code/fm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'code/fm.rb')
-rw-r--r--code/fm.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/code/fm.rb b/code/fm.rb
index ba33279a..0f2893b3 100644
--- a/code/fm.rb
+++ b/code/fm.rb
@@ -84,6 +84,13 @@ module Fm
 		$VERBOSE = old_verbose_level
 	end
 
+	def dump_pwd_to_3()
+		f = File.open(3, 'a')
+		f.puts(Fm.pwd.path)
+#		f.puts(Fm.pwd.path.bash_escape)
+		f.close
+	end
+
 	def boot_up(pwd=nil)
 		pwd ||= @pwd.path || Dir.getwd
 		Scheduler.reset