1. ed background colour
- Posted by Jules Davy <jdavy at dsl.pipex.com> Oct 05, 2006
- 503 views
I use ed and would prefer the background to be BRIGHT_WHITE for better contrast with the default syntax colours, but after changing it remains WHITE. Is this a limitation of ed? thanks.
2. Re: ed background colour
- Posted by don cole <doncole at pacbell.net> Oct 08, 2006
- 495 views
Jules Davy wrote: > > I use ed and would prefer the background to be BRIGHT_WHITE for better > contrast > with the default syntax colours, but after changing it remains WHITE. Is this > a limitation of ed? > thanks. I myself have never used ed.ex. As far as I know it is an antiquated editor. I believe most people are using Edita now in which changing the background color is very easy. Don Cole
3. Re: ed background colour
- Posted by Jules Davy <jdavy at dsl.pipex.com> Oct 08, 2006
- 490 views
don cole wrote: > I myself have never used ed.ex. As far as I know it is an antiquated editor. > > I believe most people are using Edita now in which changing the background > color is very easy. > > Don Cole I'm using Linux so can't use Edita. Having got used to ed I find it much more efficient than the usual gui editors, no constant switching between mouse and keyboard. It's also fast and light with large files loading in a fraction of the time taken by heavier editors, and the code completion and error finding are also nice features. Ed may be simple, but it does what it was designed to do very well IMO.
4. Re: ed background colour
- Posted by Robert Craig <rds at RapidEuphoria.com> Oct 08, 2006
- 504 views
Jules Davy wrote: > I use ed and would prefer the background to be BRIGHT_WHITE for better > contrast > with the default syntax colours, but after changing it remains WHITE. Is this > a limitation of ed? I think it may be a limitation of the PC hardware, or DOS, or the Linux text console. I don't think the BRIGHT *background* colors are fully supported. Anyway, my impression was that a dull white or gray background made the foreground colors look better. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
5. Re: ed background colour
- Posted by Jules Davy <jdavy at dsl.pipex.com> Oct 08, 2006
- 482 views
> I think it may be a limitation of the PC hardware, > or DOS, or the Linux text console. > I don't think the BRIGHT *background* colors are fully supported. > Anyway, my impression was that a dull white > or gray background made the foreground colors look better. Ok thanks Rob, guess I'll learn to live with white. :)
6. Re: ed background colour
- Posted by Kenneth Rhodes <ken_rhodes30436 at yahoo.com> Oct 08, 2006
- 473 views
- Last edited Oct 09, 2006
Robert Craig wrote: > > Jules Davy wrote: > > I use ed and would prefer the background to be BRIGHT_WHITE for better > > contrast > > with the default syntax colours, but after changing it remains WHITE. Is > > this > > a limitation of ed? > > I think it may be a limitation of the PC hardware, > or DOS, or the Linux text console. > I don't think the BRIGHT *background* colors are fully supported. > Anyway, my impression was that a dull white > or gray background made the foreground colors look better. > > Regards, > Rob Craig > Rapid Deployment Software > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> Rob, I think the Euphoria documentation should reflect this problem somewhere. Ken Rhodes Folding at Home: http://folding.stanford.edu/ 100% MicroSoft Free SuSE Linux 10.0 No AdWare, SpyWare, or Viruses! Life is Good,
7. Re: ed background colour
- Posted by Michael J. Sabal <m_sabal at yahoo.com> Oct 08, 2006
- 489 views
- Last edited Oct 09, 2006
Robert Craig wrote: > > Anyway, my impression was that a dull white > or gray background made the foreground colors look better. > These are the colors I use. I've found them to be quite easy on the eyes.
-- colors constant TOP_LINE_TEXT_COLOR = YELLOW, TOP_LINE_BACK_COLOR = RED, TOP_LINE_DIM_COLOR = BLUE, BACKGROUND_COLOR = BLUE -- colors needed by syncolor.e: -- Adjust to suit your monitor and your taste. global constant NORMAL_COLOR = BRIGHT_WHITE, -- GRAY might look better COMMENT_COLOR = BRIGHT_GREEN, KEYWORD_COLOR = YELLOW, BUILTIN_COLOR = BRIGHT_RED, STRING_COLOR = BRIGHT_CYAN, -- BROWN might look better BRACKET_COLOR = {NORMAL_COLOR, YELLOW, BRIGHT_WHITE, BRIGHT_BLUE, BRIGHT_RED, BRIGHT_CYAN, BRIGHT_GREEN}
Mike Sabal
8. Re: ed background colour
- Posted by Kenneth Rhodes <ken_rhodes30436 at yahoo.com> Oct 09, 2006
- 482 views
Michael J. Sabal wrote: > > Robert Craig wrote: > > > > Anyway, my impression was that a dull white > > or gray background made the foreground colors look better. > > > These are the colors I use. I've found them to be quite easy on the eyes. > }}} <eucode> > -- colors > constant TOP_LINE_TEXT_COLOR = YELLOW, > TOP_LINE_BACK_COLOR = RED, > TOP_LINE_DIM_COLOR = BLUE, > BACKGROUND_COLOR = BLUE ??? TOP_LINE_DIM_COLOR and BACKGROUND_COLOR are the same? > -- colors needed by syncolor.e: > -- Adjust to suit your monitor and your taste. > global constant NORMAL_COLOR = BRIGHT_WHITE, -- GRAY might look better > COMMENT_COLOR = BRIGHT_GREEN, > KEYWORD_COLOR = YELLOW, > BUILTIN_COLOR = BRIGHT_RED, > STRING_COLOR = BRIGHT_CYAN, -- BROWN might look better > BRACKET_COLOR = {NORMAL_COLOR, YELLOW, BRIGHT_WHITE, > BRIGHT_BLUE, BRIGHT_RED, BRIGHT_CYAN, > BRIGHT_GREEN} > </eucode> {{{ > Mike Sabal Here's my take: -- colors integer TOP_LINE_TEXT_COLOR, TOP_LINE_BACK_COLOR, TOP_LINE_DIM_COLOR, BACKGROUND_COLOR constant BACKGROUND_GREEN = FALSE constant ED_EX_CLASSIC = FALSE if ED_EX_CLASSIC then TOP_LINE_TEXT_COLOR = BLACK TOP_LINE_BACK_COLOR = BROWN TOP_LINE_DIM_COLOR = BLUE BACKGROUND_COLOR = WHITE elsif BACKGROUND_GREEN then TOP_LINE_TEXT_COLOR = BLACK TOP_LINE_BACK_COLOR = GREEN TOP_LINE_DIM_COLOR = BRIGHT_CYAN BACKGROUND_COLOR = WHITE else -- blue back ground, yellow text -- edx.ex default colors TOP_LINE_TEXT_COLOR = YELLOW TOP_LINE_BACK_COLOR = BLUE TOP_LINE_DIM_COLOR = BRIGHT_CYAN BACKGROUND_COLOR = WHITE end if -- colors needed by syncolor.edx: -- Adjust to suit your monitor and your taste. global constant NORMAL_COLOR = BLACK, -- GRAY might look better COMMENT_COLOR = RED, KEYWORD_COLOR = BLUE, BUILTIN_COLOR = MAGENTA, STRING_COLOR = BRIGHT_GREEN, -- BROWN might look better LIBRARY_COLOR = BROWN, BRACKET_COLOR = {NORMAL_COLOR, YELLOW, BRIGHT_WHITE, BRIGHT_BLUE, BRIGHT_RED, BRIGHT_CYAN, BRIGHT_GREEN} Ken Rhodes Folding at Home: http://folding.stanford.edu/ 100% MicroSoft Free SuSE Linux 10.0 No AdWare, SpyWare, or Viruses! Life is Good,
9. Re: ed background colour
- Posted by Robert Craig <rds at RapidEuphoria.com> Oct 09, 2006
- 490 views
Kenneth Rhodes wrote: > > Robert Craig wrote: > > > > Jules Davy wrote: > > > I use ed and would prefer the background to be BRIGHT_WHITE for better > > > contrast > > > with the default syntax colours, but after changing it remains WHITE. Is > > > this > > > a limitation of ed? > > > > I think it may be a limitation of the PC hardware, > > or DOS, or the Linux text console. > > I don't think the BRIGHT *background* colors are fully supported. > > Anyway, my impression was that a dull white > > or gray background made the foreground colors look better. > > Rob, I think the Euphoria documentation should reflect this > problem somewhere. Yes, it should. I just added a note to bk_color(). Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
10. Re: ed background colour
- Posted by Jules Davy <jdavy at dsl.pipex.com> Oct 09, 2006
- 496 views
Robert Craig wrote: > I think it may be a limitation of the PC hardware, > or DOS, or the Linux text console. > I don't think the BRIGHT *background* colors are fully supported. > Anyway, my impression was that a dull white > or gray background made the foreground colors look better. It seems highly dependant on which text console you're using. 'white' in the gnome terminal is darker than 'white' in xterm, and in rxvt it's a pale pink which gives a better contrast. Unfortunately xterm is the only terminal which gives the correct key mappings, at least on my system. (Ubuntu Dapper Drake).