# How can I force listings line numbers

This is what I want:

15  <servlet>
16    <servlet-name>udpListener</servlet-name>
17    <servlet-class>oli.servlet.UdpServlet</servlet-class>
18    <!-- UDP Port fuer MSX -->
19    <init-param>
20      <param-name>udpPort</param-name>
21      <param-value>4951</param-value>  <!--Empfangsport-->
22    </init-param>
24  </servlet>


I want that line numbering starts at an number other than 1.

-
Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Werner Jun 24 '12 at 19:29

## migrated from stackoverflow.comJun 24 '12 at 13:04

This question came from our site for professional and enthusiast programmers.

\begin{lstlisting}[firstnumber=100]