On Sun, 2005-May-22 00:09:35 +0200, alexander wrote: >On Sun May 22 05, Peter Jeremy wrote: >> >> Can you please confirm that you also see the problem when you are using >> xterm (not Eterm). Can you also please advise what versions of FreeBSD, >> X11 and xterm/Eterm you are using. > >OK. Seems like you somehow knew what was going on here. The problem has now >clearly shifted towards the Eterm code. Xterm display the VT100 codes >correctly.
The AVI you posted showed that Eterm was not updating the display for partial lines. I tried Eterm myself and found that it needs a newline (or maybe CR) to make it display anything. You must be able to change this behaviour, since otherwise curses would not work at all, but it's not clear how to do it from a quick look at the man page. >However I'm still thinking of replacing the whole VT100 stuff with a set >of syscalls. So...is there a way to reposition the cursor inside the >sdtout stream just by using syscalls? Can I use lseek() or some other >syscall to change the current FD position? No. You can't seek within a TTY. The only way to re-position the cursor is to write magic character sequences that are recognized as re-position requests by code that implements the TTY (eg xterm/Eterm). >I had a look at the 'burncd' code and the code works brilliantly even >under Eterm. Burncd is sending CR characters and re-writing the entire line, rather than re-positioning the cursor within the line. -- Peter Jeremy _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"