From alpine-info at u.washington.edu Sun Jun 1 14:24:42 2025 From: alpine-info at u.washington.edu (Robert Wolf-conf via Alpine-info) Date: Sun Jun 1 14:24:57 2025 Subject: [Alpine-info] UTF-16 and header view of UTF-16 emails Message-ID: Dear Eduardo, I send this email to alpine mailing list and to you in Bcc. Maybe someone else is interested too. And if the mailing does not accept my email with attachments, then you get this email directly. ================================================== In our company, we use Exchange Online and we make backup with veeam. We get backup reports by email. The email contains report as HTML table. The email content is either HTML message (if the table is short) or overall status as HTML message and full report as HTML attachment. There are multiple problems with this email to view in alpine. ================================================== First problem is, that the HTML message is UTF-16 text without BOM. As RFC 2781 in section 4.3 says, the UTF-16 without BOM should be interpreted as big-endian (UTF-16BE). But the email does not come from normal world, instead it comes from Microsoft world. It means, Microsoft uses little-endian and therefore the text is in fact UTF-16LE. And if the software works according to RTF 2781 and tries to display the UTF-16LE message as UTF-16BE, then nothing correct comes. But this is no alpine problem. Neither Thunderbird can display these emails correct. Only Microsoft Outlook or Exchange Webclient, of course. -------------------------------------------------- But I have tried to find some information, if already someone tried to solve this problem. In fact, probably to solutions is simple just to change charset="utf-16" to charset="utf-16le" and the message is corrected. But not in alpine. And this is the problem, what I want to discuss with you. It was a luck, that I have found old bug report https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726739 with patch proposal from Thorsten Glaser. You have discussed with him and ask him for some examples, but he hasn't sent any. I have played now with his patch for c-client library and I have created example emails (attached in MBOX file). In the alpine 2.26 (without Thorsten's utf-16 c-client library patch): - message "[2] test mail message only without attachment; message utf-16 with BOM utf-16le" is displayed as some invalid utf-16 characters - message "[4] test mail message only without attachment; message utf-16 with BOM utf-16be" is displayed correctly - message "[6] test mail message only without attachment; message utf-16le without BOM" is displayed incorrectly as UTF-8 with NULL characters behind correct character (little-endian) - message "[8] test mail message only without attachment; message utf-16be without BOM" is displayed incorrectly as UTF-8 with NULL characters before correct character (big-endian) - message "[10] test mail message only without attachment; message utf-16le with BOM" is display incorrectly as UTF-8 with NULL characters behind correct character (little-endian) and question marks at the beginning (BOM LE) - message "[12] test mail message only without attachment; message utf-16be with BOM" is displayed incorrectly as UTF-8 with NULL characters before correct character (big-endian) and question marks at the beginning (BOM BE) If I apply the Thorsten's patch for c-client library, all the messages are displayed correctly. Could you verify this with the MBOX and with the patch? Thank you. ================================================== Then I have second problem. This is the second patch which Thorsten has sent, which updates mailview.c for the "header" view. If you looks the example messages in header view in original alpine (without Thorsten's patches), then - messages "[2] test mail message only without attachment; message utf-16 with BOM utf-16le" and "[4] test mail message only without attachment; message utf-16 with BOM utf-16be", i.e. messages with charset="utf-16" with BOM (either if BE or LE) are both in header mode displayed incorrectly, as incorrect utf-16 characters, although the body is base64 encoded. It looks like something tries to decode the base64 encoded content based on charset into invalid utf-16 characters instead of displaying base64 as plain ascii. - other messages, i.e. charset utf-16be or utf-16le without or with BOM, are correctly displayed in header view as base64 text (these messages are not correctly converted from utf-16 to utf-8 in normal message view) -------------------------------------------------- But if I apply Thorsten's patch for UTF-16 in c-client lib, then in the header view is for no message the content displayed correctly in header view. It looks to me, that if the mailview knows the charset of the message, then it tries to decode even the "source code" of the message from the known charset to (probably) utf-8, although it should not convert between charsets and should display plain ascii base64 text. This is, what Thorsten tried to explain you. If I apply Thorsten's header-view patch additionally to UTF-16 patch, then alpine displays correctly base64 text in all messages in header view. -------------------------------------------------- Now comes the main Thorsten's problem, as he has written "... this is a separate item which popped up during my tests with UTF-16 eMails ...". If I apply Thorsten's UTF-16 patch, then every test message is in header view displayed incorrectly. I presume, the mailview gets correct charset from c-client lib, i.e. charset is known, and therefore tries mailview to convert the "source code" (base64 text) from known charset (any utf-16) to utf-8, which generates incorrect output with invalid utf-16 characters. If I apply both Thorsten's patches, utf-16 and header-view, then every message text in normal view and the base64 text in the header view are displayed correct. ================================================== Could you please take a look at this problem and both patches if you could includ them in alpine? I know, the utf-16 is probably not so much used, at least I have seen these emails with utf-16 from veeam+office365 for the first time, but it would be great if they could be included and improve/extend alpine features. The problem is not critical, I can apply the patches for me now myself, so you don't need to hurry. Just sometimes when you find some time to look at it. Thank you very much. Regards, Robert. -------------- next part -------------- A non-text attachment was scrubbed... Name: alpine.patches.zip Type: application/zip Size: 3372 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: utf-16-mbox-test.zip Type: application/zip Size: 1153 bytes Desc: not available URL: From alpine-info at u.washington.edu Mon Jun 2 00:30:18 2025 From: alpine-info at u.washington.edu (Brad Chamberlain via Alpine-info) Date: Mon Jun 2 00:30:35 2025 Subject: [Alpine-info] Alpine-generated message in forwarded mail not seen in Outlook Message-ID: Hello everyone ? This week I was informed of a strange behavior that was previously unknown to me, concerning reading mails I'd written in alpine from Outlook, and I wanted to pass it along to see whether it was familiar to anyone else. First, in case it matters, my SMTP server is: smtp.office365.com/user=my.email@hostname.com/submit/auth=xoauth2 The situation was that I was forwarding a mail from a colleague whose parts/attachments list was as follows: 1 Multipart/RELATED 1.1 Shown ~135 lines Text (charset: ISO-8859-1) 1.2 OK 8.5 KB Image, "image001.png" 2 OK 12 MB Application, "filename.pptx" In forwarding the mail from alpine, I wrote my own introduction to it, providing context. The attachment list for that sent mail, as seen in my sent-mail folder, was: 1 Shown 51 lines Text 2 Multipart/RELATED 2.1 Shown ~135 lines Text (charset: ISO-8859-1) 2.2 OK 8.5 KB Image, "image001.png" 3 OK 12 MB Application, "filename.pptx" However, when my colleagues viewed the mail in Outlook (our default mail client) or I viewed the same mail in my own sent-mail folder in Outlook, the message I had attached was not visible, neither in preview mode, nor when double-cliecking to open the message. Forwarding the same mail in the same way to Gmail worked as expected, and unsurprisingly, the mail also renders fine from within alpine. That is, my new message was visible by default. This now makes me curious whether I've been hit by this other times in the past without anyone noticing. In this case we only noticed because the person asked a question I told them I'd answered in the original mail, only to learn that they never saw it. Going back further in my sent-mail folder for other forwarded case, however, it seems I do not forward mails very often. The only other one I found in the past six months was all Text/PLAIN and seems to render fine when viewed in Outlook. Thanks for any information here, -Brad From alpine-info at u.washington.edu Mon Jun 2 02:00:33 2025 From: alpine-info at u.washington.edu (Olaf Skibbe via Alpine-info) Date: Mon Jun 2 02:00:46 2025 Subject: [Alpine-info] Alpine-generated message in forwarded mail not seen in Outlook In-Reply-To: References: Message-ID: Hi Brad, This reminds me strongly on an issue I found last year and discussed on the mailing list in February 2024 under the subject "Forwarded mail partially invisible in Outlook". Do you have access tho the old list mails? Otherwise I can forward them to you. My result was that this is a bug in Outlook (both client and web interface), not an alpine issue. Outlook is obviously and reproducibly hiding parts of mails from its users. My workaround is to forward messages with attachments as one mail attachment (by pressing "h" before forwarding with "f"). HTH Olaf On Mon, 2 Jun 2025 at 09:30, Brad Chamberlain via Alpine-info wrote: > > Hello everyone ? > > This week I was informed of a strange behavior that was previously unknown to > me, concerning reading mails I'd written in alpine from Outlook, and I wanted > to pass it along to see whether it was familiar to anyone else. > > First, in case it matters, my SMTP server is: > > smtp.office365.com/user=my.email@hostname.com/submit/auth=xoauth2 > > The situation was that I was forwarding a mail from a colleague whose > parts/attachments list was as follows: > > 1 Multipart/RELATED > 1.1 Shown ~135 lines Text (charset: ISO-8859-1) > 1.2 OK 8.5 KB Image, "image001.png" > 2 OK 12 MB Application, "filename.pptx" > > In forwarding the mail from alpine, I wrote my own introduction to it, > providing context. The attachment list for that sent mail, as seen in my > sent-mail folder, was: > > 1 Shown 51 lines Text > 2 Multipart/RELATED > 2.1 Shown ~135 lines Text (charset: ISO-8859-1) > 2.2 OK 8.5 KB Image, "image001.png" > 3 OK 12 MB Application, "filename.pptx" > > However, when my colleagues viewed the mail in Outlook (our default mail > client) or I viewed the same mail in my own sent-mail folder in Outlook, the > message I had attached was not visible, neither in preview mode, nor when > double-cliecking to open the message. > > Forwarding the same mail in the same way to Gmail worked as expected, and > unsurprisingly, the mail also renders fine from within alpine. That is, my > new message was visible by default. > > This now makes me curious whether I've been hit by this other times in the > past without anyone noticing. In this case we only noticed because the > person asked a question I told them I'd answered in the original mail, only > to learn that they never saw it. Going back further in my sent-mail folder > for other forwarded case, however, it seems I do not forward mails very > often. The only other one I found in the past six months was all Text/PLAIN > and seems to render fine when viewed in Outlook. > > Thanks for any information here, > -Brad From alpine-info at u.washington.edu Mon Jun 2 02:17:19 2025 From: alpine-info at u.washington.edu (Brad Chamberlain via Alpine-info) Date: Mon Jun 2 02:17:45 2025 Subject: [Alpine-info] Alpine-generated message in forwarded mail not seen in Outlook In-Reply-To: References: Message-ID: <61345939-6ce3-d62c-289d-597065791468@hpe.com> Hi Olaf ? Thanks for the pointer to that thread and your summary of it. I can indeed read the archives at https://mailman23.u.washington.edu/pipermail/alpine-info/2024-February/thread.html and probably even saw the thread when it was originally posted, but obviously did not mentally retain it. Thanks again, -Brad On Mon, 2 Jun 2025, Olaf Skibbe via Alpine-info wrote: > Hi Brad, > > This reminds me strongly on an issue I found last year and discussed on the > mailing list in February 2024 under the subject "Forwarded mail partially > invisible in Outlook". Do you have access tho the old list mails? Otherwise I > can forward them to you. > > My result was that this is a bug in Outlook (both client and web interface), > not an alpine issue. Outlook is obviously and reproducibly hiding parts of > mails from its users. > > My workaround is to forward messages with attachments as one mail attachment > (by pressing "h" before forwarding with "f"). > > HTH > Olaf > > > On Mon, 2 Jun 2025 at 09:30, Brad Chamberlain via Alpine-info wrote: > >> >> Hello everyone ? >> >> This week I was informed of a strange behavior that was previously unknown >> to me, concerning reading mails I'd written in alpine from Outlook, and I >> wanted to pass it along to see whether it was familiar to anyone else. >> >> First, in case it matters, my SMTP server is: >> >> smtp.office365.com/user=my.email@hostname.com/submit/auth=xoauth2 >> >> The situation was that I was forwarding a mail from a colleague whose >> parts/attachments list was as follows: >> >> 1 Multipart/RELATED >> 1.1 Shown ~135 lines Text (charset: ISO-8859-1) >> 1.2 OK 8.5 KB Image, "image001.png" >> 2 OK 12 MB Application, "filename.pptx" >> >> In forwarding the mail from alpine, I wrote my own introduction to it, >> providing context. The attachment list for that sent mail, as seen in my >> sent-mail folder, was: >> >> 1 Shown 51 lines Text >> 2 Multipart/RELATED >> 2.1 Shown ~135 lines Text (charset: ISO-8859-1) >> 2.2 OK 8.5 KB Image, "image001.png" >> 3 OK 12 MB Application, "filename.pptx" >> >> However, when my colleagues viewed the mail in Outlook (our default mail >> client) or I viewed the same mail in my own sent-mail folder in Outlook, >> the message I had attached was not visible, neither in preview mode, nor >> when double-cliecking to open the message. >> >> Forwarding the same mail in the same way to Gmail worked as expected, and >> unsurprisingly, the mail also renders fine from within alpine. That is, my >> new message was visible by default. >> >> This now makes me curious whether I've been hit by this other times in the >> past without anyone noticing. In this case we only noticed because the >> person asked a question I told them I'd answered in the original mail, only >> to learn that they never saw it. Going back further in my sent-mail folder >> for other forwarded case, however, it seems I do not forward mails very >> often. The only other one I found in the past six months was all >> Text/PLAIN and seems to render fine when viewed in Outlook. >> >> Thanks for any information here, >> -Brad > From alpine-info at u.washington.edu Tue Jun 3 21:36:35 2025 From: alpine-info at u.washington.edu (Karen Lewellen via Alpine-info) Date: Tue Jun 3 21:37:48 2025 Subject: [Alpine-info] making links active in alpine? Message-ID: Hi all, Here is what I mean. I have been sent a file from a digital sign location skyslope. In one install of alpine, following the link works..but takes me to cloudflare. In another install, supporting my gmail account, I cannot get the links to work from the keyboard. Is there a way in alpine to influence this, or is it a browser thing? Thanks, Karen From alpine-info at u.washington.edu Wed Jun 4 01:02:25 2025 From: alpine-info at u.washington.edu (Andrew C Aitchison via Alpine-info) Date: Wed Jun 4 01:02:37 2025 Subject: [Alpine-info] making links active in alpine? In-Reply-To: References: Message-ID: <077852b2-41b0-20b2-00df-2615e065ded6@aitchison.me.uk> On Wed, 4 Jun 2025, Karen Lewellen via Alpine-info wrote: > Hi all, > Here is what I mean. > I have been sent a file from a digital sign location skyslope. > In one install of alpine, following the link works..but takes me to > cloudflare. > In another install, supporting my gmail account, I cannot get the links to > work from the keyboard. > Is there a way in alpine to influence this, or is it a browser thing? > Thanks, When I type enter on a link, alpine runs the command in the config setting url-viewers The help on this command is long and describes how it can choose between multiple commands. -- Andrew C. Aitchison Kendal, UK andrew@aitchison.me.uk From alpine-info at u.washington.edu Wed Jun 4 14:59:48 2025 From: alpine-info at u.washington.edu (Eduardo Chappa via Alpine-info) Date: Wed Jun 4 14:59:59 2025 Subject: [Alpine-info] UTF-16 and header view of UTF-16 emails In-Reply-To: References: Message-ID: Dear Robert, thank you for your email. I received the attachments through the list and through the personal email you sent me. I have tested the patches you sent me. I cannot tell you about the c-client part, other than it works for the cases you sent me. Do you have any more test cases you can share with me? In regards to the patch for mailview.c, I see what is happening. I tested the issue without applying the patch and once I debugged it I got to the same line that was patched. First I patched it differently, but with the same effect, and then I realized that the patch to mailview.c is incomplete. I would feel more comfortable adding the patch to c-client if I had more test cases. Can you provide me with more cases? The patch to mailview.c I can update easily. Thank you. -- Eduardo From alpine-info at u.washington.edu Tue Jun 10 17:32:32 2025 From: alpine-info at u.washington.edu (Matt Ackeret via Alpine-info) Date: Tue Jun 10 17:32:39 2025 Subject: [Alpine-info] saving index/printing to file? Message-ID: I see that if I turn this on: [X] Print Index Enabled then I can use the % print command from the INDEX screen.. and I see I can even set up multiple printers, even a custom command.. but I don't see quite exactly how to do what I want: What I'd really like it to be able to save my current INDEX screen (e.g. selected messages) to a file.. if it's some randomly generated filename in /tmp, fine.. just so I can get a specific list of messages in a file that I can then do some other things on them (e.g. pipe to some cut commands then sort then unique) to figure out some specific things from subjects of messages I save. Can someone explain how to do that, get print to go to some filename, even if it's the SAME filename always (but preferably not)? thanks. From alpine-info at u.washington.edu Tue Jun 10 23:29:24 2025 From: alpine-info at u.washington.edu (Andrew C Aitchison via Alpine-info) Date: Tue Jun 10 23:29:42 2025 Subject: [Alpine-info] saving index/printing to file? In-Reply-To: References: Message-ID: <1d72373b-07f4-7126-dc17-405a3bac0cb1@aitchison.me.uk> On Tue, 10 Jun 2025, Matt Ackeret via Alpine-info wrote: > > I see that if I turn this on: > [X] Print Index Enabled > > then I can use the % print command from the INDEX screen.. and I see I can even set up multiple printers, even a custom command.. > > but I don't see quite exactly how to do what I want: > > What I'd really like it to be able to save my current INDEX screen (e.g. selected messages) to a file.. > if it's some randomly generated filename in /tmp, fine.. > > just so I can get a specific list of messages in a file that I can then do some > other things on them (e.g. pipe to some cut commands then sort then unique) > to figure out some specific things from subjects of messages I save. > > Can someone explain how to do that, get print to go to some filename, even if > it's the SAME filename always (but preferably not)? > thanks. Use a custom printer with the value cat > /path/to/my/printout This should work on unix and mac, but would need changing on windows. Note that this file will contain the whole index of the folder, not just the portion that was on the screen. -- Andrew C. Aitchison Kendal, UK andrew@aitchison.me.uk From alpine-info at u.washington.edu Wed Jun 11 00:33:02 2025 From: alpine-info at u.washington.edu (Andrew C Aitchison via Alpine-info) Date: Wed Jun 11 00:33:10 2025 Subject: [Alpine-info] saving index/printing to file? In-Reply-To: <1d72373b-07f4-7126-dc17-405a3bac0cb1@aitchison.me.uk> References: <1d72373b-07f4-7126-dc17-405a3bac0cb1@aitchison.me.uk> Message-ID: <5be51598-6be6-fcf0-79a5-40e2635c15a9@aitchison.me.uk> On Wed, 11 Jun 2025, Andrew C Aitchison via Alpine-info wrote: > On Tue, 10 Jun 2025, Matt Ackeret via Alpine-info wrote: > >> >> I see that if I turn this on: >> [X] Print Index Enabled >> >> then I can use the % print command from the INDEX screen.. >> and I see I can even set up multiple printers, even a custom >> command.. >> >> but I don't see quite exactly how to do what I want: >> >> What I'd really like it to be able to save my current INDEX >> screen (e.g. selected messages) to a file.. >> if it's some randomly generated filename in /tmp, fine.. >> >> just so I can get a specific list of messages in a file that >> I can then do some >> other things on them (e.g. pipe to some cut commands then >> sort then unique) >> to figure out some specific things from subjects of messages >> I save. >> >> Can someone explain how to do that, get print to go to some >> filename, even if >> it's the SAME filename always (but preferably not)? >> thanks. > > Use a custom printer with the value Sorry, a custom *command* > cat > /path/to/my/printout > > This should work on unix and mac, > but would need changing on windows. > > Note that this file will contain the whole index of the > folder, not just the portion that was on the screen. -- Andrew C. Aitchison Kendal, UK andrew@aitchison.me.uk From alpine-info at u.washington.edu Wed Jun 11 02:17:32 2025 From: alpine-info at u.washington.edu (Barry Landy via Alpine-info) Date: Wed Jun 11 02:17:41 2025 Subject: [Alpine-info] saving index/printing to file? In-Reply-To: <1d72373b-07f4-7126-dc17-405a3bac0cb1@aitchison.me.uk> References: <1d72373b-07f4-7126-dc17-405a3bac0cb1@aitchison.me.uk> Message-ID: On windows you can simply redirect the output, for example to a PDF instead of to a printer. On Wed, 11 Jun 2025, Andrew C Aitchison via Alpine-info wrote: :>On Tue, 10 Jun 2025, Matt Ackeret via Alpine-info wrote: :> :>> :>> I see that if I turn this on: :>> [X] Print Index Enabled :>> :>> then I can use the % print command from the INDEX screen.. and I see I :>> can even set up multiple printers, even a custom command.. :>> :>> but I don't see quite exactly how to do what I want: :>> :>> What I'd really like it to be able to save my current INDEX screen (e.g. :>> selected messages) to a file.. :>> if it's some randomly generated filename in /tmp, fine.. :>> :>> just so I can get a specific list of messages in a file that I can then :>> do some :>> other things on them (e.g. pipe to some cut commands then sort then :>> unique) :>> to figure out some specific things from subjects of messages I save. :>> :>> Can someone explain how to do that, get print to go to some filename, :>> even if :>> it's the SAME filename always (but preferably not)? :>> thanks. :> :>Use a custom printer with the value :> cat > /path/to/my/printout :> :>This should work on unix and mac, :>but would need changing on windows. :> :>Note that this file will contain the whole index of the :>folder, not just the portion that was on the screen. :> :> -- Barry Landy Home: +44-1223-570417 192, Gilbert Road College: +44-1223-362062 Mobile +44-7771-933945 Cambridge CB4 3PB England Email BarryLandy@cantab.net From alpine-info at u.washington.edu Fri Jun 13 06:50:43 2025 From: alpine-info at u.washington.edu (D. Hugh Redelmeier via Alpine-info) Date: Fri Jun 13 06:50:46 2025 Subject: [Alpine-info] changing Alpine's window's title/header (under Gnome Terminal) Message-ID: <0a9eff40-9fe7-5fee-7513-1b2537b48912@mimosa.com> When I run Alpine in a Gnome terminal, it puts "alpine" in the window's header. This is something alpine is actively doing since the default terminal header (maintained by BASH) has user@host:directory. It turns out that I sometimes run alpine on different hosts at the same time. The window header doesn't allow me to tell which alpine is in which window. Is there a way to customize what Alpine sets the window header to? I searched for "alpine" in the config screen and none of the matches seemed to be for window headers. From alpine-info at u.washington.edu Fri Jun 13 07:14:58 2025 From: alpine-info at u.washington.edu (George Gutman via Alpine-info) Date: Fri Jun 13 07:15:23 2025 Subject: [Alpine-info] For Eduardo Chappa Message-ID: Eduardo, I've tried contacting you directly but have gotten no response (or bounces), could you please answer if only to tell me to stop? Thanks, George gagutman@uci.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From alpine-info at u.washington.edu Fri Jun 13 09:31:19 2025 From: alpine-info at u.washington.edu (Andrew C Aitchison via Alpine-info) Date: Fri Jun 13 09:31:42 2025 Subject: [Alpine-info] changing Alpine's window's title/header (under Gnome Terminal) In-Reply-To: <0a9eff40-9fe7-5fee-7513-1b2537b48912@mimosa.com> References: <0a9eff40-9fe7-5fee-7513-1b2537b48912@mimosa.com> Message-ID: <9652d0a0-d55c-cf75-93b6-00e66b89c875@aitchison.me.uk> On Fri, 13 Jun 2025, D. Hugh Redelmeier via Alpine-info wrote: > When I run Alpine in a Gnome terminal, it puts "alpine" in the window's > header. This is something alpine is actively doing since the default > terminal header (maintained by BASH) has user@host:directory. This does not happen for me on Ubuntu (25-04/plucky). Which distro are you using ? It may not actually be alpine, but a wrapper script which calls the alpine executable, in which case you may be able to disable this or change the string. > It turns out that I sometimes run alpine on different hosts at the > same time. The window header doesn't allow me to tell which alpine is in > which window. > > Is there a way to customize what Alpine sets the window header to? > I searched for "alpine" in the config screen and none of the matches > seemed to be for window headers. -- Andrew C. Aitchison Kendal, UK andrew@aitchison.me.uk From alpine-info at u.washington.edu Fri Jun 13 11:38:12 2025 From: alpine-info at u.washington.edu (D. Hugh Redelmeier via Alpine-info) Date: Fri Jun 13 11:38:16 2025 Subject: [Alpine-info] changing Alpine's window's title/header (under Gnome Terminal) In-Reply-To: <9652d0a0-d55c-cf75-93b6-00e66b89c875@aitchison.me.uk> References: <0a9eff40-9fe7-5fee-7513-1b2537b48912@mimosa.com> <9652d0a0-d55c-cf75-93b6-00e66b89c875@aitchison.me.uk> Message-ID: <296f5669-271a-bf9b-de1d-56d73b829ef3@mimosa.com> > From: Andrew C Aitchison > > On Fri, 13 Jun 2025, D. Hugh Redelmeier via Alpine-info wrote: > > > When I run Alpine in a Gnome terminal, it puts "alpine" in the window's > > header. This is something alpine is actively doing since the default > > terminal header (maintained by BASH) has user@host:directory. > > This does not happen for me on Ubuntu (25-04/plucky). > Which distro are you using ? Fedora 42. > It may not actually be alpine, but a wrapper script which calls the > alpine executable, in which case you may be able to disable this or > change the string. I don't see a wrapper script. /usr/bin/alpine is a binary. Fedora ships pretty plain versions of most things. Alpine is 2.26. I think that there is a patchset applied, but not generated by Fedora folks. I tried invoking alpine as /usr/bin/alpine and the window header still said "alpine". From alpine-info at u.washington.edu Fri Jun 13 11:49:50 2025 From: alpine-info at u.washington.edu (Matt Ackeret via Alpine-info) Date: Fri Jun 13 11:50:01 2025 Subject: [Alpine-info] saving index/printing to file? In-Reply-To: <1d72373b-07f4-7126-dc17-405a3bac0cb1@aitchison.me.uk> References: <1d72373b-07f4-7126-dc17-405a3bac0cb1@aitchison.me.uk> Message-ID: On Tue, 10 Jun 2025, Andrew C Aitchison wrote: > Use a custom printer with the value > cat > /path/to/my/printout > > This should work on unix and mac, > but would need changing on windows. > > Note that this file will contain the whole index of the > folder, not just the portion that was on the screen. oh, even if I'm in a zoomed selection, it's the whole folder? I'll try this in the future.. With a tall enough window, it really was only about 5 pages of results, so I manually copy/pasted the zoomed index pages to another file.. thanks. From alpine-info at u.washington.edu Fri Jun 13 12:39:02 2025 From: alpine-info at u.washington.edu (Lucio Chiappetti via Alpine-info) Date: Fri Jun 13 12:39:15 2025 Subject: [Alpine-info] changing Alpine's window's title/header (under Gnome Terminal) In-Reply-To: <0a9eff40-9fe7-5fee-7513-1b2537b48912@mimosa.com> References: <0a9eff40-9fe7-5fee-7513-1b2537b48912@mimosa.com> Message-ID: <4r6nq241-30so-p75-9781-p9980q9672q@ynzoengr.vans.vg> On Fri, 13 Jun 2025, D. Hugh Redelmeier via Alpine-info wrote: > When I run Alpine in a Gnome terminal, it puts "alpine" in the window's > header. This is something alpine is actively doing since the default > terminal header (maintained by BASH) has user@host:directory. I do not know Gnome terminal, but I doubt alpine, which is just a program running in whatever terminal interferes with the window decoration. I do not use gnome nor KDE nor any other desktop environment, but a window manager namely fvwm. And as terminals I use good old xterm or urxvt. However good well-behaved X11 applications (somebody would call them "old-fashioned" :-)) use Xtresources or command line switches like -T and/or -n. These days I mostly run alpine on my work machine [where I receive all mail] in an urxvt terminal where I ssh from home to my work machine. The title bar shows a thing like "Host hostame" user myname on terminal n" (which I achieve with alias wrapeprs around ssh). However if I run alpine natively on the work machine (physical console :0 or a VNC session on :1) my "mymail" alias invokes alpine in a pink urxvt where I set the title bar with these switches -T Mail\(Alpine\) -n Alpine So for me it is something you should control in your DE or WM. Either study the documentatation or find somebody who knows it. I went the former way long ago as for most things (I'm pretty hard in getting the machine doing what I want :-)) -- Lucio Chiappetti - INAF/IASF - via Corti 12 - I-20133 Milano (Italy) For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html ------------------------------------------------------------------------ "Se si maneggiassero di pi? i libri che le armi, non si vedrebbero tante stragi, tanti misfatti e tante brutture" (Aldo Manuzio, ca. 1506) "If people would handle more books than weapons, we would not see so msny carnages, misdeeds, and awful things." (Aldus Manutius, ca. 1506) From alpine-info at u.washington.edu Fri Jun 13 17:06:36 2025 From: alpine-info at u.washington.edu (Damion Yates via Alpine-info) Date: Fri Jun 13 17:06:51 2025 Subject: [Alpine-info] changing Alpine's window's title/header (under Gnome Terminal) In-Reply-To: <4r6nq241-30so-p75-9781-p9980q9672q@ynzoengr.vans.vg> References: <0a9eff40-9fe7-5fee-7513-1b2537b48912@mimosa.com> <4r6nq241-30so-p75-9781-p9980q9672q@ynzoengr.vans.vg> Message-ID: On Fri, Jun 13, 2025 at 8:39?PM Lucio Chiappetti via Alpine-info < alpine-info@u.washington.edu> wrote: > On Fri, 13 Jun 2025, D. Hugh Redelmeier via Alpine-info wrote: > > > When I run Alpine in a Gnome terminal, it puts "alpine" in the window's > > header. This is something alpine is actively doing since the default > > terminal header (maintained by BASH) has user@host:directory. > > I do not know Gnome terminal, but I doubt alpine, which is just a > program running in whatever terminal interferes with the window > decoration. > These are just escape characters and many cmdline apps do it including some people's configuration for bash prompts (e.g. PS1) to show the directory vim for what its editing. I seem to recall alpine (pine years ago) doing this for new mail, and there is a setting: [ ] Enable Newmail in Xterm Icon I'm assuming gnome-terminal is also honouring this. - Damion -------------- next part -------------- An HTML attachment was scrubbed... URL: From alpine-info at u.washington.edu Mon Jun 16 23:07:29 2025 From: alpine-info at u.washington.edu (Barry Landy via Alpine-info) Date: Mon Jun 16 23:07:33 2025 Subject: [Alpine-info] fastmail Message-ID: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> Hi - can anyone help? I am experimenting with using Alpine to access Fastmail. I can get the setup done but when Alpine wants me to provide a password whatever I try does not get accepted. My assumption is that the required password is the 16 character string provided by the fastmail "new app password" facility but Alpine just keeps repeatedly asking for a password. -- Barry Landy Home: +44-1223-570417 192, Gilbert Road College: +44-1223-362062 Mobile +44-7771-933945 Cambridge CB4 3PB England Email BarryLandy@cantab.net From alpine-info at u.washington.edu Mon Jun 16 23:42:39 2025 From: alpine-info at u.washington.edu (Wang Kang via Alpine-info) Date: Mon Jun 16 23:43:04 2025 Subject: [Alpine-info] fastmail In-Reply-To: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> References: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> Message-ID: Hi Barry, Fastmail user here. Short answer: Yes. You need to set up an new app password. PS: Hope my Fastmail configuration helps: https://github.com/scateu/alpine-patches/blob/master/examples/fastmail.pinerc -- Wang Kang Blog: http://scateu.me HAM Callsign: BH1RLW On Tue, 17 Jun 2025, Barry Landy via Alpine-info wrote: > Hi - can anyone help? > > I am experimenting with using Alpine to access Fastmail. > I can get the setup done but when Alpine wants me to provide a password > whatever I try does not get accepted. > > My assumption is that the required password is the 16 character string > provided by the fastmail "new app password" facility but Alpine just keeps > repeatedly asking for a password. > > From alpine-info at u.washington.edu Mon Jun 16 23:47:44 2025 From: alpine-info at u.washington.edu (Barry Landy via Alpine-info) Date: Mon Jun 16 23:47:51 2025 Subject: [Alpine-info] fastmail In-Reply-To: References: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> Message-ID: <04b7e95e-0f3c-a977-fb16-7c19065fa7c2@cantab.net> I there a longer answer? I have set up a new app password, but when I (for example) try to access INBOX Alpine asks for a password (as expected) and I put in the 16 characters and i just comes round (after a delay) and asks again. NB I am using Windows and not linux. On Tue, 17 Jun 2025, Wang Kang wrote: :>Hi Barry, :> :>Fastmail user here. :> :>Short answer: Yes. You need to set up an new app password. :> :> :>PS: Hope my Fastmail configuration helps: :>https://github.com/scateu/alpine-patches/blob/master/examples/fastmail.pinerc :> :> -- Barry Landy Home: +44-1223-570417 192, Gilbert Road College: +44-1223-362062 Mobile +44-7771-933945 Cambridge CB4 3PB England Email BarryLandy@cantab.net From alpine-info at u.washington.edu Mon Jun 16 23:53:06 2025 From: alpine-info at u.washington.edu (Andrew C Aitchison via Alpine-info) Date: Mon Jun 16 23:53:19 2025 Subject: [Alpine-info] fastmail In-Reply-To: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> References: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> Message-ID: <716e693e-124f-c4a8-0373-91823260fa68@aitchison.me.uk> On Tue, 17 Jun 2025, Barry Landy via Alpine-info wrote: > Hi - can anyone help? > > I am experimenting with using Alpine to access Fastmail. > I can get the setup done but when Alpine wants me to provide a password > whatever I try does not get accepted. > > My assumption is that the required password is the 16 character string > provided by the fastmail "new app password" facility but Alpine just keeps > repeatedly asking for a password. I know that the fastmail people were working on OAuth2, including standards for MUAs (eg alpine) to deduce what settings and addresses to use, rather than have to hard-code them into Alpine (Alpine 2.26 supports OAuth2 at GMail, Outlook, Yahoo and Yandex). Unfortunately there seemed to be a lot of standards involved in this and I never figured them out well enough to suggest what Eduardo should implement. *If* that is the problem you are having, figuring out what to hard-code for Fastmail might be simpler. -- Andrew C. Aitchison Kendal, UK andrew@aitchison.me.uk From alpine-info at u.washington.edu Mon Jun 16 23:53:35 2025 From: alpine-info at u.washington.edu (Wang Kang via Alpine-info) Date: Mon Jun 16 23:53:43 2025 Subject: [Alpine-info] fastmail In-Reply-To: <04b7e95e-0f3c-a977-fb16-7c19065fa7c2@cantab.net> References: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> <04b7e95e-0f3c-a977-fb16-7c19065fa7c2@cantab.net> Message-ID: <08e2a0fd-ed26-3501-dd36-3d788a112529@scateu.me> My first guess is that Windows has already remembered your wrong password (the web one, instead of the app password). My second guess is that when creating the app password, you accidently click on the wrong one. Right one: - Mail (IMAP/POP/SMTP) Wrong one: - Contacts(CardDAV) - Calendars(CalDAV) -- Wang Kang i@scateu.me Blog: http://scateu.me Fingerprint: 011F 0492 97D6 5D75 8AC4 6458 D43F 3CE2 3353 B7BD HAM Callsign: BH1RLW On Tue, 17 Jun 2025, Barry Landy wrote: > I there a longer answer? I have set up a new app password, but when I > (for example) try to access INBOX Alpine asks for a password > (as expected) and I put in the 16 characters and i just comes round > (after a delay) and asks again. > > NB I am using Windows and not linux. > > On Tue, 17 Jun 2025, Wang Kang wrote: > > :>Hi Barry, > :> > :>Fastmail user here. > :> > :>Short answer: Yes. You need to set up an new app password. > :> > :> > :>PS: Hope my Fastmail configuration helps: > :>https://github.com/scateu/alpine-patches/blob/master/examples/fastmail.pinerc > :> > :> > > From alpine-info at u.washington.edu Tue Jun 17 00:18:43 2025 From: alpine-info at u.washington.edu (Barry Landy via Alpine-info) Date: Tue Jun 17 00:18:52 2025 Subject: [Alpine-info] fastmail In-Reply-To: <08e2a0fd-ed26-3501-dd36-3d788a112529@scateu.me> References: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> <04b7e95e-0f3c-a977-fb16-7c19065fa7c2@cantab.net> <08e2a0fd-ed26-3501-dd36-3d788a112529@scateu.me> Message-ID: second guess is wrong. I picked the "right one". First guess is possible but I do have a blank line in which to type the 16 characters. The Alpine request for password verification has two fields login password what should be in the first of those? What I see is my username (no @fastmail) On Tue, 17 Jun 2025, Wang Kang wrote: :>My first guess is that Windows has already remembered your wrong password (the :>web one, instead of the app password). :> :>My second guess is that when creating the app password, you accidently click on :>the wrong one. :> :>Right one: :> - Mail (IMAP/POP/SMTP) :> :>Wrong one: :> - Contacts(CardDAV) :> - Calendars(CalDAV) :> :> :> -- Barry Landy Home: +44-1223-570417 192, Gilbert Road College: +44-1223-362062 Mobile +44-7771-933945 Cambridge CB4 3PB England Email BarryLandy@cantab.net From alpine-info at u.washington.edu Tue Jun 17 00:22:13 2025 From: alpine-info at u.washington.edu (Wang Kang via Alpine-info) Date: Tue Jun 17 00:22:20 2025 Subject: [Alpine-info] fastmail In-Reply-To: References: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> <04b7e95e-0f3c-a977-fb16-7c19065fa7c2@cantab.net> <08e2a0fd-ed26-3501-dd36-3d788a112529@scateu.me> Message-ID: My username field is 'myname@fastmail.com' The following is my settings: SMTP Server (for sending) = smtp.fastmail.com:465/ssl/user=scateu@fastmail.com Inbox Path = {imap.fastmail.com:993/ssl/user=scateu@fastmail.com}INBOX -- Wang Kang i@scateu.me Blog: http://scateu.me HAM Callsign: BH1RLW On Tue, 17 Jun 2025, Barry Landy wrote: > second guess is wrong. I picked the "right one". > > First guess is possible but I do have a blank line in which to type the > 16 characters. > > The Alpine request for password verification has two fields > > login > password > > what should be in the first of those? What I see is my username (no > @fastmail) > > > On Tue, 17 Jun 2025, Wang Kang wrote: > > :>My first guess is that Windows has already remembered your wrong password (the > :>web one, instead of the app password). > :> > :>My second guess is that when creating the app password, you accidently click on > :>the wrong one. > :> > :>Right one: > :> - Mail (IMAP/POP/SMTP) > :> > :>Wrong one: > :> - Contacts(CardDAV) > :> - Calendars(CalDAV) From alpine-info at u.washington.edu Tue Jun 17 00:25:42 2025 From: alpine-info at u.washington.edu (Barry Landy via Alpine-info) Date: Tue Jun 17 00:25:49 2025 Subject: [Alpine-info] fastmail In-Reply-To: References: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> <04b7e95e-0f3c-a977-fb16-7c19065fa7c2@cantab.net> <08e2a0fd-ed26-3501-dd36-3d788a112529@scateu.me> Message-ID: <40e6c660-d0f8-838a-72f3-33e081d3a978@cantab.net> On Tue, 17 Jun 2025, Wang Kang wrote: :>My username field is 'myname@fastmail.com' that's probably what is wrong then, so I will try that. Thanks! :> :>The following is my settings: :> :>SMTP Server (for sending) = smtp.fastmail.com:465/ssl/user=scateu@fastmail.com :>Inbox Path = {imap.fastmail.com:993/ssl/user=scateu@fastmail.com}INBOX :> :> :> -- Barry Landy Home: +44-1223-570417 192, Gilbert Road College: +44-1223-362062 Mobile +44-7771-933945 Cambridge CB4 3PB England Email BarryLandy@cantab.net From alpine-info at u.washington.edu Tue Jun 17 05:36:27 2025 From: alpine-info at u.washington.edu (Chime Hart via Alpine-info) Date: Tue Jun 17 05:36:31 2025 Subject: [Alpine-info] fastmail In-Reply-To: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> References: <3933350d-d9a9-0d1a-3646-5716f8239bf8@cantab.net> Message-ID: <0e325894-0e60-8187-cd4d-85f91ac305ff@hubert-humphrey.com> Hi Barry-and-All: 1 of my Linux experts with a graphical browser got me going with Fastmail. I am in Debian Linux-and-here is an entry in my pine rc smtp.fastmail.com:587/tls/user=chime@hubert-humphrey.com Unfortunately the Fastmail site is loaded with javascript, so I cannot go in there in LYNX. And lastly, shortly after I joined, they restricted ftp access to specific types of secure clients. I would much rather use ncftp, as its interface has `alot of option, but I must use Cadaver. An only other strange item, there are some e-mails which always stay at Fastmail, where all others but for spam will arrive at my hard-drive. I can arrow down to a folder which says "fastmail" and view or delete these items. Chime From alpine-info at u.washington.edu Sun Jun 29 08:22:00 2025 From: alpine-info at u.washington.edu (Chime Hart via Alpine-info) Date: Sun Jun 29 08:22:06 2025 Subject: [Alpine-info] Looking for Suggestions for a Clari Script, Please? Message-ID: Hi All: Well, after help from this list, we now have those clari articles as separate items. Now, I would like to type "clari" and endup in either /home/chime/clari to access these articles, or endup in Easynews reading Clari stories. Years ago this script was written for me, but I had to change pine to alpine. Another thing which would be really helpful would be having a slightly altered .pinerc while reading Clari, which would display the date. In my normal .pinerc I have just index-format=msgno from subject(75% It would be better if the date would include a year. #!/bin/sh # Run pine with just the Clarinet groups NEWSRC=${HOME}/.newsrc.clari;export NEWSRC alpine -IL -newsrc-path=${NEWSRC} Back again live. That script just puts me in an incoming folders list. I bet some1 will suggest a separate name such as .pinerc-clari? Thanks so much in advance. Chime From alpine-info at u.washington.edu Sun Jun 29 16:07:58 2025 From: alpine-info at u.washington.edu (Chime Hart via Alpine-info) Date: Sun Jun 29 16:08:02 2025 Subject: [Alpine-info] Can I Change A Working Directory While in Alpine? Message-ID: Hi All: In addition to my questions this morning, I wonder if there are ways of switching my current directory while in an Alpine session? Sure, I suppose I could suspend-and-cd somewhere, then fg to resume. In LYNX I can use a capital C to change dirs. If not, maybe please consider as a wishlist item. Thanks in advance. Chime From alpine-info at u.washington.edu Mon Jun 30 00:31:36 2025 From: alpine-info at u.washington.edu (Andrew C Aitchison via Alpine-info) Date: Mon Jun 30 00:31:51 2025 Subject: [Alpine-info] Can I Change A Working Directory While in Alpine? In-Reply-To: References: Message-ID: <3d9e671d-03fa-db76-b5b7-f793dfb3a597@aitchison.me.uk> On Sun, 29 Jun 2025, Chime Hart via Alpine-info wrote: > In addition to my questions this morning, I wonder if there are ways > of switching my current directory while in an Alpine session? I don't know of any, sorry. > Sure, I suppose I could suspend-and-cd somewhere, then fg > to resume. I don't think that that will work. The shell will get a new current directory, but I don't think alpine will be told about the change. > In LYNX I can use a capital C to change dirs. > If not, maybe please> consider as a wishlist item. I am not actually sure how alpine uses current directory. I see that when saving attachments there are options ctrl-y and ctrl-v to scroll through recent directories and up and down arrows to scroll through recent files. Are those options any help ? -- Andrew C. Aitchison Kendal, UK andrew@aitchison.me.uk From alpine-info at u.washington.edu Mon Jun 30 05:51:43 2025 From: alpine-info at u.washington.edu (Chime Hart via Alpine-info) Date: Mon Jun 30 05:51:48 2025 Subject: [Alpine-info] Can I Change A Working Directory While in Alpine? In-Reply-To: <3d9e671d-03fa-db76-b5b7-f793dfb3a597@aitchison.me.uk> References: <3d9e671d-03fa-db76-b5b7-f793dfb3a597@aitchison.me.uk> Message-ID: <6aba295b-6a79-63df-6f53-2649f17dfb79@hubert-humphrey.com> Thank you Andrew: While I didn't know of those 2 options, generally, I either change directory before I start Alpine, or manually type a full-path when saving. I was just hoping there were a better way. Chime