Turn on the "Enable text messages" config option. With that off, pgserver is awfully
stingy with the text.
On Thu, 05 April 2001, "Gray, Tim" wrote:
>
> Ok I think I need a bit of help.
>
> I tried the pgserver -h and I get
>
> [timgr@gr_is2 pgserver]$ ./pgserver -h
> Commandline error
> [timgr@gr_is2 pgserver]$
>
> does anyone have a full list of commands and the proper syntax.
> I need to start the server in 640x480x8 mode on my framebuffer. If I start
> it now I get a white screen with a cursor at 0,0 and then blue text on the
> screen (from the text mode showing through). I am guessing that I'm not
> telling the server to start in the correct mode.
>
> thanks. (note I tried the commandline function -l and that also returned
> the above error.)
>
> Side note -- I just scanned the source to pgmain.c and the 'h' case is not
> there in the command line processing section.
>
> -----Original Message-----
> From: Micah Dowty [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 05, 2001 9:17 AM
> To: Gray, Tim
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [Pgui-devel] a silly question.
>
>
> That's one way to run it (though in that case the server won't exit
> automatically)
>
> You can just put the launcher/app that you want to run on the command line
> of the server:
>
> pgserver pgapp
>
> Then, the server will run pgapp and exit when the last client exits.
> pgserver also takes command line options to set video drivers/modes and load
> themes. Take a look at 'pgserver -h' for a description.
> Also note that command line options anywhere on the line are by default
> processed by pgserver, if you want to pass options to the client you have to
> separate the two with a --. This is a rather redundant example that shows
> loading a client and running the server fullscreen:
>
> pgserver -f -- pgapp --pgserver localhost
>
> On Thu, 05 April 2001, "Gray, Tim" wrote:
>
> >
> > While I wait for a compile I have kind of a silly question.
> >
> > how do you invoke pgserver? is it like X windows where you start the
> > server and then the WM or app you desire?
> >
> > Example
> >
> > pgserver&
> > pgapp
> >
> >
> >
> > Then the server exits when the last app running exits.
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Micah Dowty [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 04, 2001 8:26 PM
> > To: Gray, Tim
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [Pgui-devel] picoGUI compile errors.
> >
> >
> > You need to install the GPM development libraries. (Usually the package is
> > called libgpm-dev or something of that sort) The ncursesinput driver uses
> > ncurses itself for keyboard, but it uses gpm directly for mouse.
> > It's not a great method, because gpm scales down the resolution of the
> > mouse, but I haven't gotten anything better yet. It would be nice to have
> > direct drivers for serial and PS/2 mice, but I haven't gotten around to
> it.
> >
> > Another note: You don't need the svgainput driver if you're not using the
> > svgafb/svgagl video drivers too. Also note that as I've rearranged the
> video
> > drivers recently if it doesn't compile it's probably my fault.
> >
> >
> > On Wed, 04 April 2001, "Gray, Tim" wrote:
> >
> > >
> > > Ok, I have for my development station a standard Intel box with Redhat
> 6.2
> > > on it with a clean install.
> > >
> > > upon compiling pgserver I get the following errors.
> > >
> > > fonts.tmp.c:1408: warning: initialization discards `const' from pointer
> > > target type
> > > rm -f fonts.tmp.c
> > > gcc -o pgserver widget/bitmap.o widget/indicator.o widget/label.o
> > > widget/toolbar.o widget/scroll.o widget/widget.o widget/button.o
> > > widget/popup.o widget/box.o widget/field.o widget/background.o
> > > widget/menuitem.o widget/checkbox.o gcore/grop.o gcore/g_malloc.o
> > > gcore/div.o gcore/font.o gcore/handle.o gcore/g_error.o gcore/timer.o
> > > gcore/errortext.o gcore/video.o gcore/input.o gcore/driverinfo.o
> > > gcore/pgmain.o appmgr/global.o net/request.o net/dispatch.o net/eventq.o
> > > vidbase/defaultvbl.o theme/memtheme.o theme/fillstyle.o video/fbdev.o
> > > input/ncursesinput.o vidbase/linear8.o vidbase/linear16.o
> > widget/terminal.o
> > > widget/canvas.o widget/panel.o formats/pnm.o font/fontdata.o
> > > input/ncursesinput.o: In function `ncursesinput_fd_activate':
> > > input/ncursesinput.o(.text+0x14): undefined reference to `stdscr'
> > > input/ncursesinput.o(.text+0x19): undefined reference to `wgetch'
> > > input/ncursesinput.o(.text+0x163): undefined reference to `stdscr'
> > > input/ncursesinput.o(.text+0x168): undefined reference to `wgetch'
> > > input/ncursesinput.o(.text+0x339): undefined reference to `gpm_fd'
> > > input/ncursesinput.o(.text+0x349): undefined reference to `Gpm_GetEvent'
> > > input/ncursesinput.o(.text+0x398): undefined reference to `gpm_mx'
> > > input/ncursesinput.o(.text+0x3a0): undefined reference to `gpm_my'
> > > input/ncursesinput.o(.text+0x3d1): undefined reference to
> `Gpm_FitValuesM'
> > > input/ncursesinput.o: In function `ncursesinput_fd_init':
> > > input/ncursesinput.o(.text+0x4f2): undefined reference to `gpm_fd'
> > > input/ncursesinput.o(.text+0x507): undefined reference to `gpm_fd'
> > > input/ncursesinput.o: In function `ncursesinput_init':
> > > input/ncursesinput.o(.text+0x524): undefined reference to `initscr'
> > > input/ncursesinput.o(.text+0x529): undefined reference to `start_color'
> > > input/ncursesinput.o(.text+0x52e): undefined reference to `raw'
> > > input/ncursesinput.o(.text+0x536): undefined reference to `stdscr'
> > > input/ncursesinput.o(.text+0x53b): undefined reference to `meta'
> > > input/ncursesinput.o(.text+0x540): undefined reference to `noecho'
> > > input/ncursesinput.o(.text+0x545): undefined reference to `nonl'
> > > input/ncursesinput.o(.text+0x54d): undefined reference to `stdscr'
> > > input/ncursesinput.o(.text+0x552): undefined reference to `intrflush'
> > > input/ncursesinput.o(.text+0x55a): undefined reference to `stdscr'
> > > input/ncursesinput.o(.text+0x55f): undefined reference to `keypad'
> > > input/ncursesinput.o(.text+0x566): undefined reference to `curs_set'
> > > input/ncursesinput.o(.text+0x56e): undefined reference to `stdscr'
> > > input/ncursesinput.o(.text+0x573): undefined reference to `nodelay'
> > > input/ncursesinput.o(.text+0x59e): undefined reference to `Gpm_Open'
> > > input/ncursesinput.o(.text+0x5ac): undefined reference to
> `gpm_zerobased'
> > > input/ncursesinput.o: In function `ncursesinput_close':
> > > input/ncursesinput.o(.text+0x5c5): undefined reference to `Gpm_Close'
> > > input/ncursesinput.o(.text+0x5cf): undefined reference to `stdscr'
> > > input/ncursesinput.o(.text+0x5d4): undefined reference to `wclear'
> > > input/ncursesinput.o(.text+0x5da): undefined reference to `stdscr'
> > > input/ncursesinput.o(.text+0x5df): undefined reference to `wrefresh'
> > > input/ncursesinput.o(.text+0x5e4): undefined reference to `endwin'
> > > collect2: ld returned 1 exit status
> > > make: *** [pgserver] Error 1
> > > [timgr@gr_is2 pgserver]$
> > >
> > > Here is my configuration.
> > >
> > >
> > > sh configscript/Configure config.in
> > > #
> > > # Using defaults found in .config
> > > #
> > > *
> > > * Target System
> > > *
> > > Platform (Linux, uClinux, Windows) [Linux]
> > > defined LINUX
> > > x86 asm optimization (ASM_INTEL) [N/y/?] (NEW)
> > > *
> > > * Debugging
> > > *
> > > Enable text messages (CONFIG_TEXT) [N/y/?]
> > > Debugging symbols in binary (CONFIG_NOSTRIP) [N/y/?]
> > > Debugging keys (DEBUG_KEYS) [N/y/?] (NEW)
> > > Video test mode (CONFIG_VIDEOTEST) [N/y/?]
> > > Disable compiler optimization (CONFIG_NO_OPTIMIZE) [N/y/?]
> > > Electric Fence malloc debugging (CONFIG_EFENCE) [N/y/?]
> > > gcov coverage analysis (CONFIG_GCOV) [N/y/?]
> > > gprof profiling (CONFIG_GPROF) [N/y/?]
> > > Terminal prints unknown escapes (BOTHERSOME_TERMINAL) [N/y/?] (NEW)
> > > Widget debugging (DEBUG_WIDGET) [N/y/?] (NEW)
> > > Event debugging (DEBUG_EVENT) [N/y/?] (NEW)
> > > Video debugging (DEBUG_VIDEO) [N/y/?] (NEW)
> > > Theme debugging (DEBUG_THEME) [N/y/?] (NEW)
> > > Client/server debugging (DEBUG_NET) [N/y/?] (NEW)
> > > Initialization debugging (DEBUG_INIT) [N/y/?] (NEW)
> > > Memory debugging (DEBUG_MEMORY) [N/y/?] (NEW)
> > > *
> > > * Fonts
> > > *
> > > Helvetica 10 (default font) (FONT_HELVETICA10) [Y/n/?]
> > > Clean 12 (default fixed-width font) (FONT_CLEAN12) [Y/n/?]
> > > Lucida 10 (FONT_LUCIDA10) [N/y/?] (NEW)
> > > Clean 6 (FONT_CLEAN6) [N/y/?] (NEW)
> > > Console 8 (FONT_CONSOLE8) [N/y/?] (NEW)
> > > Courier 12, 12b (FONT_COURIER12) [N/y/?] (NEW)
> > > Helvetica 8 (FONT_HELVETICA8) [N/y/?] (NEW)
> > > Times 10, 10b (FONT_TIMES10) [N/y/?] (NEW)
> > > Utopia 25 (FONT_UTOPIA25) [N/y/?] (NEW)
> > > *
> > > * Video Drivers
> > > *
> > > Linux framebuffer device (DRIVER_FBDEV) [Y/n/?]
> > > SDL framebuffer driver (DRIVER_SDLFB) [N/y/?] (NEW)
> > > SVGAlib framebuffer driver (DRIVER_SVGAFB) [N/y/?] (NEW)
> > > SVGAlib vgagl driver (DRIVER_SVGAGL) [N/y/?] (NEW)
> > > Motorola 68EZ328 LCD driver (DRIVER_EZ328) [N/y/?] (NEW)
> > > Ncurses driver (DRIVER_NCURSES) [N/y/?] (NEW)
> > > Null driver (DRIVER_NULL) [N/y/?] (NEW)
> > > *
> > > * Input Drivers
> > > *
> > > SDL input driver (DRIVER_SDLINPUT) [N/y/?] (NEW)
> > > SVGAlib input driver (DRIVER_SVGAINPUT) [Y/n/?] n
> > > Ncurses/GPM input driver (also for framebuffer) (DRIVER_NCURSESINPUT)
> > > [Y/n/?]
> > > Touchscreen input driver (DRIVER_TSINPUT) [N/y/?] (NEW)
> > > *
> > > * Video Base Libraries
> > > *
> > > Linear framebuffer @ 1bpp (CONFIG_VBL_LINEAR1) [N/y/?]
> > > Linear framebuffer @ 2bpp (CONFIG_VBL_LINEAR2) [N/y/?]
> > > Linear framebuffer @ 4bpp (CONFIG_VBL_LINEAR4) [N/y/?]
> > > Linear framebuffer @ 8bpp (CONFIG_VBL_LINEAR8) [Y/n/?]
> > > Linear framebuffer @ 16bpp (CONFIG_VBL_LINEAR16) [Y/n/?]
> > > Video rotation support (CONFIG_ROTATE) [N/y/?]
> > > *
> > > * Widget Options
> > > *
> > > Terminal widget (VT102 emulator) (CONFIG_WIDGET_TERMINAL) [Y/n/?]
> > > Canvas widget (for arbitrary graphics) (CONFIG_WIDGET_CANVAS) [Y/n/?]
> > > Disable panelbar (CONFIG_NOPANELBAR) [N/y/?]
> > > Solid panel dragging (CONFIG_DRAGSOLID) [N/y/?]
> > > *
> > > * Bitmap Formats
> > > *
> > > Internal XBM loader (CONFIG_FORMAT_XBM) [Y/n/?]
> > > PNM: portable anymap (CONFIG_FORMAT_PNM) [Y/n/?]
> > > *
> > > * Security
> > > *
> > > Disable remote input devices (CONFIG_NOREMOTEINPUT) [N/y/?]
> > > Disable exclusive resource access (CONFIG_NOEXCLUSIVE) [N/y/?]
> > > Client packet size limit in bytes (CONFIG_MAXPACKETSZ) [5000000]
> > > Client quotas (not implemented) (CONFIG_QUOTA) [N/y/?]
> > >
> > > *** End of PicoGUI configuration. Now run 'make'
> > > [timgr@gr_is2 pgserver]$
> > >
> > > I am using last night's CVS snapshot. any ideas?
> > >
> > >
> > > thanks.
> > >
> > >
> > > _______________________________________________
> > > Pgui-devel mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.sourceforge.net/lists/listinfo/pgui-devel
> >
> > --
> > perl -e'socket S,2,1,tcp;connect S,pack(H16,"0200029a80692d32").\0x8;print
>
> > grep!/=/,<S>'
> >
> >
> > _______________________________________________
> > Pgui-devel mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/pgui-devel
> >
> >
> > _______________________________________________
> > Pgui-devel mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/pgui-devel
>
> --
> perl -e'socket S,2,1,tcp;connect S,pack(H16,"0200029a80692d32").\0x8;print
> grep!/=/,<S>'
>
>
>
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/pgui-devel
--
perl -e'socket S,2,1,tcp;connect S,pack(H16,"0200029a80692d32").\0x8;print
grep!/=/,<S>'
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel