[rt-users] Fwd: rt-cli enter long text into the interactive form

Kevin Falcone falcone at bestpractical.com
Wed Aug 11 10:16:17 EDT 2010


On Wed, Aug 11, 2010 at 03:52:59PM +0200, Philipp Knoll wrote:
> 
> Hi.
> 
> im trying to use the rt-cli to comment on a ticket with:
> 
> rt comment 1311875
> 
> ..vim pops up, showing me the form:
> 
> Ticket: 1311875
> Action: comment
> Cc:
> Bcc:
> Attachment:
> TimeWorked:
> Text:
> ~     
> 
> i try to fill the text: field with ..well, text. 
> as long as i use only one line, it works.
> 
> but if i enter multiple lines, even if the text is in " quotes, i get after :wq: 

Prefix extra text lines with a space.

-kevin

> # Syntax error.
> 
> Ticket: 1311875
> Action: comment
> Cc:
> Bcc:
> Attachment:
> TimeWorked:
> Text: "alles
> >> was
> geht"
> 
> 
> when i specify the text on the command line with "
> 1stline
> 2ndline
> ", it works. 
> so there should be a way, right ?
> 
> CLI:
> rt version
> rt 0.02
> 
> RT:
> RT 3.8.7
> 
> 
> cheers,
> thanks,
> fil
> 
> 
> --
> LG,
> Philipp Knoll // pkn at sil.at // Tel 059944-2750 //
> -------------------------------------------------
> SILVER SERVER GmbH // Lorenz-Mandl-Gasse 33/1 //
> A-1160 Wien // Fax 059944-9000 // www.sil.at  //
> FN 204414i // Handelsgericht Wien // UID ATU 51064903 //
> -------------------------------------------------
> 
> RT Training in Washington DC, USA on Oct 25 & 26 2010
> Last one this year -- Learn how to get the most out of RT!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100811/cc88f58f/attachment.sig>


More information about the rt-users mailing list