Subject: A Pine editing question

From: Seth Kurtzberg <[email-masked]>
Date: Wed, 1 Mar 2000 18:35:10 -0700 (MST)

All,

Is there a command in Pine that works like the emacs "fill paragraph"?
That is, when I go back and add text in the middle of a paragraph, and end
up with short lines, is there a command to modify the text so that it
appears as it would if I had typed it directly, without corrections?

Seth Kurtzberg
Machine Independent Software
Cell (602) 478-5511
Fax: (480) 614-8909
email:  [email-masked]
pager:  888-605-9296 or email [email-masked]

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: "Eduardo Chappa L." <[email-masked]>
Date: Wed, 1 Mar 2000 18:03:33 -0800 (PST)

*** Seth Kurtzberg wrote in the pine-info list today:

:) Is there a command in Pine that works like the emacs "fill paragraph"?
:) That is, when I go back and add text in the middle of a paragraph, and end
:) up with short lines, is there a command to modify the text so that it
:) appears as it would if I had typed it directly, without corrections?
:) 

Yes and not. There is a command to Justify a paragraph (^J). This command
will justify correctly quoted text, but only the first level of quoting,
other levels get messed. It also assumes that every line in the same
paragraph (except the first) has a character (different from blank) in the
first column. Otherwise the complete paragraph won't get completely
justified. If you believe that Pico did not justify correctly a paragraph
you can undo it pressing ^U. The catch is that this command works only if
you do it exactly after pressing ^J, otherwise ^U is mapped to Uncut Text
and pressing that by mistake may make things worse for you.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/

---

From: "Frederic L. W. Meunier" <[email-masked]>
Date: Thu, 2 Mar 2000 01:05:50 -0300 (EST)

BTW, I'm using Pine with Pico since a long time, but never had
success trying to mark some lines of text to remove them later.
I looked at the help for this, but the key sequence didn't
work. ^^ isn't working for me. Any hints? Or any way to make it
more user friendly, say, change this binding?

Thanks in advance.

On 2000-03-01 (Yesterday) at 18:03 -0800, Eduardo Chappa L. typed:

| *** Seth Kurtzberg wrote in the pine-info list today:
| 
| :) Is there a command in Pine that works like the emacs "fill paragraph"?
| :) That is, when I go back and add text in the middle of a paragraph, and end
| :) up with short lines, is there a command to modify the text so that it
| :) appears as it would if I had typed it directly, without corrections?
| 
| Yes and not. There is a command to Justify a paragraph (^J).
(more)

-- 
Frédéric L. W. Meunier [Tel: +55-21-620-7173 - Niterói-RJ Brasil]
fredlwm@{olympiquedemarseille.org,{marseille.}nitnet.com.br}

---

From: Scott Leibrand <[email-masked]>
Date: Wed, 1 Mar 2000 21:08:53 -0800 (PST)

^^ is Ctrl-Shift-6.  You press those keys, then move your cursor, and then
you can use ^K to cut the text.  Does that work?

-- 
Scott Leibrand
[email-masked]
http://students.washington.edu/leibrand
* RCW 19.190 notice: This email address is located in Washington State. *
* Unsolicited commercial email may be billed $500 per message.          *

---

From: "Eduardo Chappa L." <[email-masked]>
Date: Wed, 1 Mar 2000 21:20:35 -0800 (PST)

*** Scott Leibrand wrote in the pine-info list today:

:) ^^ is Ctrl-Shift-6.  You press those keys, then move your cursor, and then
:) you can use ^K to cut the text.  Does that work?
:) 

If that did not work try setting your character set to iso-8859-1 and
pressing ESC-ESC-shift-6.

---

From: ADAM Sulmicki <[email-masked]>
Date: Thu, 2 Mar 2000 00:21:02 -0500 (EST)

> you can use ^K to cut the text.

Interesting, I alwasy used Ctrl-6 and it worked for me, even though
it technically is ^6.

---

From: "Frederic L. W. Meunier" <[email-masked]>
Date: Thu, 2 Mar 2000 02:22:00 -0300 (EST)

On 2000-03-01 (Yesterday) at 21:08 -0800, Scott Leibrand typed:

| ^^ is Ctrl-Shift-6.  You press those keys, then move your
| cursor, and then you can use ^K to cut the text.  Does that
| work?

No. If I press Ctrl+Shift+6 simultaneously, when I move the
cursor for the first time it stays in the same place. When I
move it again it works. But it's not marking the text. It's
very strange. I tried a lot. All keys are working on other
applications. I use Pine with XTerm 127.

---

From: "Frederic L. W. Meunier" <[email-masked]>
Date: Thu, 2 Mar 2000 02:33:10 -0300 (EST)

On 2000-03-01 (Yesterday) at 21:20 -0800, Eduardo Chappa L. typed:

| *** Scott Leibrand wrote in the pine-info list today:
| 
| :) ^^ is Ctrl-Shift-6.  You press those keys, then move your cursor, and then
| :) you can use ^K to cut the text.  Does that work?
| :) 
| 
| If that did not work try setting your character set to iso-8859-1 and
| pressing ESC-ESC-shift-6.

I tried with this too. I need to press ESC, ESC, and shift+6?
When I do that I get a beep and [B is printed after the second
move of the cursor. If I select some lines of text and use ^K
it only deletes the actual line. Hmm, my system may be
misconfigured?

---

From: "Eduardo Chappa L." <[email-masked]>
Date: Wed, 1 Mar 2000 21:37:06 -0800 (PST)

*** Frederic L. W. Meunier wrote in the pine-info list on Mar 2, 2000:

:) | If that did not work try setting your character set to iso-8859-1 and
:) | pressing ESC-ESC-shift-6.
:) 
:) I tried with this too. I need to press ESC, ESC, and shift+6?

yes, that's what you need to do. Do you have pine set up so that your
charset is iso-8859-1?

---

From: "Frederic L. W. Meunier" <[email-masked]>
Date: Thu, 2 Mar 2000 02:39:15 -0300 (EST)

hahaha, Ctrl-6 works! ^6 isn't the same? Thanks all. I just
don't know why we have to use different keys. But it's working.

On 2000-03-02 (Today) at 00:21 -0500, ADAM Sulmicki typed:

| > ^^ is Ctrl-Shift-6.  You press those keys, then move your cursor, and then
| > you can use ^K to cut the text.
| 
| Interesting, I alwasy used Ctrl-6 and it worked for me, even though
| it technically is ^6.

---

From: "Frederic L. W. Meunier" <[email-masked]>
Date: Thu, 2 Mar 2000 02:40:33 -0300 (EST)

On 2000-03-01 (Yesterday) at 21:37 -0800, Eduardo Chappa L. typed:

| *** Frederic L. W. Meunier wrote in the pine-info list on Mar 2, 2000:
| 
| :) | If that did not work try setting your character set to iso-8859-1 and
| :) | pressing ESC-ESC-shift-6.
| :) 
| :) I tried with this too. I need to press ESC, ESC, and shift+6?
| 
| yes, that's what you need to do. Do you have pine set up so that your
| charset is iso-8859-1?

Yes (I'm a Brazilian-French). But it's working now with
Ctrl-6. Thanks.

---

From: Mike Miller <[email-masked]>
Date: Thu, 2 Mar 2000 00:23:58 -0600 (CST)

> Interesting, I alwasy used Ctrl-6 and it worked for me, even though

Same here, at least in Xterm.  I'm not sure about telnet window (vt100).  
Also, I can use ^2 instead of ^@ and ^- instead of ^_.  In other words,
the shift key is not needed for these commands.

Mike

---

From: Satya <[email-masked]>
Date: Thu, 2 Mar 2000 10:04:00 +0530 (IST)

> more user friendly, say, change this binding?

Try ESC-ESC-(Shift+6). That's two escapes followed by a shifted 6. That's
assuming your ^ is on the 6.

-- 
Satya. http://satyaonline.cjb.net/
Mumbai bus guide at http://satyaonline.cjb.net/ !
FREE! Email reminder service at http://satyaonline.cjb.net/rem.html
<<<       Hi! I'm a tagline virus! Steal me & join in the fun!       >>>

---

From: Satya <[email-masked]>
Date: Thu, 2 Mar 2000 17:16:17 +0530 (IST)

> Interesting, I alwasy used Ctrl-6 and it worked for me, even though

ctrl-6 and ^6 are the same. I would like to note that I now use ^6 instead
of esc esc shift-6. ^6 used to not work on my dialup on a vt102 emulator
but works on my linux console with pine's charset set to iso-8859-1 (dunno
what happens with us-ascii, which is what it used to be, on linux and the
vt102 emu). ^^ still doesn't work. Pine 4.10 here.

Note that setting a mark and typing will simultaneously type and select.

Point of interest: esc is same as ^[, so ^[ ^[ followed by shift-6 also
works. UI if you have a really weird terminal emulator.

---

From: "Daniel Sands" <[email-masked]>
Date: Fri, 3 Mar 2000 13:54:08 -0700

> applications. I use Pine with XTerm 127.

Earlier versions of Pine don't highlight the text.  I don't think 3.96 did, or
if it wanted to, my terminal (vt100) didn't have the necessary information to
do that.  4.21 does on my xterm.  The question, though, is whether it prints a
message, [Mark Set] when you hit ^6.