I have a tabular environment with some columns, but have so far been unable to ensure that long text wraps properly. Instead, the text overflows into the next column. The data being put into the column can sometimes be very long, and may or may not have spaces in it. It often has hyphens, but I do not want these to be seen as places for justification. The behaviour I want is for the text to be put into the column with zero justification - simply render as many characters as possible and then continue on the next line.
An example of what I have at the moment:
\begin{tabular}{c p{4cm} p{7cm} c}
1 & This\_is\_a\_long\_virtual\_machine\_name & This\_is\_a\_long\_virtual\_machine\_path & 256\\
\end{tabular}
I need LaTeX to put as much of the long text as possible into the column, and then overflow into the next line. Thanks very much.