Results 1 to 9 of 9

Thread: Readline command error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Readline command error

    Try -ltermcap (works for me, although -lncurses works as well)

  2. The following user says thank you to wysota for this useful post:

    vermarajeev (2nd March 2007)

  3. #2
    Join Date
    Sep 2006
    Posts
    339
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    15
    Thanked 21 Times in 16 Posts

    Default Re: Readline command error

    Quote Originally Posted by wysota View Post
    Try -ltermcap (works for me, although -lncurses works as well)
    Wonderful!!!!! It works....

    I will not say that you have many children or you should earn more money as I say in one of the post but I can definately tell that if anyone have any problems (not personal) please contact the only GURU of qtcenter and that is WYSOTA....

    Thanks a lot.

  4. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Readline command error

    I don't consider myself a guru despite the title under my nickname and there are surely people as fit for answering questions as I am, but thank you anyway

    Especially that I answered your question based on the manual page for tputs and trial and error.

  5. #4
    Join Date
    Sep 2006
    Posts
    339
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    15
    Thanked 21 Times in 16 Posts

    Default Re: Readline command error

    Quote Originally Posted by wysota View Post
    I don't consider myself a guru despite the title under my nickname and there are surely people as fit for answering questions as I am, but thank you anyway

    Especially that I answered your question based on the manual page for tputs and trial and error.
    Yes I know Jacek too is my favourite...He too is awesome!!!!!

    Anyway, I'm encountering another problem with readline(cost char*). It displays the correct text whatever I type but what if I want to see the text inform of '*'...ie the user enters text and but sees only '*'. Same as we prompt for password.

    Example--:
    Enter password: ***** The actual '*' value is 'hello'...

    Will readline provide that functionality...If not what is the alternate means to do that. I know ncursers is another option but I dont know how to use it.

    Waiting eagerly

  6. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Readline command error

    It probably will but you probably have to use some additional/different functions to obtain this. I suggest you consult the readline manual.

    http://tiswww.case.edu/~chet/readline/rluserman.html

  7. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Readline command error

    BTW. On Unix: man 3 getpass

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.