  The interaction of two rectangular pulses in nonlinear Schroedinger model is
studied by solving the appropriate Zakharov-Shabat system. It is shown that two
real pulses may result in appearance of moving solitons. Different limiting
cases, such as a single pulse with a phase jump, a single chirped pulse,
in-phase and out-of-phase pulses, and pulses with frequency separation, are
analyzed. The thresholds of creation of new solitons and multi-soliton states
are found.
