ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] ratpoison+xbindkey problems...


From: Jonathan Walther
Subject: Re: [RP] ratpoison+xbindkey problems...
Date: Fri Oct 18 09:21:02 2002
User-agent: Mutt/1.4i

On Fri, Oct 18, 2002 at 11:57:19AM +0530, Vardhan Varma wrote:
i guess interactive/non-interactive is the wrong stuff to say what i want to say. it's more of X v/s stdin/out that is needed

Right. That is exactly what we meant by interactive/non-interactive.

We've been defining non-interactive as "invoked by rp -c" and
interactive as "invoked inside ratpoison itself".

Shawn, can you look at the behaviors here and comment on them, and
possibly fix them for consistencies sake?

rp -c "select"
 --> pops up the little-edit-box. in -nox mode, it should take from STDIN

In non-interactive mode, it should return without doing anything; either
you provide the window to select on the command line, or not at all.

rp -c "select foobar"
--> pops up the 'error no such window' . in -nox mode, it should print on STDOUT

The error popping up is correct behavior, if window "foobar" doesn't
exist.  Maybe printing to STDERR would be ok too.

rp -c "help"
--> in -nox mode, print on stdout.

In non-interactive mode, should print on stdout, just like the windows
command does.

rp -c "windows"
--> only in -nox mode, should print on stdout.

It already does by default in non-interactive mode.

Jonathan

--
                    Geek House Productions, Ltd.

 Providing Unix & Internet Contracting and Consulting,
 QA Testing, Technical Documentation, Systems Design & Implementation,
 General Programming, E-commerce, Web & Mail Services since 1998

Phone:   604-435-1205
Email:   address@hidden
Webpage: http://reactor-core.org
Address: 2459 E 41st Ave, Vancouver, BC  V5R2W2

Attachment: pgpP9BAF4Cytb.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]