From alpine-info at u.washington.edu Sat Jan 4 17:41:42 2025 From: alpine-info at u.washington.edu (Thomas Gramstad via Alpine-info) Date: Sat Jan 4 17:41:50 2025 Subject: [Alpine-info] How to unlynx links in Alpine? Message-ID: <1138256-1f69-3839-f357-1d4eae43f7a@ifi.uio.no> In my Alpine config I have URL-viewer set to /usr/bin/firefox in order to be able to click a link in an e-mail message and have it opened in Firefox in an external window. This used to work, but now it doesn't. What happens now is that I'm asked to accept a cookie, I answer Y, and then this repeats a few times. Then finally I get the message that the app will not work unless I install Javascript, and then nothing more happens. I have tried a few times, and also used the ? option while accepting cookies. According to the ? option, the app asking for repeated cookie acceptance is Lynx. And yes, it does look like a vague memory I have a few decades back of the Lynx web browser. So how can I make Firefox work as before, without being asked about cookies, and without Javascript, and without Lynx? Is there a way to unlynx Alpine? Thomas Gramstad From alpine-info at u.washington.edu Sun Jan 5 04:25:18 2025 From: alpine-info at u.washington.edu (Olaf Skibbe via Alpine-info) Date: Sun Jan 5 04:25:30 2025 Subject: [Alpine-info] How to unlynx links in Alpine? In-Reply-To: <1138256-1f69-3839-f357-1d4eae43f7a@ifi.uio.no> References: <1138256-1f69-3839-f357-1d4eae43f7a@ifi.uio.no> Message-ID: Hi Thomas, You do not share too many informations, so it is difficult to point out a possible reason for your problem. But anyways, I can tell you what works for me. I use alpine and Firefox just like you seemingly want it to work. The system is a Linux (Debian stable) with alpine 2.26. A search in my .pinerc shows the following lines containing "url": (Search command: $ grep -i url .pinerc) Result: ========== enable-msg-view-urls, # List of programs to open Internet URLs (e.g. http or ftp references). url-viewers=/usr/bin/firefox ========== I do not know if the .mailcap could interfere with the alpine configuration in regard of the URL viewer, but (for what it's worth) I checked for this. My .mailcap does not contain anything related URLs or http or https. Nevertheless, there are entries containing lynx in /etc/mailcap and lynx is installed. Maybe this helps you finding the problem? Olaf On Sun, 5 Jan 2025 at 02:41, Thomas Gramstad via Alpine-info wrote: > In my Alpine config I have URL-viewer set to /usr/bin/firefox > in order to be able to click a link in an e-mail message and > have it opened in Firefox in an external window. > > This used to work, but now it doesn't. > > What happens now is that I'm asked to accept a cookie, I answer > Y, and then this repeats a few times. Then finally I get the > message that the app will not work unless I install Javascript, > and then nothing more happens. > > I have tried a few times, and also used the ? option while > accepting cookies. According to the ? option, the app asking > for repeated cookie acceptance is Lynx. And yes, it does look > like a vague memory I have a few decades back of the Lynx web > browser. > > So how can I make Firefox work as before, without being asked > about cookies, and without Javascript, and without Lynx? > Is there a way to unlynx Alpine? > > Thomas Gramstad > _______________________________________________ > Alpine-info mailing list > Alpine-info@u.washington.edu > http://mailman12.u.washington.edu/mailman/listinfo/alpine-info > From alpine-info at u.washington.edu Sun Jan 5 05:26:11 2025 From: alpine-info at u.washington.edu (Mats Dufberg via Alpine-info) Date: Sun Jan 5 05:26:19 2025 Subject: [Alpine-info] How to unlynx links in Alpine? In-Reply-To: References: <1138256-1f69-3839-f357-1d4eae43f7a@ifi.uio.no> Message-ID: I just want to note that there could be other files read by the mailcap function, such as /etc/mailcap. See "man mailcap". I have no .mailcap and no url-viewers setting in .pinerc, but alpine will open http/https URLs with Chrome for me. /etc/mailcap is non-empty on my system. Yours, Mats On 2025-01-05, 13:25 (+0100) Olaf Skibbe via Alpine-info Hi Thomas, > > You do not share too many informations, so it is difficult to point > out a possible reason for your problem. But anyways, I can tell you > what works for me. I use alpine and Firefox just like you seemingly > want it to work. The system is a Linux (Debian stable) with alpine > 2.26. > > A search in my .pinerc shows the following lines containing "url": > > (Search command: $ grep -i url .pinerc) > Result: > ========== > enable-msg-view-urls, > # List of programs to open Internet URLs (e.g. http or ftp references). > url-viewers=/usr/bin/firefox > ========== > > I do not know if the .mailcap could interfere with the alpine > configuration in regard of the URL viewer, but (for what it's worth) I > checked for this. My .mailcap does not contain anything related URLs > or http or https. > > Nevertheless, there are entries containing lynx in /etc/mailcap and > lynx is installed. > > Maybe this helps you finding the problem? > > Olaf > > > On Sun, 5 Jan 2025 at 02:41, Thomas Gramstad via Alpine-info wrote: > > > In my Alpine config I have URL-viewer set to /usr/bin/firefox > > in order to be able to click a link in an e-mail message and > > have it opened in Firefox in an external window. > > > > This used to work, but now it doesn't. > > > > What happens now is that I'm asked to accept a cookie, I answer > > Y, and then this repeats a few times. Then finally I get the > > message that the app will not work unless I install Javascript, > > and then nothing more happens. > > > > I have tried a few times, and also used the ? option while > > accepting cookies. According to the ? option, the app asking > > for repeated cookie acceptance is Lynx. And yes, it does look > > like a vague memory I have a few decades back of the Lynx web > > browser. > > > > So how can I make Firefox work as before, without being asked > > about cookies, and without Javascript, and without Lynx? > > Is there a way to unlynx Alpine? > > > > Thomas Gramstad > > _______________________________________________ > > Alpine-info mailing list > > Alpine-info@u.washington.edu > > http://mailman12.u.washington.edu/mailman/listinfo/alpine-info > > > _______________________________________________ > Alpine-info mailing list > Alpine-info@u.washington.edu > http://mailman12.u.washington.edu/mailman/listinfo/alpine-info > ------------------------------------------------------ | Mats Dufberg | mats@dufberg.se | | Sp?nga kyrkv?g 618 | +46 8 38 48 59 | | SE-16362 Sp?nga, Sweden | +46 70 258 25 88 | ------------------------------------------------------ From alpine-info at u.washington.edu Sun Jan 5 13:19:35 2025 From: alpine-info at u.washington.edu (Thomas Gramstad via Alpine-info) Date: Sun Jan 5 13:19:42 2025 Subject: [Alpine-info] How to unlynx links in Alpine? In-Reply-To: References: <1138256-1f69-3839-f357-1d4eae43f7a@ifi.uio.no> Message-ID: <80db5918-97a2-2c60-5ffb-d7349e7e76c@ifi.uio.no> As noted I have /usr/bin/firefox in my Alpine config, that was the first thing I checked. Nothing relevant in .mailcap. But /etc/mailcap says this: ---- ### Begin Red Hat Mailcap ### audio/*; /usr/bin/xdg-open %s image/*; /usr/bin/xdg-open %s application/msword; /usr/bin/xdg-open %s application/pdf; /usr/bin/xdg-open %s application/postscript ; /usr/bin/xdg-open %s text/html; /usr/bin/xdg-open %s ; copiousoutput ---- Not familiar with xdg-open, but I found this: **** How do I make Firefox my default browser in XDG? NOTE: you will need to change /PATH_TO_FIREFOX_BIN/ to the path to your firefox binary. change xdg to use firefox: xdg-settings set default-web-browser firefox.desktop check xdg setting: xdg-settings get default-web-browser. **** I gave the first command, it was accepted, but the change has no effect on links in Alpine. The second command gives the following response: thomas@morgoth:/etc$ xdg-settings get default-web-browser /usr/bin/which: no firefox-bin in (/uio/kant/ifi-snacks/snacks-amd64linuxrh7/encap/firefox-68.0.1+1/opt/firefox) /usr/bin/which: no firefox in (/ifi/asgard/snacks-amd64linuxrh6/encap/firefox-42.0+1/opt/firefox) I don't know why /usr/bin/which was called there, but I'm pretty sure those two file paths are wrong. What now? Thomas Gramstad On Sun, 5 Jan 2025, Mats Dufberg via Alpine-info wrote: > I just want to note that there could be other files read by the mailcap > function, such as /etc/mailcap. See "man mailcap". > > I have no .mailcap and no url-viewers setting in .pinerc, but alpine will > open http/https URLs with Chrome for me. /etc/mailcap is non-empty on my > system. > > > Yours, > Mats > > On 2025-01-05, 13:25 (+0100) Olaf Skibbe via Alpine-info > > Hi Thomas, > > > > You do not share too many informations, so it is difficult to point > > out a possible reason for your problem. But anyways, I can tell you > > what works for me. I use alpine and Firefox just like you seemingly > > want it to work. The system is a Linux (Debian stable) with alpine > > 2.26. > > > > A search in my .pinerc shows the following lines containing "url": > > > > (Search command: $ grep -i url .pinerc) > > Result: > > ========== > > enable-msg-view-urls, > > # List of programs to open Internet URLs (e.g. http or ftp references). > > url-viewers=/usr/bin/firefox > > ========== > > > > I do not know if the .mailcap could interfere with the alpine > > configuration in regard of the URL viewer, but (for what it's worth) I > > checked for this. My .mailcap does not contain anything related URLs > > or http or https. > > > > Nevertheless, there are entries containing lynx in /etc/mailcap and > > lynx is installed. > > > > Maybe this helps you finding the problem? > > > > Olaf > > > > > > On Sun, 5 Jan 2025 at 02:41, Thomas Gramstad via Alpine-info wrote: > > > > > In my Alpine config I have URL-viewer set to /usr/bin/firefox > > > in order to be able to click a link in an e-mail message and > > > have it opened in Firefox in an external window. > > > > > > This used to work, but now it doesn't. > > > > > > What happens now is that I'm asked to accept a cookie, I answer > > > Y, and then this repeats a few times. Then finally I get the > > > message that the app will not work unless I install Javascript, > > > and then nothing more happens. > > > > > > I have tried a few times, and also used the ? option while > > > accepting cookies. According to the ? option, the app asking > > > for repeated cookie acceptance is Lynx. And yes, it does look > > > like a vague memory I have a few decades back of the Lynx web > > > browser. > > > > > > So how can I make Firefox work as before, without being asked > > > about cookies, and without Javascript, and without Lynx? > > > Is there a way to unlynx Alpine? > > > > > > Thomas Gramstad > > > _______________________________________________ > > > Alpine-info mailing list > > > Alpine-info@u.washington.edu > > > http://mailman12.u.washington.edu/mailman/listinfo/alpine-info > > > > > _______________________________________________ > > Alpine-info mailing list > > Alpine-info@u.washington.edu > > http://mailman12.u.washington.edu/mailman/listinfo/alpine-info > > > > ------------------------------------------------------ > | Mats Dufberg | mats@dufberg.se | > | Sp?nga kyrkv?g 618 | +46 8 38 48 59 | > | SE-16362 Sp?nga, Sweden | +46 70 258 25 88 | > ------------------------------------------------------ From alpine-info at u.washington.edu Sun Jan 5 15:32:39 2025 From: alpine-info at u.washington.edu (Andrew C Aitchison via Alpine-info) Date: Sun Jan 5 15:33:01 2025 Subject: [Alpine-info] How to unlynx links in Alpine? In-Reply-To: <80db5918-97a2-2c60-5ffb-d7349e7e76c@ifi.uio.no> References: <1138256-1f69-3839-f357-1d4eae43f7a@ifi.uio.no> <80db5918-97a2-2c60-5ffb-d7349e7e76c@ifi.uio.no> Message-ID: On Sun, 5 Jan 2025, Thomas Gramstad via Alpine-info wrote: > > As noted I have /usr/bin/firefox in my Alpine config, that was > the first thing I checked. > > Nothing relevant in .mailcap. > > But /etc/mailcap says this: > > ---- > > ### Begin Red Hat Mailcap > ### > > audio/*; /usr/bin/xdg-open %s > > image/*; /usr/bin/xdg-open %s > > application/msword; /usr/bin/xdg-open %s > application/pdf; /usr/bin/xdg-open %s > application/postscript ; /usr/bin/xdg-open %s > > text/html; /usr/bin/xdg-open %s ; copiousoutput > > ---- > > Not familiar with xdg-open, but I found this: > > **** > > How do I make Firefox my default browser in XDG? > > NOTE: you will need to change /PATH_TO_FIREFOX_BIN/ to the path > to your firefox binary. > > change xdg to use firefox: > xdg-settings set default-web-browser firefox.desktop > > check xdg setting: xdg-settings get default-web-browser. > > **** > > I gave the first command, it was accepted, but the change has no > effect on links in Alpine. > > The second command gives the following response: > > thomas@morgoth:/etc$ xdg-settings get default-web-browser > /usr/bin/which: no firefox-bin in > (/uio/kant/ifi-snacks/snacks-amd64linuxrh7/encap/firefox-68.0.1+1/opt/firefox) > /usr/bin/which: no firefox in > (/ifi/asgard/snacks-amd64linuxrh6/encap/firefox-42.0+1/opt/firefox) > > I don't know why /usr/bin/which was called there, I am note sure what is inside default-web-browser but it will be using which because firefox and firefox-bin are not full paths. > but I'm pretty sure those two file paths are wrong. What now? This is no longer really an alpine issue but you appear to be heading in the right direction. I'd look up xdg-settings and default-web-browser for your particular flavour of linux. -- Andrew C. Aitchison Kendal, UK andrew@aitchison.me.uk From alpine-info at u.washington.edu Sun Jan 5 15:41:11 2025 From: alpine-info at u.washington.edu (Damion Yates via Alpine-info) Date: Sun Jan 5 15:41:14 2025 Subject: [Alpine-info] How to unlynx links in Alpine? In-Reply-To: <1138256-1f69-3839-f357-1d4eae43f7a@ifi.uio.no> References: <1138256-1f69-3839-f357-1d4eae43f7a@ifi.uio.no> Message-ID: On Sunday, 5 January 2025, Thomas Gramstad via Alpine-info < alpine-info@u.washington.edu> wrote: > In my Alpine config I have URL-viewer set to /usr/bin/firefox in order to > be able to click a link in an e-mail message and have it opened in Firefox > in an external window. > > This used to work, but now it doesn't. > > What happens now is that I'm asked to accept a cookie, I answer Y, and > then this repeats a few times. Then finally I get the message that the app > will not work unless I install Javascript, and then nothing more happens. > > I have tried a few times, and also used the ? option while > accepting cookies. According to the ? option, the app asking for repeated > cookie acceptance is Lynx. And yes, it does look like a vague memory I have > a few decades back of the Lynx web browser. > > So how can I make Firefox work as before, without being asked about > cookies, and without Javascript, and without Lynx? > Is there a way to unlynx Alpine? I would suggest checking whether something clever has noticed that $DISPLAY isn't set and is defaulting to `lynx` as a text-only fallback. This might happen if you're using `tmux` or `screen` and initiated it prior to using your desktop. - Damion -- Damion Yates - damion.yates@gmail.com London, England -------------- next part -------------- An HTML attachment was scrubbed... URL: From alpine-info at u.washington.edu Mon Jan 6 13:00:48 2025 From: alpine-info at u.washington.edu (Lucio Chiappetti via Alpine-info) Date: Mon Jan 6 13:01:01 2025 Subject: [Alpine-info] How to unlynx links in Alpine? In-Reply-To: <80db5918-97a2-2c60-5ffb-d7349e7e76c@ifi.uio.no> References: <80db5918-97a2-2c60-5ffb-d7349e7e76c@ifi.uio.no> Message-ID: <06s51p4-o8oq-8486-44r7-9n17284809s@ynzoengr.vans.vg> I can just tell what I have in my .pinerc (0) I run under linux no desktop environment but the fvwm window manager (so all "xdg" stuff is presumably not relevant to me) (1) this entry in .pinerc URL-Viewers = /usr/bin/palemoon should set the browser when clicking on an URL (my browser is palemoon, derived from firefox long time ago but "is no longer firefoz and will nevr be again" (2) I have this entry too Mailcap Search Path = ~/.mailcap:~/.mailcap.pine Note that one can have a list of different mailcap files. My sysem no longer has a default .mailcap. The first one is a long file inheridted from an old system (lists lot of office stuff). The second contains a few mimetype-viewer associations like Text/html; /usr/bin/palemoon %s Application/pdf; /usr/bin/X11/acroread %s (3) I have this entry too Mimetype Search Path = ~/.force-html-attach The file contains a few mimetype-fileextension associations like text/html html htm application/pdf pdf PDF (4) as far as I understand (2)(3) is not necessary to view URLs, but to view ATTACHMENTS with a particular viewer. The (3) is used to bypass the mimetype declared in the attachment header with the file extension declared in file disposition. This is because sometime HTML attachments are declared text/plain or PDF attachments are declared as octet-stream. With the bypass alpine asks permission to use the viwer according to file extension. (5) the mailcap text/html entry to palemoon in the past used to refer to a wrapper script to take care whether the browser was running or not, but this became unnecessary at some stage. That's all I can tell From alpine-info at u.washington.edu Sat Jan 11 00:18:07 2025 From: alpine-info at u.washington.edu (Andrew C Aitchison via Alpine-info) Date: Sat Jan 11 00:18:17 2025 Subject: [Alpine-info] New draft rfc: OAuth Profile for Open Public Clients Message-ID: <4f77f60e-d376-da8a-5f90-598bd9c0226f@aitchison.me.uk> New draft rfc: OAuth Profile for Open Public Clients https://www.ietf.org/archive/id/draft-ietf-mailmaint-oa uth-public-00.html I am not sure how useful this will be for GMail and Microsoft, but this may make it simpler to support OAUTH with many other email services. -- Andrew C. Aitchison Kendal, UK andrew@aitchison.me.uk From alpine-info at u.washington.edu Thu Jan 16 11:25:35 2025 From: alpine-info at u.washington.edu (Chime Hart via Alpine-info) Date: Thu Jan 16 11:25:40 2025 Subject: [Alpine-info] When Composing An E-Mail, I Only Have 77 Columns Message-ID: <4b10f2fb-388f-1603-7d4f-7a52442c8518@hubert-humphrey.com> Hi All: This morning, while proof-reading, I noticed several shorter lines, especially as I tend not to use paragraphs. I am in Debian SID, useing Speakup as a screen-reader. Seems if I increase columns past 80 I receive an error. I have 180lines by 270 columns. Would certainly like to take atvantage of that extrea space. Thanks so much in advance Chime From alpine-info at u.washington.edu Thu Jan 16 23:55:18 2025 From: alpine-info at u.washington.edu (Porcelain Mouse via Alpine-info) Date: Thu Jan 16 23:55:24 2025 Subject: [Alpine-info] qsort Protoype Not Detected Correctly? Message-ID: <5sp4nos9-s610-pnp1-6941-49o3s01ps648@abovt5.pbz> Hello Eduardo & Forum, Is any one else having problems compiling alpine 2.26 with patch.all, recently? I get a compiler error, see below. I think the check for the proper arg types for qsort() in sortf() is not working correctly. configure determined that 'char' was the right type, but gcc seems to think it's 'void'. Or, something like that, from what I understand. If I used CFLAGS=-Wno-incompatible-pointer-types, the build succeeds. But, that may not be the best solution. Related? https://github.com/NixOS/nixpkgs/issues/372699 https://github.com/NixOS/nixpkgs/pull/372785 $ gcc --version gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7) build error: ... adrbklib.c: In function ?sort_addr_list?: adrbklib.c:4705:64: error: passing argument 4 of ?qsort? from incompatible pointer type [-Wincompati ble-pointer-types] 4705 | qsort((qsort_t *)list, (size_t)(p - list), sizeof(char *), cmp_addr); | ^~~~~~~~ | | | int (*)(const char *, const c har *) In file included from ../include/system.h:42, from ../pith/headers.h:25, from adrbklib.c:14: /usr/include/stdlib.h:971:34: note: expected ?__compar_fn_t? {aka ?int (*)(const void *, const void *)?} but argument is of type ?int (*)(const char *, const char *)? 971 | __compar_fn_t __compar) __nonnull ((1, 4)); | ~~~~~~~~~~~~~~^~~~~~~~ adrbklib.c: In function ?adrbk_sort?: adrbklib.c:4766:77: error: passing argument 4 of ?qsort? from incompatible pointer type [-Wincompati ble-pointer-types] 4765 | (ab->sort_rule == AB_SORT_RULE_FULL_LISTS) ? | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4766 | cmp_cntr_by_full_lists_last : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ | | | int (*)(const ch ar *, const char *) 4767 | (ab->sort_rule == AB_SORT_RULE_FULL) ? | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4768 | cmp_cntr_by_full : | ~~~~~~~~~~~~~~~~~~ 4769 | (ab->sort_rule == AB_SORT_RULE_NICK_LISTS) ? | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4770 | cmp_cntr_by_nick_lists_last : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4771 | /* (ab->sort_rule == AB_SORT_RULE_NICK) */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4772 | cmp_cntr_by_nick); | ~~~~~~~~~~~~~~~~ /usr/include/stdlib.h:971:34: note: expected ?__compar_fn_t? {aka ?int (*)(const void *, const void *)?} but argument is of type ?int (*)(const char *, const char *)? 971 | __compar_fn_t __compar) __nonnull ((1, 4)); | ~~~~~~~~~~~~~~^~~~~~~~ -- PMouse From alpine-info at u.washington.edu Fri Jan 17 23:24:12 2025 From: alpine-info at u.washington.edu (Eduardo Chappa via Alpine-info) Date: Fri Jan 17 23:24:22 2025 Subject: [Alpine-info] qsort Protoype Not Detected Correctly? In-Reply-To: <5sp4nos9-s610-pnp1-6941-49o3s01ps648@abovt5.pbz> References: <5sp4nos9-s610-pnp1-6941-49o3s01ps648@abovt5.pbz> Message-ID: <8943061a-da4b-c557-e979-58da24909cc7@yandex.com> On Thu, 16 Jan 2025, Porcelain Mouse via Alpine-info wrote: > Hello Eduardo & Forum, > > Is any one else having problems compiling alpine 2.26 with patch.all, > recently? I get a compiler error, see below. > > I think the check for the proper arg types for qsort() in sortf() is not > working correctly. configure determined that 'char' was the right type, > but gcc seems to think it's 'void'. can you send me a copy of your config.log file. thank you. -- eduardo