[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] Answer to "** The Gimp is impossible to use under ratpoison!"
From: |
Shawn Betts |
Subject: |
Re: [RP] Answer to "** The Gimp is impossible to use under ratpoison!" |
Date: |
Wed Oct 8 01:31:08 2003 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
twb <address@hidden> writes:
> Does ratpoison currently have a way to get commands from stdin? Because then
> you could just do
>
> #!/usr/bin/ratpoison --stdin
> <ratpoison commands>
No it doesn't. This would be useful. Although it's easy to write a
wrapper script. I've stuck this script in contrib/ in CVS:
#!/usr/bin/perl
$ratpoison = $ENV{RATPOISON} or die "Where is ratpoison?";
while (<>) {
chomp;
push @accum, "-c";
push @accum, "\"$_\"";
}
system ("$ratpoison @accum");