Re: Help with console scrolling problem (RELENG54)

From: Enache Adrian (enache_at_rdslink.ro)
Date: 08/24/05

  • Next message: Daniel Eischen: "Re: nagios and freebsd threads issue : help please ..."
    Date: Wed, 24 Aug 2005 09:00:30 +0300
    To: Mike Adewole <mike@voicenette.com>
    
    

    On Tue, Aug 23, 2005 at 11:54:35PM -0400, Mike Adewole wrote:
    > Is there anyway of writing to the last (row, column) without causing the
    > screen to scroll ? Looking at function scterm_puts at (1) there doesn't seem
    > to be any way to avoid scrolling.

    Yes. Look at how ncurses is doing it.
    (PutCharLR() in tty/tty_update.c)

    On the FreeBSD console, you go to the last line and last but one column,
    write the last char, go one column to the left, and INSERT the last but
    one char.

    Regards,
    Adi
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Daniel Eischen: "Re: nagios and freebsd threads issue : help please ..."

    Relevant Pages

    • Re: Help with console scrolling problem (RELENG54)
      ... Help with console scrolling problem (RELENG54) ... >> to be any way to avoid scrolling. ... Look at how ncurses is doing it. ... > one char. ...
      (freebsd-hackers)
    • ncurses with pthreads (terminal resizing)
      ... I'm making an ncurses application which most of the time waits for user's ... than take it to a buffer char table. ... int p;//keycode of char returned by getch ...
      (comp.unix.programmer)
    • IE6 Script Error
      ... The error has been occuring for some ... Char: 38 ... Other web pages are also showing minor errors; ... How does one determine what function is causing the problem and how does one ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Re: int urldecode(char *src, char *last, char *dest)
      ... As well as causing a buffer overflow if the text ... char *post{ ... meaning safety code with no memory leaks or ...
      (comp.lang.c)
    • printf() will print, printw() will not (ncurses problem, please help)
      ... create some sort of IRC-client using ncurses. ... printwworks if I use the ncurses getstr() function to input the ... been able to send IRC commands to the server without any problems. ... char that getstrcreates, but I can't figure out what. ...
      (comp.unix.programmer)