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

Philipp Knoll pkn at sil.at
Wed Aug 11 09:52:59 EDT 2010


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: 

# 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 //
-------------------------------------------------




More information about the rt-users mailing list