Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Correction: Arranging Terminal windows' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Correction: Arranging Terminal windows
Authored by: ubi on Nov 05, '03 01:13:47PM

Just noticed that my C source didn't copy the escape sequences correctly. The two printf() calls should read as follows:

printf("^[[3;%d;%dt", x, y);
printf("^[[8;%d;%dt", h, w);

where ^[ represents a literal escape. You can enter this in vi by typing Control-V, then hitting the escape key. (Not sure how to do it in emacs.)



[ Reply to This | # ]