Spaces in ticket string

It there a way to get rid of the space in the ticket string? I chose to
pollute the name space by using
ECEHELP as the string and I always get a space between the string and
the # sign (e.g. [ECEHELP #n]).

Thanks.
Randy Millis
Programmer Analyst
Electrical and Computer Engineering
University of Calgary
2500 University Dr. N.W.
Calgary, Alberta
Canada T2N 1N4
Tel: 403-220-4864 Fax: 403-282-6855
rmillis@enel.ucalgary.ca

My guess would be is to remove the space where I put the “^”

In the file mail.pm approx. line 105

print  MAIL "Subject: [$rt::rtname \#". $in_serial_num . "] ($in_queue_id) $

in_subject ^

Disclaimer: attempt at your own risk! :wink:

Stephen

If you do that, it will break the mail gateway. you’ll want to modify
lib/rt/mail/manipulate.pm as well

jesseOn Tue, Jun 06, 2000 at 10:21:57AM -0700, Stephen Hauskins wrote:

My guess would be is to remove the space where I put the “^”

In the file mail.pm approx. line 105

print  MAIL "Subject: [$rt::rtname \#". $in_serial_num . "] ($in_queue_id) $

in_subject ^

Disclaimer: attempt at your own risk! :wink:

Stephen

It there a way to get rid of the space in the ticket string? I chose to
pollute the name space by using
ECEHELP as the string and I always get a space between the string and
the # sign (e.g. [ECEHELP #n]).

Thanks.


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

jesse reed vincent — root@eruditorum.orgjesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
Emacs is a pretty good operating system, but Unix has a better editor.

In the file mail.pm approx. line 105

print  MAIL "Subject: [$rt::rtname \#". $in_serial_num . "] ($in_queue_id) $

in_subject ^

Disclaimer: attempt at your own risk! :wink:

You need to find the location (probably in lib/rt/ui/mail.pm) where the
string gets parsed also, and remove the space there.

I think it should work…but I haven’t thought much over it :slight_smile:

“The trouble with the world is that the stupid are
cocksure and the intelligent are full of doubt.”

  • Bertrand Russell

Stephen Hauskins wrote:

My guess would be is to remove the space where I put the “^”

In the file mail.pm approx. line 105

print  MAIL "Subject: [$rt::rtname \#". $in_serial_num . "] ($in_queue_id) $

in_subject ^

Disclaimer: attempt at your own risk! :wink:

Ok, I thought the answer might be simpler. I think I will leave it. I don’t want to
break anything… Maybe some day when I learn perl…

Thanks for all the help everyone!