Code:
/window -dl @test 10 10 20 100 
/aline @test this is a very long line
/window -b @test


gives me a scrollbar. Note that the -b switch updates the scrollbar.