website identifiers

2003-12-27 Thread Thomas Dickey
When perusing the website for news, it would be useful if the pages were
marked (in their source) as generated or manually updated.  For the former
(unless they're generated on demand), a modification date would also be
useful.  For the latter, an RCS/CVS/etc identifier to distinguish
successive versions is normally expected.

Are the pages all generated from another format, or are some in CVS
(somewhere)?

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


Re: Keyboard auto-repeat defaults when using 'xwin -query host'

2003-12-27 Thread Chris Green
On Fri, Dec 26, 2003 at 06:41:14PM -0500, Harold L Hunt II wrote:
 Chris,
 
 Chris Green wrote:
 The problem is that when I connect using cygwin/xfree the auto-repeat
 is set to silly values, if I do an 'xset -q' I get:-
 
 auto repeat:  onkey click persent:   0LED mask:  00
 auto repeat delay:  100repeat rate:  10
 
 
 That auto repeat delay is much too short.
 
Thanks for the response and for treating me gently, I'm just feeling
my way in cygwin/X although I have been using Unix/Linux for many
years (since the early 1980s in fact).


 When running locally, I get:
 
 Keyboard Control:
   auto repeat:  onkey click percent:  0LED mask:  
   auto repeat delay:  500repeat rate:  31
   auto repeating keys:  00ffdbbf
 fadfffdffdff
 
 
   bell percent:  50bell pitch:  400bell duration:  100
 
Just about exactly what I get except for the auto repeat delay values
which I reported above.


 When logged into a remote machine via -query I get exactly the same 
 values.  I do not have an XF86Config file, and I am not passing any of 
 the following command-line parameters to XWin.exe:
 
 ==
 The X Keyboard Extension adds the following arguments:
 -kbdisable the X Keyboard Extension
 +kbenable the X Keyboard Extension
 [+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
enable/disable accessx key sequences
 -ar1   set XKB autorepeat delay
 -ar2   set XKB autorepeat interval
 
 [...]
 
 -xf86config
   Specify a configuration file.
 ==
 
I'm running using a copy of startxwin.bat with the XWIn start line set
to start XWin -query server.  I have no XF86Config either.


 My /tmp/XWin.log file has the following:
 
 ==
 (--) Setting autorepeat to delay=500, rate=31
 (--) winConfigKeyboard - Layout: 0409 (0409)
 (EE) No primary keyboard configured
 (==) Using compiletime defaults for keyboard
 Rules = xfree86 Model = pc101 Layout = us Variant = (null) 
 Options = (null)
 ==
 
 Could you please confirm that you are not passing any additional args to 
 XWin.exe, then send in your XWin.log files from both a local session and 
 from a session when you use -query to connect to a remote machine?  That 
 should help us to investigate the problem.
 
The remote XWin.log file is:-

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1600 h 1200
winInitializeDefaultScreens - Returning
OsVendorInit - Creating bogus screen 0
(EE) Unable to locate/open config file
InitOutput - Error reading config file
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - Allowing PrimaryDD
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 001f
InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 16 bits per pixel
winCreateBoundingWindowWindowed - User w: 1600 h: 1200
winCreateBoundingWindowWindowed - Current w: 1600 h: 1200
winAdjustForAutoHide - Original WorkArea: 33 0 1200 1600
winAdjustForAutoHide - Adjusted WorkArea: 33 0 1200 1600
winCreateBoundingWindowWindowed - WindowClient w 1594 h 1137 r 1594 l 0 b 1137 t 0
winCreateBoundingWindowWindowed -  Returning
winCreatePrimarySurfaceShadowDDNL - Creating primary surface
winCreatePrimarySurfaceShadowDDNL - Created primary surface
winCreatePrimarySurfaceShadowDDNL - Attached clipper to primary surface
winAllocateFBShadowDDNL - lPitch: 3188
winAllocateFBShadowDDNL - Created shadow pitch: 3188
winAllocateFBShadowDDNL - Created shadow stride: 1594
winFinishScreenInitFB - Masks: f800 07e0 001f
winInitVisualsShadowDDNL - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16
winCreateDefColormap - Deferring to fbCreateDefColormap ()
winFinishScreenInitFB - returning
winScreenInit - returning
InitOutput - Returning.
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of shared 
memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0809 (0809) 
(--) Using preset keyboard for English (United Kingdom) (809), type 4
(EE) No primary keyboard configured
(==) Using compiletime defaults for 

Re: website identifiers

2003-12-27 Thread Harold L Hunt II
Thomas Dickey wrote:
When perusing the website for news, it would be useful if the pages were
marked (in their source) as generated or manually updated.  For the former
(unless they're generated on demand), a modification date would also be
useful.  For the latter, an RCS/CVS/etc identifier to distinguish
successive versions is normally expected.
Are the pages all generated from another format, or are some in CVS
(somewhere)?
The Documentation (User's Guide, Contributor's Guide, and FAQ) are 
generated from DocBook source; see the following page for information on 
where to get the source in CVS:

http://xfree86.cygwin.com/devel/documentation/

I believe that all other pages on the site are manually generated, and 
they are stored in CVS.  My various attempts to find a public CVS 
interface to the tree and to find a CVSWeb interface to the tree have 
not been successful; I have not checked with Chris whether this is 
intentional or not, in either case, it is beyond my control.

We could add an identifier to each file.  I have to look into some 
options for doing so.

In the meantime, enjoy the following hack:

http://cygwin.com/xfree/CVS/Entries

Harold


Re: Keyboard auto-repeat defaults when using 'xwin -query host'

2003-12-27 Thread Alexander Gottwald
Chris Green wrote:

 I have a odd problem with the keyboard auto-repeat setup.

 I have two verions of cygwin/xfree installed on two different win2k
 computers and the problem is the same on both.  One has the latest
 cygwin/xfree (just downloaded) and the other has a version from a
 few months ago.

 I have searched through the mailing list archive and see that a
 similar problem has been reported before but it isn't exactly the same
 and I don't see how to fix the problem anyway.

 I am connecting from both these win2k systems uisng 'xwin -query
 server' to a linux Slackware 9.1 system on my local (home) network.
 I have also got another X server available to me, X-Win32 but I'd
 prefer to use cygwin as it's free and otherwise I keep having to pay
 for upgrades to X-Win32.

 The problem is that when I connect using cygwin/xfree the auto-repeat
 is set to silly values, if I do an 'xset -q' I get:-

 auto repeat:  onkey click persent:   0LED mask:  00
 auto repeat delay:  100repeat rate:  10
 

 That auto repeat delay is much too short.

XWin tries to set the repeat rate to something similar to the windows
repeat rate. This is noted in the configfile.

Maybe the session scripts of the linux host set the repeat rate to a bogus
value.

You can verify this by starting xwin without the query paramter and run
DISPLAY=:0.0 xset -q from windows. This should print the default setting.

bye
ago

NP: grauzone.03-12-14
-- 
 [EMAIL PROTECTED]
 http://www.gotti.org   ICQ: 126018723


Re: Keyboard auto-repeat defaults when using 'xwin -query host'

2003-12-27 Thread Chris Green
On Sat, Dec 27, 2003 at 02:31:58PM +0100, Alexander Gottwald wrote:
 Chris Green wrote:
 
  auto repeat delay:  100repeat rate:  10
  
 
  That auto repeat delay is much too short.
 
 XWin tries to set the repeat rate to something similar to the windows
 repeat rate. This is noted in the configfile.
 
 Maybe the session scripts of the linux host set the repeat rate to a bogus
 value.
 
But the problem only occurs when I connect to the remote system using
cygwin's xwin, when I use my commercial X-Win32 X server I get the
default keyboard set-up that I expect.


 You can verify this by starting xwin without the query paramter and run
 DISPLAY=:0.0 xset -q from windows. This should print the default setting.
 
No. locally I appear to get the same problem too.

-- 
Chris Green ([EMAIL PROTECTED])


Re: website identifiers

2003-12-27 Thread Harold L Hunt II
Thomas Dickey wrote:

When perusing the website for news, it would be useful if the pages were
marked (in their source) as generated or manually updated.  For the former
(unless they're generated on demand), a modification date would also be
useful.  For the latter, an RCS/CVS/etc identifier to distinguish
successive versions is normally expected.
Are the pages all generated from another format, or are some in CVS
(somewhere)?
By the way... what are you looking for?  CVS identifiers wouldn't 
necessarily help to determine that new information has been posted since 
commits for spelling fixes, grammar changes, dead link correction, etc. 
would cause irrelevant noise in the modified date tags.  That's really 
why I chose to put a hand-coded date at the top of the pages; that way 
people are notified when content has been modified in a meaningful way, 
but there aren't false-positives when minor changes have been made.

Would CVS identifiers still be useful for whatever you are trying to do? 
   Maybe I'll start adding them as comments for starters but still keep 
the hand-modified date for each page.

Harold



Re: website identifiers

2003-12-27 Thread Thomas Dickey
On Sat, 27 Dec 2003, Harold L Hunt II wrote:

 Thomas Dickey wrote:

  When perusing the website for news, it would be useful if the pages were
  marked (in their source) as generated or manually updated.  For the former
  (unless they're generated on demand), a modification date would also be
  useful.  For the latter, an RCS/CVS/etc identifier to distinguish
  successive versions is normally expected.
 
  Are the pages all generated from another format, or are some in CVS
  (somewhere)?

 By the way... what are you looking for?  CVS identifiers wouldn't

If it's maintained (i.e., if the file isn't edited w/o checking it in),
it's a quick way to check if the file's been changed recently.  The
identifier also provides a point of reference to check if there are
changes that aren't committed.  Hand-coded dates are more readable (and
of course I use those where readability is a factor), but the automatic
ones are preferable for identifying distinct versions.

 necessarily help to determine that new information has been posted since
 commits for spelling fixes, grammar changes, dead link correction, etc.
 would cause irrelevant noise in the modified date tags.  That's really
 why I chose to put a hand-coded date at the top of the pages; that way
 people are notified when content has been modified in a meaningful way,
 but there aren't false-positives when minor changes have been made.

 Would CVS identifiers still be useful for whatever you are trying to do?
 Maybe I'll start adding them as comments for starters but still keep
 the hand-modified date for each page.

 Harold



-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


Re: website identifiers

2003-12-27 Thread Thomas Dickey
On Sat, 27 Dec 2003, Harold L Hunt II wrote:

 Would CVS identifiers still be useful for whatever you are trying to do?
 Maybe I'll start adding them as comments for starters but still keep
 the hand-modified date for each page.

That's what I do, e.g.,

http://invisible-island.net/xterm/xterm.log.html

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


Re: website identifiers

2003-12-27 Thread Harold L Hunt II
Thomas Dickey wrote:

On Sat, 27 Dec 2003, Harold L Hunt II wrote:


Would CVS identifiers still be useful for whatever you are trying to do?
   Maybe I'll start adding them as comments for starters but still keep
the hand-modified date for each page.


That's what I do, e.g.,

	http://invisible-island.net/xterm/xterm.log.html
Okay.

Each page should now have:

HEADER MODIFIED: $Date$ $Author$
LEFT SIDEBAR MODIFIED: $Date$ $Author$
BODY MODIFIED: $Date$ $Author$
FOOTER MODIFIED: $Date$ $Author$
Additionally, the home page has:

NEWS MODIFIED: $Date$ $Author$

Harold



Re: website identifiers

2003-12-27 Thread Thomas Dickey
On Sat, 27 Dec 2003, Harold L Hunt II wrote:

 Okay.

 Each page should now have:

 HEADER MODIFIED: $Date$ $Author$
 LEFT SIDEBAR MODIFIED: $Date$ $Author$
 BODY MODIFIED: $Date$ $Author$
 FOOTER MODIFIED: $Date$ $Author$

that's better.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net