Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89095 - Typos / Code errors.
Summary: Typos / Code errors.
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Submit New (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/fluxbox-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-14 08:12 UTC by Brandon Wood
Modified: 2005-04-16 13:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon Wood 2005-04-14 08:12:55 UTC
Under "Code listing 3.6" there are two examples of running aterm that results in aterm exiting with "bad option":

Mod1 a   :ExecCommand aterm -name aterm -sl 3000 -tr +sb -sr -sk -bg black -fg\
white -fade 90 -bl -tn xterm -fn\
-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-15 -g 116x57

Mod1 s   :ExecCommand aterm -name aterm -sl 3000 -tr +sb -sr -sk -bg black -fg\
white -fade 90 -bl -tn xterm -fn\
-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-15 -g 116x57 -e su -

on the two lines where you have "-fg\" and "-fn\" there are no spaces afterwards or before the next word/string so it ends up coming out like:
"-fgwhite" and "-fn-misc-fixed-medium-r-normal-*-*-120-*-*-c-*-iso8859-15"

If the lines are pasted as is in to ~/.fluxbox/keys fluxbox will only parse the first line and ignore all the options after that it seems.





Reproducible: Always
Steps to Reproduce:
1. Open link, scroll down to "Code Listing 3.6"
2. Copy the code listed and paste it in to ~/.fluxbox/keys
3. Reload the fluxbox config (right-click on the desktop, might be an option for it, if not add "[reconfig] (Reload Config)" to ~/.fluxbox/keys.
4. Use alt-s or alt-a to test the new keys
5. Note that not all the options are passed to aterm.

Actual Results:  
Only the first line of the key setting is read, the rest of the options are ignored.

Expected Results:  
Should have read all the options if everything was listed on one line instead of
3 lines using \ at the end of each line.


This could very well be the most retarted bug to submit, but it might save some
email and IRC support if the lines were corrected...

Good guide all around though, thanks for writing it.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2005-04-16 13:07:36 UTC
You're entirely correct. Thanks for reporting!