Re: Re: Paul's & xcal's lsxcommand mojo
Mattias Westlund <[email protected]>
| Newsgroups | gmane.comp.windows.shells.litestep |
|---|---|
| Message-ID | <[email protected]> |
My god, how long has it been since the LSML was this active? I've
recieved like 30 new messages today!
I'm gonna have a look at that autorecycle-less approach but not tonight.
I've tried it before so I know that beer and LS configuration is not a
good combo. :)
Brian Wolven wrote:
> Mattias Westlund wrote:
>> You're right; it was my thinking that was flawed. Of course it needs
>> to check the history file, *not* the lsxcparser file -- since the
>> latter doesn't get updated until the history file is checked. D'oh! :)
>>
>> It works now -- I have a clickable, auto-updating history. Only thing
>> that irks me is having to add another module to the setup for that
>> single purpose... ah well.
>
> This works without the *watchfile - just a bit of xlabel trickery and
> xcal's lsxcparser.
>
>
> *Label cmdhist
> cmdhistStartHidden false
> cmdhistAlwaysOnTop true
> cmdhistX 20
> cmdhistY 40
> cmdhistFontAlign left
> cmdhistFontLeftBorder 4
> cmdhistFontRightBorder 4
> cmdhistAutoWidthMode left
> cmdhistAutoHeightMode top
> cmdhistFile "$ConfigDir$cmdhist.txt"
> cmdhistText "<u>Command
> History:</u><br>[line('$cmdhistFile$',1,$CommandHistoryEntries+0$)]"
> cmdhistUpdateInterval 1000
> cmdhistUpdateAlways
>
> *Label history
> historyStartHidden true
> historyAlwaysOnTop false
> historyX 20
> historyY 40
> historyFontAlign left
> historyFontLeftBorder 4
> historyFontRightBorder 4
> historyAutoWidthMode left
> historyAutoHeightMode top
> historyFile "$commandHistoryFile$"
> historyText "[line('$historyFile$',2,lineCount('$historyFile$'))]"
> historyOnTextChange "$ConfigDir$lsxcparser.exe"
> "$CommandHistoryFile$" "$cmdHistFile$" "0"
> historyUpdateInterval 1000
> historyUpdateAlways
>
>
> ---------------------------------------------------------------------
> Can't Unsubscribe? Check http://desktopian.org/listunsub.html
> LS List Homepage: http://wuzzle.org/list/litestep.php
> Get the LS FAQ: http://lsfaq.shellfront.org
>
>
---------------------------------------------------------------------
Can't Unsubscribe? Check http://desktopian.org/listunsub.html
LS List Homepage: http://wuzzle.org/list/litestep.php
Get the LS FAQ: http://lsfaq.shellfront.org