Thanks, kyak, that worked like a charm.  Now one can recall previous 
lines and make corrections or changes as needed.  

As an aside, in all my searching of the directory structure, I found 
another "calculator", dc, that is built but not packaged.  It is a 
reverse polish calculator that depends on bc.  I just copied the 
executable over to my Nanonote and it executes fine.  Found its man 
page on the web.  Yet another interesting tool on the Nanonote:)  I 
have used HP Reverse Polish Calculators for many years and find that 
notation natural by now.  

Thanks again for making this change available.  I hope there is a way 
to integrate it into the builds for the Nanonote.  Not being able to 
recall and correct is just not acceptable, especially with the small 
keyboard that must exist on a device as small as the Nanonote.  
Reducing keystrokes is always a "good idea"!  

                       Delbert





On Saturday 08 January 2011, kyak wrote:
> The change you requested is trivial, but very useful. The patch is attached.
> 
> However, bc belongs to OpenWrt packages and there are two options to make 
> this change for everyone: push this change upstream or override bc from qi's 
> openwrt-packages feed. I very much doubt that it will be accepted upstream; 
> from the other hand side we already have enough overriden packages, and 
> perhaps more to come (like binutils, for instance 
> https://dev.openwrt.org/ticket/8603).
> 
> 
> On Sat, 8 Jan 2011 12:12:09 -0800
>    Delbert Franz <[email protected]> wrote:
>    I have been experiementing with bc on the Nanonote and noticed that
>    line editing and history recall are not implemented.  I checked and
>    readline is required for that and needs to be specified at config
>    time.  Poking around on my build computer I noticed some failures to
>    find software in the config.log for bc but not knowing enough, it is
>    unclear to me if readline was requested or if the request was made
> and
>    failed for some other reason.
>    
>    Is it possible to enable readline when building bc?  Without readline
>    it is impossible to recall a previous line and do any changes.  Both
>    functions greatly enhance the power of the application.
>    
>    Thanks,
>    
>           Delbert




_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe: 
http://lists.en.qi-hardware.com/mailman/listinfo/discussion

Reply via email to