' get music
th_exec "music /truncate " + opt$ + " " ; music$
lp = 0 : o$ = ""
for i = 0 to len( music$ )
o$ = o$ + mid$( music$, i, 1 )
if mid$( music$, i, 1 ) = chr$(13) then lp = lp + 1
if lp >= height - 2 then gosub 3 : goto 2
next i
home : ? chr$(27) + "[2J" ; : ? o$
2 ' get key
k$ = polkey$( delay )
if k$ = "l" then th_exec "run like.bas" : sleep 2
if k$ = "i" then ip = not ip
if k$ = "w" then where = not where
if k$ = "c" then client = not client
if k$ = "a" then all = not all
goto 1
3 ' print up to screen height and add ellipsis
o$ = o$ + chr$(13) + chr$(10) + " ..."
home : ? chr$(27) + "[2J" ; : ? o$
return