Does anyone knows a solution about how to make place custom markers at pagebreaks into lstlistings ?

What I want is to put a cissors icon before and after the pagebreak but I didn't find a way to do this...
Thanks by advance for tips!
Does anyone knows a solution about how to make place custom markers at pagebreaks into lstlistings ?

What I want is to put a cissors icon before and after the pagebreak but I didn't find a way to do this...
Thanks by advance for tips!
You can use the tcolorbox package with its listings library to add any fancy things to a listing:
\documentclass{article}
\usepackage{pifont,lipsum}
\usepackage[skins,breakable,listings]{tcolorbox}
\newtcblisting{scissors}{%
enhanced jigsaw,breakable,size=small,
colframe=black,colback=black!5!white,
listing only,
listing options={% put any lstlisting options here
aboveskip=0pt, belowskip=0pt,
columns=fullflexible, keepspaces=true,
breaklines=true, breakatwhitespace=true,
basicstyle=\ttfamily, nolol,
},
overlay first={
\node[black!50] (S) at (frame.south) {\LARGE\ding{34}};
\draw[dashed,black!50] (frame.south west) -- (S) -- (frame.south east);
},
overlay middle={
\node[black!50] (S) at (frame.south) {\LARGE\ding{34}};
\draw[dashed,black!50] (frame.south west) -- (S) -- (frame.south east);
\node[black!50] (S) at (frame.north) {\LARGE\ding{34}};
\draw[dashed,black!50] (frame.north west) -- (S) -- (frame.north east);
},
overlay last={
\node[black!50] (S) at (frame.north) {\LARGE\ding{34}};
\draw[dashed,black!50] (frame.north west) -- (S) -- (frame.north east);
},
}
\begin{document}
\lipsum[1-4]
\begin{scissors}
>>> ls()
ARP: ARP
BOOTP: BOOTP
BLA: BLA
BLUP: BLUP
BLA: BLA
BLUP: BLUP
BLA: BLA
BLUP: BLUP
BLA: BLA
BLUP: BLUP
BLA: BLA
BLUP: BLUP
\end{scissors}
\lipsum[5-6]
\end{document}
