pseydtonne: Behold the Operator, speaking into a 1930s headset with its large mouthpiece. (Default)
[personal profile] pseydtonne


alias typing='nedit -xrm "nedit*text.background: darkblue" -xrm "nedit*text.foreground: yellow"'

The above is not perfect (I'd prefer Prussian blue and maybe a sea foam green for the text), but it does convey what I want the text editor nedit to do when I use it for writing LiveJournal entries. I didn't have to dig all that long through the manuals. All I had to do was start myself over.

First, I typed "man nedit" and found out about the flag that overrides X defaults (-xrm) and the format it likes. This flag either has an obscure concatenation character or it just doesn't perform more than one tweak each time it's invoked. Then I made an alias for this string of crud so that I could get my desired colors each time I call up the program and added the string into my .bashrc file.

I also added this line to my .bashrc because my mod for my virtual consoles (which I'd added to my .bash_profile) wasn't getting called to my X terminals:

PS1="\@. \u is in \W\$ "

This way, I get the time, who I'm logged in as and the last directory I'm in each time I hit enter.

Yeeeeeee! Now all I need is some time to read the documentation I just found for the Grand Unified Bootloader and I'll be sound as a pound.

By the way, I had a fine day on the sales floor and I'm almost ready for bed.

-geek pride all the way, Dante

Date: 2003-03-09 07:25 am (UTC)
From: [identity profile] metahacker.livejournal.com
what, there's no .neditrc?

Date: 2003-03-09 12:17 pm (UTC)
From: [identity profile] pseydtonne.livejournal.com
There is, but it "should not be edited by the user". It seems to be read-only -- nedit can write to the .neditrc but whatever you write to it will be ignored. You can change settings within nedit and save those, but it acts very strange about which settings you'd want to save (typeface is fine, but color isn't). This starts sounding more and more like MicroSoft software, doesn't it?

Lazy programming, I say. "Oh, leave it to the windowing manager." Why? I only want this in the app, not all windows.

Date: 2003-03-09 12:26 pm (UTC)
From: [identity profile] hakamadare.livejournal.com
well done! btw, are you aware of the rich variety of color specifications that X11 can accept?

to find your distribution-specific version of that file, run a locate for "rgb.txt".

-steve

Boy do I feel relatively inadequate...

Date: 2003-03-10 08:45 am (UTC)
From: [identity profile] graciana.livejournal.com
...if you consider that I just started my own livejournal thingy. I loved reading yours Dante - I've lurked it for awhile ever since I got the link from Mark. Just wanted to stop by and give you an "Hola!" too and I hope things are going well for you.

Shirley Grace @-}--

Whoooo!

Date: 2003-03-10 08:09 pm (UTC)
From: [identity profile] pseydtonne.livejournal.com
Welcome! Oh rawkin' out! By the way, metahacker is someone you know from Binghamton as well. (I shan't divulge metahacker's identity, lest his protection of it be a secret.)

Yay! It's kind of you to read my journal.

-chipper, Dante

Re: Boy do I feel relatively inadequate...

Date: 2003-03-10 08:19 pm (UTC)
From: [identity profile] chaggalagirl.livejournal.com
don't feel inadequate. he turned into a supergeek. he's still the loveable Dante :D

August 2016

S M T W T F S
 123456
78910111213
1415 1617181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 4th, 2026 03:09 pm
Powered by Dreamwidth Studios