how do you write ABC for scordatura tunings that will print and play correctly?
Use the "transpose" directives provided in BarFly. You write the notes played on the retuned string as a separate voice (to be played transposed) and merge them (untransposed) with the rest of the tune for display and printing.