Re: XForms: Opening a second display

From: T.C. Zhao (tc_zhao@yahoo.com)
Date: Mon Oct 23 2000 - 23:04:00 EDT

  • Next message: Ravi Mehrotra: "Re: XForms: Problem with browsers"

    # To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

    --- Lars Gullik Bjønnes <larsbj@lyx.org> wrote:

    > Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> writes:
    > | >>>>> "T" == T C Zhao <tc_zhao@yahoo.com> writes:
    > |
    > | TC> I don't think XDisplayName(0) would work
    > | TC> because it only looks at the environment variables.
    > | TC> DisplayName(fl_get_display()) should do the trick.
    > |
    > | The problem is that XDisplayName takes a string as parameter, not a
    > | Display*.
    > |
    > | Hmm, I just noticed that you may be referring to DisplayString().
    > Is
    > | that what you had in mind?

    Yes, DisplayString() was what I had in mind. Sorry about the typo.
    >
    > I still think that xforms should set DISPLAY when --display is used.
    >
    Well, DisplayString(display) will return whatever string was used
    to open the display with, be it from environment or -display
    specification. Setting the environment by xforms prevents any child
    process from using the original environment setting.

    __________________________________________________
    Do You Yahoo!?
    Yahoo! Messenger - Talk while you surf! It's FREE.
    http://im.yahoo.com/
    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 23:10:24 EDT