I’m trying to write a text editor for Linux that looks like MS-DOS EDIT. However, I’m stuck because I can’t figure out how to draw the thin rectangles around the editor screen and dialog box. I know the Linux dialog command can do something similar: How can I draw rectangles like that around the screen (preferably without curses)? Answer Once