|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
URL="http://www.google.com"
printf "%s%s%s%s\n" ' <a href="' "$URL" '">' "${URL}</a><p>" The above printf prints the tag properly in the email it is sending but then when the email is read and the weblink is clicked, Thunderbird slides down a pane with: External Protocol Request An external application must be launched to handle ttp: links. Requested link: ttp://www.google.com" Application: <Unknown> ... Two characters are somehow not getting submitted properly. So why is Thunderbird (or any other mail client) not seeing the '"h' ??? Thanks for any . |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Sat, 21 Jul 2007 08:30:13 GMT, osiris@abydos.kmt
<osiris@abydos.kmt> wrote: > > > URL="http://www.google.com" > printf "%s%s%s%s\n" ' <a href="' "$URL" '">' "${URL}</a><p>" > > The above printf prints the tag properly in the email it is sending > but then when the email is read and the weblink is clicked, > Thunderbird slides down a pane with: > > External Protocol Request > An external application must be launched to handle ttp: links. > Requested link: > > ttp://www.google.com" > > Application: <Unknown> > ... > > Two characters are somehow not getting submitted properly. > So why is Thunderbird (or any other mail client) not seeing the '"h' ??? > > Thanks for any . > I don't know, but in a printf command the constant information is usually written in the format string, followed by variables,like printf ' <a href="%s">%s</a><p>\n' "$URL" "$URL" -- It takes two to tell the truth: one to speak and one to hear. |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
osiris@abydos.kmt wrote: > >URL="http://www.google.com" >printf "%s%s%s%s\n" ' <a href="' "$URL" '">' "${URL}</a><p>" > >The above printf prints the tag properly in the email it is sending >but then when the email is read and the weblink is clicked, >Thunderbird slides down a pane with: > > External Protocol Request > An external application must be launched to handle ttp: links. > Requested link: > > ttp://www.google.com" > > Application: <Unknown> > ... > >Two characters are somehow not getting submitted properly. >So why is Thunderbird (or any other mail client) not seeing the '"h' ??? > >Thanks for any . So, it turns out that the problem was apparently some bug in Thunderbird concerning the HTML. The only reason that I am using HTML at all is because I have four-column output. Unfortunately, HTML doesn't seem to be the solution either since some of my users still read their mail with Eudora which doesn't *appear* to display html mail (I may be wrong on that). Thus, considering the age-old problem of displaying columns in email clients using proportional fonts, do I have any other option for creating columns that could line up the data? Thanks. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On Mon, 23 Jul 2007 00:57:10 +0000, osiris wrote:
> osiris@abydos.kmt wrote: > > So, it turns out that the problem was apparently some bug in Thunderbird > concerning the HTML. The only reason that I am using HTML at all is > because I have four-column output. Unfortunately, HTML doesn't seem to > be the solution either since some of my users still read their mail with > Eudora which doesn't *appear* to display html mail (I may be wrong on > that). > > Thus, considering the age-old problem of displaying columns in email > clients using proportional fonts, do I have any other option for > creating columns that could line up the data? Tab characters, or decide that columns and proportional fonts are a bad mixture. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
2007-07-23, 00:57(+00), osiris@abydos.kmt:
[...] > Thus, considering the age-old problem of displaying columns > in email clients using proportional fonts, do I have any other option > for creating columns that could line up the data? [...] If a mail client uses proportional fonts for text emails, it is broken and should be fixed. When sending non text emails, note that you should use mime and specify the content type. In any case, you can use mime and provide with a HTML document as attachment. All modern email clients support mime. -- Stéphane |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
2007-07-23, 00:57(+00), osiris@abydos.kmt:
[...] > Thus, considering the age-old problem of displaying columns > in email clients using proportional fonts, do I have any other option > for creating columns that could line up the data? [...] If a mail client uses proportional fonts for text emails, it is broken and should be fixed. When sending non text emails, note that you should use mime and specify the content type. In any case, you can use mime and provide with a HTML document as attachment. All modern email clients support mime. -- Stéphane |
|
![]() |
| Outils de la discussion | |
|
|