All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Buildroot] Any way to configure "nano" to use fallbacks instead of terminfo/termcap?
@ 2022-05-18 19:07 Dan Jackson
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Jackson @ 2022-05-18 19:07 UTC (permalink / raw)
  To: buildroot

> -----Original Message-----
> From: Peter Korsgaard <peter@korsgaard.com>
> Sent: 15 May 2022 19:15
> To: Dan Jackson <dan@thejacksons.uk>
> Cc: buildroot@buildroot.org
> Subject: Re: Any way to configure "nano" to use fallbacks instead of 
> terminfo/termcap?
> 
> >>>>> "Dan" == Dan Jackson <dan@thejacksons.uk> writes:
> 
>  > Is there a way to enable the configuration options "--disable-database"
> and "--with-fallbacks" for the "nano" package?
>  > I built a "nano" binary using buildroot to make my exploration of 
> my  > internet router a little easier, however when trying to use it I 
> get  > an "Error opening terminal" message. I found a Stackoverflow 
> post  >
> (https://stackoverflow.com/questions/53320009/error-opening-terminal-
> vt100-while-running-a-binary-with-ncurses-on-arm)
>  > that suggests I need to build "nano" using the above-mentioned 
> options  > so that terminal information is baked-in to the nano binary 
> instead of  > it trying to read that from disk.
> 
>  > However I don't see an obvious way to do this from buildroot's 
> menuconfig?
> 
> Not directly. Notice that this is configure options for ncurses, not for nano.
> 
> For a quick test you can you naturally just adjust 
> package/ncurses/ncurses.mk.

Ah I see. Can it only be done by manually changing the ncurses.mk, or can I write a patch that I can use with buildroot's patch system for packages to do it "properly"?

> 
> --
> Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] Any way to configure "nano" to use fallbacks instead of terminfo/termcap?
  2022-05-15 16:44 Dan Jackson
@ 2022-05-15 18:15 ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-05-15 18:15 UTC (permalink / raw)
  To: Dan Jackson; +Cc: buildroot

>>>>> "Dan" == Dan Jackson <dan@thejacksons.uk> writes:

 > Is there a way to enable the configuration options "--disable-database" and "--with-fallbacks" for the "nano" package?
 > I built a "nano" binary using buildroot to make my exploration of my
 > internet router a little easier, however when trying to use it I get
 > an "Error opening terminal" message. I found a Stackoverflow post
 > (https://stackoverflow.com/questions/53320009/error-opening-terminal-vt100-while-running-a-binary-with-ncurses-on-arm)
 > that suggests I need to build "nano" using the above-mentioned options
 > so that terminal information is baked-in to the nano binary instead of
 > it trying to read that from disk.

 > However I don't see an obvious way to do this from buildroot's menuconfig?

Not directly. Notice that this is configure options for ncurses, not for
nano.

For a quick test you can you naturally just adjust
package/ncurses/ncurses.mk.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Any way to configure "nano" to use fallbacks instead of terminfo/termcap?
@ 2022-05-15 16:44 Dan Jackson
  2022-05-15 18:15 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Jackson @ 2022-05-15 16:44 UTC (permalink / raw)
  To: buildroot


[-- Attachment #1.1: Type: text/plain, Size: 725 bytes --]

Is there a way to enable the configuration options "--disable-database" and "--with-fallbacks" for the "nano" package?

I built a "nano" binary using buildroot to make my exploration of my internet router a little easier, however when trying to use it I get an "Error opening terminal" message. I found a Stackoverflow post (https://stackoverflow.com/questions/53320009/error-opening-terminal-vt100-while-running-a-binary-with-ncurses-on-arm) that suggests I need to build "nano" using the above-mentioned options so that terminal information is baked-in to the nano binary instead of it trying to read that from disk.

However I don't see an obvious way to do this from buildroot's menuconfig?

Thanks,
Dan Jackson.

[-- Attachment #1.2: Type: text/html, Size: 2822 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-18 19:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-18 19:07 [Buildroot] Any way to configure "nano" to use fallbacks instead of terminfo/termcap? Dan Jackson
  -- strict thread matches above, loose matches on Subject: below --
2022-05-15 16:44 Dan Jackson
2022-05-15 18:15 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.