Thread View: news.software.readers
3 messages
3 total messages
Started by krass1
Sun, 02 May 1999 00:00
Problems posting with tin
Author: krass1
Date: Sun, 02 May 1999 00:00
Date: Sun, 02 May 1999 00:00
11 lines
1326 bytes
1326 bytes
When I attempt to post an article with the UNIX program "tin", it only allows me to specify the subject. Once I hit "Enter", it doesn't allow me to write the actual article -- it just asks if I want to send it, edit it, or quit. I can't edit it either. I'm thinking that I need to somehow link an editor to the program, but since I'm not a Unix expert yet, I'm not sure how to do it. Can somebody tell me what I need to do in order to post with tin? -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: Problems posting with tin
Author: krass1
Date: Sun, 02 May 1999 00:00
Date: Sun, 02 May 1999 00:00
20 lines
1760 bytes
1760 bytes
Nevermind. I figured out how to set an editor by looking at the DejaNews archives for this group. Sorry for the wasted post. In article <7ggbmt$sre$1@nnrp1.dejanews.com>, krass1@my-dejanews.com wrote: > When I attempt to post an article with the UNIX program "tin", it only allows > me to specify the subject. Once I hit "Enter", it doesn't allow me to write > the actual article -- it just asks if I want to send it, edit it, or quit. I > can't edit it either. I'm thinking that I need to somehow link an editor to > the program, but since I'm not a Unix expert yet, I'm not sure how to do it. > Can somebody tell me what I need to do in order to post with tin? > > -----------== Posted via Deja News, The Discussion Network ==---------- > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own > -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: Problems posting with tin
Author: Alan Mackenzie
Date: Sun, 02 May 1999 00:00
Date: Sun, 02 May 1999 00:00
67 lines
3359 bytes
3359 bytes
krass1@my-dejanews.com wrote:
> When I attempt to post an article with the UNIX program "tin", it only allows
> me to specify the subject. Once I hit "Enter", it doesn't allow me to write
> the actual article -- it just asks if I want to send it, edit it, or quit. I
> can't edit it either. I'm thinking that I need to somehow link an editor to
> the program, but since I'm not a Unix expert yet, I'm not sure how to do it.
> Can somebody tell me what I need to do in order to post with tin?
Ah, the dreaded vi!
What tin does is to invoke the standard Unix editor, vi. It's one of
these programs that's much easier to use (having learnt it) than to learn
how to use. I have been told (and I'm sure it's true), that it's a
delight to use. (I've just started to learn it).
You could avoid vi altogether by setting the EDITOR environment variable
to something else, preferably in your .profile, e.g.
export EDITOR=emacs
or
setenv EDITOR=emacs
(depending on which shell you are using).
(Note that even though emacs is my favourite editor (in fact it's my
alltime favourite program of any sort), I don't recommend it here,
because for me it seems to be over the top for simple news posts. Your
mileage may vary, of course.)
You can find introductions to vi in many places:
(i) in the manuals of the better Linux distributions (e.g. S.u.S.E.);
(ii) in some general books: (e.g. "Linux in a Nutshell by J.Hekman", or
"Running Linux" by M.Welsh and L.Kaufman);
(iii) in a book specifically about vi;
(iv) in the online help. (Type <:help> in command mode.)
To get you started, note that vi works in two modes, INSERT mode and
COMMAND mode (which is where you start). (Actually, COMMAND mode has
an extended mode as well, see below). A minimum working set of commands
follows:
The following commands (case sensitive) will get you into insert mode:
<i> "Insert before current position"
<a> "Insert after current position"
To get back to COMMAND mode, press <ESC>.
Here are some convenient commands:
<x> "delete the character under the cursor"
<dd> "delete the entire line the cursor is in"
<J> "join the next line onto the end of this one"
Here are some convenient extended commands:
<:q> "quit, without having changed the buffer"
<:q!> "quit, discarding changes"
<:w> "Save the changes"
<:wq> ... (work it out!)
<:help> ... (look this one up in the online help facility!)
Enjoy!
--
Alan Mackenzie (Munich, Germany)
Email: ayeseeemm@emmyousee.deeeee; to decode, replace "aye" by 'a', "see"
by 'c', etc.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads