<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Alpine email &#8211; Greg Laden&#039;s Blog</title>
	<atom:link href="https://gregladen.com/blog/tag/alpine-email/feed/" rel="self" type="application/rss+xml" />
	<link>https://gregladen.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 08 Oct 2010 10:05:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.8</generator>

<image>
	<url>https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2017/10/Greg_Ladens_Blog_Favicon_black_GLb.png?fit=32%2C32&#038;ssl=1</url>
	<title>Alpine email &#8211; Greg Laden&#039;s Blog</title>
	<link>https://gregladen.com/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">77525483</site>	<item>
		<title>Using Google Calendar from the Linux Command Line</title>
		<link>https://gregladen.com/blog/2010/10/08/using-google-calendar-from-the/</link>
					<comments>https://gregladen.com/blog/2010/10/08/using-google-calendar-from-the/#comments</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Fri, 08 Oct 2010 10:05:04 +0000</pubDate>
				<category><![CDATA[Alpine email]]></category>
		<category><![CDATA[command line interface]]></category>
		<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2010/10/08/using-google-calendar-from-the/</guid>

					<description><![CDATA[Computer-based calendars are very useful, and the Google Calendar is probably one of the more widely used personal calendars other than scheduling programs such as MS Outlook and Groupwise (both of which are broken). But, webby gooey applications can be rather bothersome because they tend to take up a lot of screen real estate and &#8230; <a href="https://gregladen.com/blog/2010/10/08/using-google-calendar-from-the/" class="more-link">Continue reading <span class="screen-reader-text">Using Google Calendar from the Linux Command Line</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Computer-based calendars are very useful, and the Google Calendar is probably one of the more widely used personal calendars other than scheduling programs such as MS Outlook and Groupwise (both of which are broken).  But, webby gooey applications can be rather bothersome because they tend to take up a lot of screen real estate and other resources, and on smaller screens such as a laptop can be rendered virtually useless by all that added functionality built into the web browser itself as well as the calendar page.  It is quite possible that on your laptop, your Google Calendar may look something like this:</p>
<p><img decoding="async" src="https://i0.wp.com/scienceblogs.com/gregladen/wp-content/blogs.dir/472/files/2012/04/i-db80841539964342991966740f989f08-01-gcalcli.jpg?w=604" alt="i-db80841539964342991966740f989f08-01-gcalcli.jpg" data-recalc-dims="1" /></p>
<p>Not very useful.<br />
<span id="more-8888"></span></p>
<div style="text-align: center;"><em>~ This post is one of a series on the topic of Command Line Interface applications in Linux. <a href="http://scienceblogs.com/gregladen/command_line_interface_cli/"> Click here to see a list of all of the related posts.</a>~</em></div>
<p>It is a little easier if you use Google Calendar&#8217;s &#8220;agenda view&#8221; which simply lists, in chronological order, the upcoming appointments, so days on which you have nothing scheduled do not take up space.  Like this:</p>
<p><img decoding="async" src="https://i0.wp.com/scienceblogs.com/gregladen/wp-content/blogs.dir/472/files/2012/04/i-2835438fcb35ba824f9bbf28ab03a215-02_gcalcli.jpg?w=604" alt="i-2835438fcb35ba824f9bbf28ab03a215-02_gcalcli.jpg" data-recalc-dims="1" /></p>
<p>But that still kind of sucks, since the vast majority of information on that screen has little to do with the information you are looking for.  As long as a command line interface is available, which it is, wouldn&#8217;t it be nice to have a quick and dirty command that you could type in to retrieve your calendar, perhaps manipulate it, and even get a simple text-based agenda view that one can actually see?</p>
<p>There is, and it&#8217;s called gcalcli.  When I type &#8220;gcalcli&#8221; into a command line with the argument &#8220;agenda&#8221;, I get this:</p>
<p><img decoding="async" src="https://i0.wp.com/scienceblogs.com/gregladen/wp-content/blogs.dir/472/files/2012/04/i-96d93409adbe61ac802b5ba8011bd75d-03_gcal.cli.jpg?w=604" alt="i-96d93409adbe61ac802b5ba8011bd75d-03_gcal.cli.jpg" data-recalc-dims="1" /></p>
<p>With relatively little configuration, gcalcli knows where to go and get my calendar information.  The program has lots of options, most of which are used to select among the various calendars you have access to or to configure the output. When I typed in:</p>
<p><code>gcalcli list</code></p>
<p>the program outputs a list of four calendars that I have access to.  I knew about the first two of them already.  The third is a calendar called &#8220;US Holidays&#8221; which I imagine comes along with Google Calendar.  The fourth is that of an organization I belong to, though I had forgotten about the calendar.</p>
<p>One option tells the &#8220;agenda&#8221; command to include all the details within the calendar and not just the date/time and name of event.  The calendars can be searched (but for whole words only).  Another command outputs a week&#8217;s calendar in a nice formatted arrangement:</p>
<p><img decoding="async" src="https://i0.wp.com/scienceblogs.com/gregladen/wp-content/blogs.dir/472/files/2012/04/i-1b13e74a1dbc623f24e567e2f4ad3390-04_gcalcli.jpg?w=604" alt="i-1b13e74a1dbc623f24e567e2f4ad3390-04_gcalcli.jpg" data-recalc-dims="1" /></p>
<p>And, yet another outputs an entire month. Unfortunately, when I tried that I got an error and some gobbly-code.</p>
<p>It is possible to add single appointments using the command &#8220;quick&#8221;:</p>
<p><img decoding="async" src="https://i0.wp.com/scienceblogs.com/gregladen/wp-content/blogs.dir/472/files/2012/04/i-109c6079e38979f55bb77632994a9b43-05_gcalcli.jpg?w=604" alt="i-109c6079e38979f55bb77632994a9b43-05_gcalcli.jpg" data-recalc-dims="1" /></p>
<p>There is also a way to execute a command if an event is to occur within a certain amount of time.  This might be run on start up of a particular terminal or integrated with a chron job, to develop your own personal way of annoying yourself into getting your stuff done.</p>
<p>There are lots of other options.  You can read more about it <a href="http://code.google.com/p/gcalcli/">here</a>, and if you are using Debian/Ubuntu, you can install the software in synaptic (search for gcalcli) or by simply typing the magic words:</p>
<p><code>sudo apt-get install gcalcli</code></p>
<p>This application firmly sits in the Class II cli App category, which I&#8217;ve discussed before.  This is where you want a GUI version and a cli version of the same app, in this case, accessing the same database.  Different circumstances demand different approaches.  Learning two or three commands with gcalcli will augment your Google Calendar experience and make you look really cool at the coffee shop.  But there will still be times when the web-based GUI interface makes the most sense.</p>
<p>Furthermore, and I&#8217;m sure you already know this, you can easily define and save an alias for &#8220;gcalcli agenda&#8221; (or any other combination of frequently used commands and options) so you would type only, say &#8220;agenda&#8221; or &#8220;appointments&#8221; or whatever to get the output you need on a regular basis.</p>
<p>Here&#8217;s another little trick in case you want to totally geek out.  If you are using alpine for your email (I&#8217;ll discuss this great app later) you can type in ctrl-_ and call emacs as your secondary editor.  From within emacs, select some irrelevant text (that step may not be necessary) and type ctrl-u to cause the output of the next command to replace that text.  Then type shift-alt-| (the vertical bar thingie), which allows you to enter a shell command.  Then, type in</p>
<p><code>gcalcli --nc agenda</code></p>
<p>The &#8211;nc strips the output of its color coding control codes, which are messy when they are not spewed onto a terminal.  The selected text will be replaced with your agenda in nice, text form.  Save, exit, and you&#8217;re back in alpine with your email to your significant other who just asked you &#8220;Are you available Wednesday night to go pick up the new car seat?&#8221; or whatever.</p>
<p>Obviously once you&#8217;ve done that a few times and perhaps refined the exact procedure, you&#8217;d make these commands into a macro so little more than a stern look and the flip of a single finger will insert your current agenda into whatever email you are currently writing.  How cool is that?</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2010/10/08/using-google-calendar-from-the/feed/</wfw:commentRss>
			<slash:comments>18</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">8888</post-id>	</item>
		<item>
		<title>Running Alpine in Function Key Mode</title>
		<link>https://gregladen.com/blog/2009/10/22/running-alpine-in-function-key/</link>
					<comments>https://gregladen.com/blog/2009/10/22/running-alpine-in-function-key/#respond</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Thu, 22 Oct 2009 11:36:25 +0000</pubDate>
				<category><![CDATA[Alpine email]]></category>
		<category><![CDATA[command line interface]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2009/10/22/running-alpine-in-function-key/</guid>

					<description><![CDATA[By now I assume you&#8217;ve experimented with Alpine, as a character-based email client. Well, I have another tip for you. I have been using alpine almost exclusively for a few weeks now. I switch to Evolution now and then because it is easier to gather groups of emails and move them to storage folders, etc. &#8230; <a href="https://gregladen.com/blog/2009/10/22/running-alpine-in-function-key/" class="more-link">Continue reading <span class="screen-reader-text">Running Alpine in Function Key Mode</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>By now I assume you&#8217;ve experimented with Alpine, as a character-based email client.  Well, I have another tip for you.<br />
<span id="more-6777"></span><br />
I have been using alpine almost exclusively for a few weeks now.  I switch to Evolution now and then because it is easier to gather groups of emails and move them to storage folders, etc. in a fully GUI program, but for the most part, if you have been communicating with me via email at all over the last few weeks, you have to imagine me on this end looking at a terminal window, using a character based program, mouse-free, typing rather than clicking.</p>
<p><a href="http://scienceblogs.com/gregladen/alpine_email/">I&#8217;ve provided a few technical tips and tricks for alpine,</a> and here&#8217;s another one.  In Linux, if you startup alpine like this:</p>
<p><code>alpine -k</code></p>
<p>you get the function key version.  This replaces the control keys with function keys, and the help system reflects this change very nicely.  I&#8217;m going to consider using it on my desktop in the Blog Cave, because that has an Avant Stellar keyboard with a set of function keys on the left side.  I&#8217;m currently using these keys for something else (well, some of them) but I can play around with the old wordperfect model of having a truly extended almost-touch typing keyboard and see how that goes.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2009/10/22/running-alpine-in-function-key/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6777</post-id>	</item>
		<item>
		<title>Do you want the alpine email client to remember your passwords?</title>
		<link>https://gregladen.com/blog/2009/10/08/do-you-want-the-alpine-email-c/</link>
					<comments>https://gregladen.com/blog/2009/10/08/do-you-want-the-alpine-email-c/#comments</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Thu, 08 Oct 2009 12:25:53 +0000</pubDate>
				<category><![CDATA[Alpine email]]></category>
		<category><![CDATA[command line interface]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2009/10/08/do-you-want-the-alpine-email-c/</guid>

					<description><![CDATA[By default, the text-based email client &#8216;alpine&#8217; requests a password the first time, per session, that it is requested a password from any email services it checks. For the duration of that session, it remembers the password, but forgets it if you quit alpine so you have to enter it again later. From a security &#8230; <a href="https://gregladen.com/blog/2009/10/08/do-you-want-the-alpine-email-c/" class="more-link">Continue reading <span class="screen-reader-text">Do you want the alpine email client to remember your passwords?</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>By default, the text-based email client &#8216;alpine&#8217; requests a password the first time, per session, that it is requested a password from any email services it checks.  For the duration of that session, it remembers the password, but forgets it if you quit alpine so you have to enter it again later. From a security point of view, that is probably a good thing, but most people do like to have their email client remember the password between sessions.<br />
<span id="more-6610"></span><br />
The way this works in alpine seems a little obscure at first, but actually makes a lot of sense.  Alpine checks for a file in which passwords should be stored, and if it is there, it behaves differently.</p>
<p>If the file exists, and alpine is asked for a password, then it checks that file for the password. If it is not there it asks you for the password, and then, after you&#8217;ve entered it, alpine asks you if you want to save that password in the file.  If you say yes, then you are in business.</p>
<p>This has two important implications for you.  One:  If you want alpine to remember passwords, just create the file and it will happen.  Two: If you have trouble at some later time with some kind of operation and you think that the part about asking for the password is screwing you up, delete the file and restart the program (you&#8217;ll have to know the password, of course, for when you are prompted for it later).</p>
<p>How do you create the file?  Using the bash command &#8216;touch&#8217; should do.  But what file do you need to create?  Well, that depends.  The file alpine uses is determined at compile time.  At present, it seems that the current version of alpine is using a file called &#8216;.pine-passfile&#8217; (note the dot at the beginning of the file &#8230; this is a hidden file) and this file should be in your home directory.</p>
<p>So, to make this work:</p>
<p>1) Quit alpine</p>
<p>2) In a termnial, type:</p>
<p><code>touch .pine-passfile</code></p>
<p>3) Restart alpine, check for email and send email, and when asked for a password, enter it and respond &#8220;yes&#8221; to the prompt asking you if you want to save the password.</p>
<p>4) Give your mouse a little piece of cheese so it does not feel lonely.</p>
<p>For more information about alpine <STRONG><a href="http://scienceblogs.com/gregladen/alpine_email/">click here</a></STRONG>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2009/10/08/do-you-want-the-alpine-email-c/feed/</wfw:commentRss>
			<slash:comments>12</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6610</post-id>	</item>
		<item>
		<title>alpine email software: the better way to opening links</title>
		<link>https://gregladen.com/blog/2009/10/05/alpine-email-software-the-bett/</link>
					<comments>https://gregladen.com/blog/2009/10/05/alpine-email-software-the-bett/#comments</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Mon, 05 Oct 2009 15:52:40 +0000</pubDate>
				<category><![CDATA[alpine]]></category>
		<category><![CDATA[Alpine email]]></category>
		<category><![CDATA[command line interface]]></category>
		<category><![CDATA[email client]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2009/10/05/alpine-email-software-the-bett/</guid>

					<description><![CDATA[For today&#8217;s Linux Hint: How to pick which browser will open when you pick a link while using apine in Ubuntu. Sometimes there is a URL in an email that you want to visit. In a GUI email brower, you click on it with the mouse. In apine you navigate to the link with the &#8230; <a href="https://gregladen.com/blog/2009/10/05/alpine-email-software-the-bett/" class="more-link">Continue reading <span class="screen-reader-text">alpine email software: the better way to opening links</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>For today&#8217;s Linux Hint:  How to pick which browser will open when you pick a link while using apine in Ubuntu.<br />
<span id="more-6605"></span><br />
Sometimes there is a URL in an email that you want to visit.  In a GUI email brower, you click on it with the mouse.  In apine you navigate to the link with the usual navigation keys (but the first link will already be selected for you) and hit enter to open the link.</p>
<p>The default that alpine comes with, at least on my machine, seems to be the Epiphany browser  I have no idea why.  And when it goes there, it opens the browser and freezes the alpine screen, so I have to close the browser to go back to the email.</p>
<p>How quaint.</p>
<p>What I want it to do, of course is to open a tab in the most recently touched instance of Firefox, and not freeze the browser.  This way I can navigate quickly through the links and open the ones I want to see as rapidly and efficiently as possible, each in a new tab.</p>
<p>To make this work, you need to do two things.  First, navigate to the option for url-viewer in alpine. Second, enter the full path to the firefox browser.  You can&#8217;t just enter &#8220;firefox&#8221; because &#8230; well, it won&#8217;t work for some reason that escapes me.</p>
<p>Navigate to the url-path by starting at the main menu, going to setup [S], then Configure [C], then ctrl-W to search and put in &#8216;url-v&#8217; as the shortest string that will get you where you are going right away.</p>
<p>Then hit enter, and type in:</p>
<p>/usr/bin/firefox</p>
<p>Then reach over to your mouse and give it a little pet so it does not feel lonely, then hit enter and accept the value, Exit setup [E], confirm exit [Y] and go back to reading your email.</p>
<p>So, in short,</p>
<p>MSC ctrl-W url-v[ENTER]/usr/bin/firefox[ENTER]EY</p>
<p>(the MSCWE and Y need not be in upper case, it is just convention to show them that way)</p>
<p>Now, url&#8217;s will open in firefox, in the last used window, in a new tab.</p>
<p>Now, if you are more of a geek today than you were yesterday, you&#8217;d set your URL reader to lynx.  If you do that, Lynx will open as a process in the same terminal window alpine is using (though this behavor can be altered by entering switches in the url-viewer option section, most likely) so you will need to quit [Q] lynx to get back to alpine.  Try it, it&#8217;s a trip.  Lynx is a bitch.</p>
<p>How, if tomorrow you find yourself waking up as even more of a geek than you did today, use a shell script using wget and some perl one liners to convert the url contents into a well behaved text file that you then process using sed.</p>
<p>Tame Teh Internet!</p>
<p>For more information about alpine <STRONG><a href="http://scienceblogs.com/gregladen/alpine_email/">click here</a></STRONG>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2009/10/05/alpine-email-software-the-bett/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6605</post-id>	</item>
		<item>
		<title>How to get alpine to spell check your email</title>
		<link>https://gregladen.com/blog/2009/10/04/how-to-get-alpine-to-spell-che/</link>
					<comments>https://gregladen.com/blog/2009/10/04/how-to-get-alpine-to-spell-che/#comments</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Sun, 04 Oct 2009 00:24:59 +0000</pubDate>
				<category><![CDATA[Alpine email]]></category>
		<category><![CDATA[command line interface]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">http://scienceblogs.com/gregladen/2009/10/04/how-to-get-alpine-to-spell-che/</guid>

					<description><![CDATA[If you are using alpine as your email client, you may find that hitting ctrl-T to invoke a spell checker does not work, in alpine 1.0 as installed in Ubuntu. It is easy to fix. I looked around for the answer to this question, but it is a bit esoteric so there is very little, &#8230; <a href="https://gregladen.com/blog/2009/10/04/how-to-get-alpine-to-spell-che/" class="more-link">Continue reading <span class="screen-reader-text">How to get alpine to spell check your email</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>If you are using alpine as your email client, you may find that hitting ctrl-T to invoke a spell checker does not work, in alpine 1.0 as installed in Ubuntu.  It is easy to fix.<br />
<span id="more-27256"></span><br />
I looked around for the answer to this question, but it is a bit esoteric so there is very little, and what there is stands mainly as examples of the down side of community support.  People state that the spell checker is not working, and others answer with various bits of advice that do not work at all because they are nothing other than vague guesses that do not address the problem.</p>
<p>It is possible, even probable, that other distros install alpine in a manner that functions correctly, and this may be a bug in the Ubuntu distribution, but I&#8217;m not sure.  In any event, this is what you can try to fix it:</p>
<p>From within alpine, be at or go to the main menue</p>
<p>go to setup (S)<br />
go to configure (C)</p>
<p>search for &#8220;spell&#8221; using ctrl-W (hit ctrol-w then type in &#8220;spell&#8221; without the quotes and hit enter)</p>
<p>You will arrive at the option &#8220;Spell Check Before Sending&#8221; &#8230; check that if you like, up to you.</p>
<p>Hit ctrl-W again and accept the default (&#8220;spell&#8221;)</p>
<p>You should now be at the option &#8220;Speller&#8221; which probably has no value set.</p>
<p>Hit enter to allow entry of a value, and type in:</p>
<p>aspell -c</p>
<p>This assumes you have aspell installed, which, if yo ure using Ubuntu you do.  Note that the tricky part here is the &#8216;-c&#8217; option.  This causes alpine to invoke aspell in the &#8220;check spelling&#8221; mode.</p>
<p>If that does not work, complain in the comments below and someone will figure it out for you.  Maybe.</p>
<p>For more information about alpine <STRONG><a href="http://scienceblogs.com/gregladen/alpine_email/">click here</a></STRONG>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2009/10/04/how-to-get-alpine-to-spell-che/feed/</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">27256</post-id>	</item>
	</channel>
</rss>
