Text it.

Hey drop us a line about the show. Feel free to ask questions, provide feedback and criticism, or just ramble on about anything your little heart desires.

Moderators: snarkout, Patrick, dann

Post Reply
User avatar
Posts: 974
Joined: Wed Sep 05, 2007 10:46 pm
Location: here

Text it.

Post by eddie » Thu Oct 27, 2011 10:45 pm

Recently put Debian Squeeze (with grub2) on an old dell g1 (333mhz with 256 megs ram). Anyway although I am an amateur at the command line. I set up a text only machine with no gui. Love it when Linc talks about his tricks with the command line. Mutt will be installed on it.

Increased the screen resolution setup in grub 2. A bit more involved than the vga=??? under grub 1, but it was worth it. (http://geekomatic.ch/2011/03/01/1298966700000.html). Anyway, you can do a bit of graphics on a text terminal.

Video on the system.
http://www.youtube.com/watch?feature=pl ... enUUP2GM4g

http://www.instructables.com/id/Graphic ... ext-world/

Thanx for all the good shows!

Correct me if I am wrong.

$ sudo apt-get install mutt openssl

$ mkdir .mutt
$ mkdir .mutt/cache

enter into .muttrc, then edit the first four lines with your specs:

Code: Select all

set from = "username@gmail.com"
set realname = "Real name"
set imap_user = "username@gmail.com"
set imap_pass = "password"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed ="+[Gmail]/Drafts"
set trash = "imaps://imap.gmail.com/[Gmail]/Trash"
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates
bind editor <space> noop
macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
macro index gs "<change-folder>=[Gmail]/Sent Mail<enter>" "Go to Sent Mail"
macro index gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
set move = no  #Stop asking to "move read messages to mbox"!
set imap_keepalive = 900
# Header stuff
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc

ignore *
unignore from: date subject to cc
unignore x-mailing-list: posted-to:
unignore x-mailer:

# For better looks
set markers=no # don't put '+' at the beginning of wrapped lines
set pager_index_lines= 5 # how large is the index window?
set sort = 'threads'
set sort_aux = 'last-date-received'

# My Editor
set editor='vim + -c "set textwidth=72" -c "set wrap" -c "set nocp" -c "?^$"'

# My Rolodeck :)
#set alias_file= ~/.mutt/aliases
#set sort_alias= alias
#set reverse_alias=yes
#source $alias_file
$ chmod 700 .muttrc
$ mutt

Post Reply