nedit: colors at startup
Eddy De Greef
degreef at imec.be
Thu Jul 3 09:29:14 CEST 2008
Yes, that works too, if you use hex color values.
Eg: nedit -xrm "nedit.textBgColor:#FF0000"
Eddy
wayne.lydecker at l-3com.com wrote:
> Thanks Eddy, that works good. Can it work for rgb colors as well?
>
> -- Wayne.
>
> Eddy De Greef wrote:
>> Here's what I do:
>>
>> nedit -xrm "nedit.textBgColor:<some color>"
>>
>> You'll need version 5.4 or higher, and you can set only one background
>> color per nedit (server) instance in this way.
>>
>> Eddy
>>
>> wayne.lydecker at l-3com.com wrote:
>>> I'd like to be able to set different text colors when launching nedit
>>> from the command line. The -background (-bg) and -foreground (-fg)
>>> change the window border. How can I depict different color text other
>>> than what is set as default? I want different colors when I open files
>>> with "-read" for read-only.
>>>
>>> Thanks,
>>>
>>> -- Wayne.
>>
>>
More information about the Discuss
mailing list