Mailing List Archive

multi-line system { login { message "" }} ?
Hi good people,

Can anybody kindly point out for me how to set up a multi-line login message
in JunOS? The following syntax:

message "blah\n blah\n blah\n";

is no good for me, because:

- I *hate* to see my neat 17-line message all wrapped-up (and the fact is that
process of editing it later is an absolute nightmare);

- CLI does have a line length limit, that won't let me fit my message all on
one line.

Besides making my message shorter, is there any way of doing this:

message "blah\n
blah\n
blah\n";

I've tried "\" at the end of the line, and CLI does not like it.

Thanks!

P.S. I *do* want my message nice and terse. It is my sacred right. ;)

SY,
--
CCNP, CCDP (R&S) Dmitri E. Kalintsev
CDPlayer@irc Network Architect @ connect.com.au
dek @ connect.com.au phone: +61 3 8687 5954 fax: 8414 3115
http://-UNAVAIL- UIN:7150410 mobile: +61 414 821 382
multi-line system { login { message "" }} ? [ In reply to ]
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C257FC.08B7B04A
Content-Type: text/plain

Just insert a \n like this:

system {
login {
message "This is the first line\nThis is the second line\nThis is
the third line\n";
}
}

-----Original Message-----
From: Dmitri Kalintsev [mailto:dek@hades.uz]
Sent: Sunday, September 08, 2002 10:24 PM
To: juniper-nsp@puck.nether.net
Subject: [j-nsp] multi-line system { login { message "" }} ?


Hi good people,

Can anybody kindly point out for me how to set up a multi-line login message
in JunOS? The following syntax:

message "blah\n blah\n blah\n";

is no good for me, because:

- I *hate* to see my neat 17-line message all wrapped-up (and the fact is
that process of editing it later is an absolute nightmare);

- CLI does have a line length limit, that won't let me fit my message all on
one line.

Besides making my message shorter, is there any way of doing this:

message "blah\n
blah\n
blah\n";

I've tried "\" at the end of the line, and CLI does not like it.

Thanks!

P.S. I *do* want my message nice and terse. It is my sacred right. ;)

SY,
--
CCNP, CCDP (R&S) Dmitri E. Kalintsev
CDPlayer@irc Network Architect @ connect.com.au
dek @ connect.com.au phone: +61 3 8687 5954 fax: 8414 3115
http://-UNAVAIL- UIN:7150410 mobile: +61 414 821 382

_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp

------_=_NextPart_001_01C257FC.08B7B04A
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.35">
<TITLE>RE: [j-nsp] multi-line system { login { message &quot;&quot; }} =
?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Just insert a \n like this:</FONT>
</P>

<P><FONT SIZE=3D2>system {</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; login {</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; message =
&quot;This is the first line\nThis is the second line\nThis is the =
third line\n&quot;;</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; }</FONT>
<BR><FONT SIZE=3D2>}</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Dmitri Kalintsev [<A =
HREF=3D"mailto:dek@hades.uz">mailto:dek@hades.uz</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Sunday, September 08, 2002 10:24 PM</FONT>
<BR><FONT SIZE=3D2>To: juniper-nsp@puck.nether.net</FONT>
<BR><FONT SIZE=3D2>Subject: [j-nsp] multi-line system { login { message =
&quot;&quot; }} ?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi good people,</FONT>
</P>

<P><FONT SIZE=3D2>Can anybody kindly point out for me how to set up a =
multi-line login message in JunOS? The following syntax:</FONT>
</P>

<P><FONT SIZE=3D2>message &quot;blah\n blah\n blah\n&quot;;</FONT>
</P>

<P><FONT SIZE=3D2>is no good for me, because:</FONT>
</P>

<P><FONT SIZE=3D2>- I *hate* to see my neat 17-line message all =
wrapped-up (and the fact is that process of editing it later is an =
absolute nightmare);</FONT></P>

<P><FONT SIZE=3D2>- CLI does have a line length limit, that won't let =
me fit my message all on one line.</FONT>
</P>

<P><FONT SIZE=3D2>Besides making my message shorter, is there any way =
of doing this:</FONT>
</P>

<P><FONT SIZE=3D2>message &quot;blah\n</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
blah\n</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
blah\n&quot;;</FONT>
</P>

<P><FONT SIZE=3D2>I've tried &quot;\&quot; at the end of the line, and =
CLI does not like it.</FONT>
</P>

<P><FONT SIZE=3D2>Thanks!</FONT>
</P>

<P><FONT SIZE=3D2>P.S. I *do* want my message nice and terse. It is my =
sacred right. ;)</FONT>
</P>

<P><FONT SIZE=3D2>SY,</FONT>
<BR><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>&nbsp;CCNP, CCDP =
(R&amp;S)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; Dmitri E. Kalintsev</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;CDPlayer@irc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Network Architect @ =
connect.com.au</FONT>
<BR><FONT SIZE=3D2>&nbsp;dek @ connect.com.au&nbsp;&nbsp;&nbsp; phone: =
+61 3 8687 5954 fax: 8414 3115</FONT>
<BR><FONT SIZE=3D2>&nbsp;<A HREF=3D"http://-UNAVAIL-" =
TARGET=3D"_blank">http://-UNAVAIL-</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; UIN:7150410&nbsp; mobile: +61 414 821 382</FONT>
</P>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>juniper-nsp mailing list juniper-nsp@puck.nether.net =
<A HREF=3D"http://puck.nether.net/mailman/listinfo/juniper-nsp" =
TARGET=3D"_blank">http://puck.nether.net/mailman/listinfo/juniper-nsp</A=
></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C257FC.08B7B04A--