Re: [Nolug] Bash/ed problem

From: Craig Jackson <craig.jackson_at_wild.net>
Date: 22 Apr 2003 06:44:56 -0500
Message-Id: <1051011896.25886.4.camel@rhino.wild.net>

On Mon, 2003-04-21 at 16:57, Ron Johnson wrote:
> On Mon, 2003-04-21 at 11:31, Craig Jackson wrote:
> > On Mon, 2003-04-21 at 11:21, Ron Johnson wrote:
> > > On Mon, 2003-04-21 at 09:12, Craig Jackson wrote:
> > > > Often when I paste data from some weird format document into vi, the
> > > > lines don't wrap when they should. So if I issue the J command to every
> > > > other line, it corrects it. Obviously I don't want to do this manually.
> > > > Is there a sed/ed script that will join every other line?
> > > >
> > > > e.g.
> > > >
> > > > This might be how the text is pasted into vi:
> > > >
> > > > The dog jumped over the
> > > > fence.
> > > > The cat chased the mouse across the
> > > > field.
> > > > The cow stood quietly as the farmer
> > > > milked it.
> > > >
> > > > There should be three lines instead of six. I've done a Google. Any
> > > > ideas?
> > >
> > > Since you are pasting from a "weird format document", presumably
> > > your workstation is MS Windows and you have a Win-based telnet/ssh
> > > client?
> > >
> > > If so, is there a "paste special" menu selection?
> >
> > No, it's Linux. But am using Evolution which uses RTF/html. I am
> > seriously thinking about switching back to kmail. I wanted TLS and I
> > think kmail supports that now. I need gpg clear-sign integration also.
>
> Hmm, I use Evo, but turn off HTML mail, and only receive it from
> certain Outlook users. Is this your situation, that you received
> HTML mail?
>
> If so, then you could "pull" the offending message into a separate
> window, and choose View->"Message Display"->"Show Email Source",
> and you'll have text, the way $DEITY meant email to be read.

Exactly, I have html turned off but someone sends something in RTF or
html. When cutting and pasting in vi, strange, once invisible
characters, appear [and I don't mean html markup] -- pipe-like things.
I'll try the view source button. I pray to that very same $DIETY but he
seems to be looking the other way as the computer world moves further
and further into nonsense.

-- 
Craig Jackson
Wildnet Group L.L.C.
103 North Park, Suite 110
Covington, Louisiana 70433
985 875 9453
___________________
Nolug mailing list
nolug@nolug.org
Received on 04/22/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST