Francesco Bochicchio | 1 Dec 2002 19:07
Picon
Favicon

Patch: history file in 'query' module


Hi all,

I've made a small change to the query module,
to load/save the command history from/to a file.

The file name is given as configuration parameter 'history_file'
of the query module config file (query.conf). If this parameter
is present, the query module loads the command history from the file
at startup and after each 'query input' saves the new command history 
on the same file.

It seems to work on my PC. One thing I left out is error handling 
(file not found, error reading/writing, etc...) ... but maybe is better
is such errors are handled silently?

The changes have been made against ion-devel-20021104. In case anyone
is interested, the patch is attached.

Ciao
--

-- 
FB
Attachment (history_patch.diff.gz): application/octet-stream, 1654 bytes
Lukas Schroeder | 2 Dec 2002 00:36
Picon

[PATCH] re: shortcuts?


On Fri, Nov 29, 2002 at 07:52:15AM -0500, Derek Wyatt wrote:
> The shortcut was the neat little feature that let you label a frame
> with a character.  I had 5 frames that i could switch to with a simple
> keystroke, no matter where i was (e.g. CTRL-K O m took me to my mail,
> even from a different workspace).  Amazing feature!  But it seems to
> be gone.

i have updated the shortcuts-patch to apply against ion-devel-20021104.

grab the patch from this URL
http://www.azzit.de/patches/ion/files/ion-devel-20021104-shortcut-1.diff

and here's a short summary of what the patch gives you:

  it's based on two functions: set_shortcut and goto_shortcut both work
a bit like submap's, as they collect and interpret the subsequent
keystroke the user makes.

  using the function "set_shortcut" establishes a grab, and assignes the
next pressed key to the currently active frame as it's shortcut.  to
clear a shortcut you can use BackSpace (or ESC) as the subsequent key to
set_shortcut.

  valid shortcuts are characters '0'-'9','A'-'Z' and 'a'-'z'.

  if a frame has a shortcut set, it's frame-bar contains a box in it's
upper left [or right] corner with the shortcut character printed into
it. this box is painted in "act_tab_shortcut_colors" and
"tab_shortcut_colors".  if you prefer to get use the upper right corner
(Continue reading)

Jeremy Fincher | 2 Dec 2002 04:54
Picon
Favicon

Ion use cases.

I'm looking for a simple window manager that lets me manage my windows through 
my keyboard in a non-mouse-using manner.  I've used ratpoison, but it's 
too...well, too something to be useful to me.  I want different workspaces to 
have different frames and so on (for instance, I want one workspace to have 2 
frames, one for Gaim, and one for Gaim's Conversations)  Ion seems to fit the 
bill nicely, but I'm having a bit of trouble setting it up how I like it.

I'd like to be able to startx and have several workspaces, some with separate 
frames, some with one simple frame for a maximized application.  I'd like 
certain applications to start on certain workspaces every time.  I'd like a 
set of keys prefix mapped (like ratpoison; I use emacs and don't want my 
keystrokes clobbered by the window manager, so I'd like everything prefixed 
with Ctrl-T or something similar).

Basically, what I'm missing is documentation on how to *use* Ion.  I've read 
the documentation on the configuration format, the bindings format, the 
various functions offered, etc.  What I want to know now is how to *use* Ion 
to make my computing experience more efficient and consistent.  How do you 
Ion users use your environment?  What configuration files do you use?  What 
does your .xinitrc, .ion/ion.conf, etc. look like?

Thanks a bunch, and I'm looking forward to trying these ideas out :)

Jeremy
Andreas Fuchs | 2 Dec 2002 14:13
X-Face
Picon
Favicon

Re: Ion use cases.

On 2002-12-01, Jeremy Fincher <fincher.8 <at> osu.edu> wrote:
> Basically, what I'm missing is documentation on how to *use* Ion.
> I've read the documentation on the configuration format, the bindings
> format, the various functions offered, etc.  What I want to know now
> is how to *use* Ion to make my computing experience more efficient and
> consistent.  How do you Ion users use your environment?  What
> configuration files do you use?  What does your .xinitrc,
> .ion/ion.conf, etc. look like?

You might want to check the ion Wiki:
<URL:http://wiki.ael.be/ion/>. I think there you will find a some of
your questions answered (except the prefix key stuff, which would be
interesting).

Have fun,
--

-- 
Andreas Fuchs, <asf <at> acm.org>, asf <at> jabber.at, antifuchs
Derek Wyatt | 2 Dec 2002 14:28

Re: [PATCH] re: shortcuts?

Excellent!

It appears to work just fine on Solaris 2.7, however patch didn't seem to
want to patch it too well.  I claim not to be an expert on patch, however,
but i got a lot of failed hunks.  It wasn't a big deal to patch it manually
so that's what i did.

And bingo... got my shortcuts back.  This thing rocks :)

Thanks a lot Lukas.  Much appreciated.
Derek

On Mon, Dec 02, 2002 at 12:36:26AM +0100, Lukas Schroeder wrote:
| 
| On Fri, Nov 29, 2002 at 07:52:15AM -0500, Derek Wyatt wrote:
| > The shortcut was the neat little feature that let you label a frame
| > with a character.  I had 5 frames that i could switch to with a simple
| > keystroke, no matter where i was (e.g. CTRL-K O m took me to my mail,
| > even from a different workspace).  Amazing feature!  But it seems to
| > be gone.
| 
| 
| i have updated the shortcuts-patch to apply against ion-devel-20021104.
| 
| grab the patch from this URL
| http://www.azzit.de/patches/ion/files/ion-devel-20021104-shortcut-1.diff
| 
| 
| 
| and here's a short summary of what the patch gives you:
(Continue reading)

Rasmus Meldgaard | 2 Dec 2002 16:38
Picon
Favicon

Re: Ion use cases.

On Sun, Dec 01, 2002 at 10:54:13PM -0500, Jeremy Fincher wrote:
[snip]
> I'd like to be able to startx and have several workspaces, some with separate 
> frames, some with one simple frame for a maximized application.  I'd like 
> certain applications to start on certain workspaces every time. 

AFAIK you have to use ion-devel to do that, and then you just use the
kludges optien target like this:

winprop "Mozilla-bin.mozilla-bin" {
    target "www"
}

> I'd like a set of keys prefix mapped (like ratpoison; I use emacs
> and don't want my keystrokes clobbered by the window manager, so I'd
> like everything prefixed with Ctrl-T or something similar).

I use Ctrl-S as prefix, but it will not be a problem to change that to
Ctrl-T. You can find my .ion-devel dir at
http://www.fys.ku.dk/~rm/unix/ion/ion-devel/ my bindings is in
bindings.conf

--

-- 
Rasmus Meldgaard
Xavier MAILLARD | 2 Dec 2002 22:25
X-Face
Picon

Metadom module


Hi,

Firstly, I have to congrats all of you for this great wm !

Then here is my question : I'm running the latest devel version of Ion
(which is really stable here) and I wanted to try the metadome module
but couldn't achieve.

I think I'm doing bad things but I promise I did what the readme.html
file said.

So my question is : is metadome still compliant with current devel
version of Ion ?

Thanx in advance for you answers.

Cdt,

zeDek

Per Olofsson | 3 Dec 2002 01:00
Picon
Picon
Gravatar

ion-devel Debian package

I have made a Debian package for the latest ion-devel.  It can be
downloaded from my APT source, just add the following to
/etc/apt/sources.list:

deb http://kanin.dsv.su.se/ ion-devel/sid main
deb-src http://kanin.dsv.su.se/ ion-devel main

The binary package is for i386.  Unfortunately, there is no binary
package for woody yet.  It would be nice if somebody could build one.

I am also considering asking somebody to upload this package to the
official Debian archive.  What do you think?

/Pelle
Xavier MAILLARD | 3 Dec 2002 05:05
X-Face
Picon

Re: ion-devel Debian package

On Tue, 3 Dec 2002, Per Olofsson uttered the following:

>  I have made a Debian package for the latest ion-devel.  It can be
>  downloaded from my APT source, just add the following to
>  /etc/apt/sources.list:
>  
>  deb http://kanin.dsv.su.se/ ion-devel/sid main
>  deb-src http://kanin.dsv.su.se/ ion-devel main
>  
>  The binary package is for i386.  Unfortunately, there is no binary
>  package for woody yet.  It would be nice if somebody could build one.
>  
>  I am also considering asking somebody to upload this package to the
>  official Debian archive.  What do you think?
>  
>  /Pelle

This is just GREAATTTTTTTTT ! What about adding debian package of some
useful modules too (ie, metadome).

It's exactly what I'm looking for for awhile now :)

Good job.

Per Olofsson | 3 Dec 2002 09:42
Picon
Picon
Gravatar

Re: ion-devel Debian package

On Tue, Dec 03, 2002 at 05:05:28AM +0100, Xavier MAILLARD wrote:
> 
> This is just GREAATTTTTTTTT ! What about adding debian package of some
> useful modules too (ie, metadome).

Is metadome really compatible with the latest ion-devel?  There's no
patch for 20021104 in the source.  Otherwise, I might consider adding
modules and patches if they're useful.

> It's exactly what I'm looking for for awhile now :)
> 
> Good job.

Thanks :)

/Pelle

Gmane