ThomasHabets / cmdg

Command line Gmail client
Other
201 stars 22 forks source link

Can't start cmdg after configuration #69

Closed ThatOneCalculator closed 4 years ago

ThatOneCalculator commented 4 years ago

I did all of the configuration with the ClientID/Client Secret/Web request, it looked good, then I ran cmdg and got


INFO[0000] cmdg 1.00+
FATA[0000] You need to set the PAGER environment variable. When in doubt, set to 'less'.```
ThomasHabets commented 4 years ago

Before starting cmdg, set environment variables to indicate some programs.

E.g.:

export PAGER=less
export VISUAL=emacs

VISUAL (or EDITOR, if VISUAL is not set) is used to compose emails (incl replies). PAGER is used for looking at raw email sources (the backslash key).