<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/gmd/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/gmd/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/gmd/feature-requests/</id><updated>2014-06-23T10:47:32.267000Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>windows shell port with simple code proposition</title><link href="https://sourceforge.net/p/gmd/feature-requests/3/" rel="alternate"/><published>2014-06-23T10:47:32.267000Z</published><updated>2014-06-23T10:47:32.267000Z</updated><author><name>Michal Grodzki</name><uri>https://sourceforge.net/u/mgrodzki1/</uri></author><id>https://sourceforge.netacc3ba5de4d86096fd599cd851d49d317f05d22c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I touched the following code and it seems that it works on my windows7 shell.&lt;br /&gt;
Maybe it is worth adding to repository.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;ifeq&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;notdir&lt;/span&gt; &lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ComSpec&lt;/span&gt;&lt;span class="p"&gt;)),&lt;/span&gt;&lt;span class="n"&gt;cmd&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;exe&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="n"&gt;__PROMPT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;shell&lt;/span&gt; &lt;span class="n"&gt;setlocal&lt;/span&gt; &lt;span class="n"&gt;enabledelayedexpansion&lt;/span&gt; \
    &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;__HISTORY&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;^&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt; \
    &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;not&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;==&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;input&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;echo&lt;/span&gt;&lt;span class="p"&gt;.)&lt;/span&gt;
&lt;span class="k"&gt;else&lt;/span&gt;
  &lt;span class="n"&gt;__PROMPT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="err"&gt;$&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;shell&lt;/span&gt; &lt;span class="n"&gt;read&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;$(__HISTORY)&amp;gt; &amp;quot;&lt;/span&gt; &lt;span class="n"&gt;CMD&lt;/span&gt; &lt;span class="n"&gt;ARG&lt;/span&gt; &lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;echo&lt;/span&gt; &lt;span class="err"&gt;$$&lt;/span&gt;&lt;span class="n"&gt;CMD&lt;/span&gt; &lt;span class="err"&gt;$$&lt;/span&gt;&lt;span class="n"&gt;ARG&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;endif&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Michal&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>newline separated printing of variables?</title><link href="https://sourceforge.net/p/gmd/feature-requests/2/" rel="alternate"/><published>2007-01-11T07:25:08Z</published><updated>2007-01-11T07:25:08Z</updated><author><name>John Orr</name><uri>https://sourceforge.net/u/qpkorr/</uri></author><id>https://sourceforge.net14af715f2b87d112d863ec91bf4a0ac95059cbcf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I was recently needing to see examine the variable MAKEFILE_LIST as it was being built up.&lt;br /&gt;
The default way of printing it - with "v" - makes it a little hard to follow exactly what it contains, since it's just a space separated list.&lt;/p&gt;
&lt;p&gt;I felt it would be easier to view it as a newline separated list, so I changed the __DEBUG command to that below.  I, at least, like the option this provides. (Hmmm - note that since this uses the info function it's not so compatible with older make implementations!)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
John Orr&lt;/p&gt;
&lt;p&gt;__DEBUG =  $(eval __c = $(strip $1))                                                 \
$(eval __a = $(strip $2))                                                 \
$(if $(call seq,$(__c),c),                                                \
$(true),                                                               \
$(if $(call seq,$(__c),q),                                             \
$(error Debugger terminated build),                                  \
$(if $(call seq,$(__c),v),                                           \
$(warning $(__a) has value '$($(__a))'),                           \
$(if $(call seq,$(__c),V),                                         \
$(warning $(__a) has newline-separated value:)                   \
$(foreach w,$($(__a)),$(info $w)),                               \
$(if $(call seq,$(__c),d),                                       \
$(warning $(__a) is defined as '$(value $(__a))'),             \
$(if $(call seq,$(__c),o),                                     \
$(warning $(__a) came from $(origin $(__a))),                \
$(if $(call seq,$(__c),b),                                 \
$(call __BP_SET,$(__a)),                                 \
$(if $(call seq,$(__c),r),                                 \
$(call __BP_UNSET,$(__a)),                               \
$(if $(call seq,$(__c),l),                                 \
$(call __BP_LIST),                                       \
$(if $(call seq,$(__c),h),                                   \
$(warning c:     continue)                                 \
$(warning q:     quit)                                     \
$(warning v VAR: print value of $$(VAR))                   \
$(warning V VAR: print newline-separated value of $$(VAR)) \
$(warning o VAR: print origin of $$(VAR))                  \
$(warning d VAR: print definition of $$(VAR))              \
$(warning b TAR: set a breakpoint on target TAR)           \
$(warning r TAR: unset breakpoint on target TAR)           \
$(warning l:     list all target breakpoints),             \
$(warning Unknown command '$(__c)')))))))))))&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>breakpoint help during prompt</title><link href="https://sourceforge.net/p/gmd/feature-requests/1/" rel="alternate"/><published>2006-05-04T05:27:21Z</published><updated>2006-05-04T05:27:21Z</updated><author><name>Semih Cemiloglu</name><uri>https://sourceforge.net/u/semihc/</uri></author><id>https://sourceforge.net111078137937b06b8efc919aee1fad8e09cca626</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;At the breakpoint prompt &lt;br /&gt;
"?" and "help" should also be accepted in addition &lt;br /&gt;
to "h" since these are the de-facto standards.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>