Re: Passing arguments to rxvt when it is used as an argument for chere
Yep those are the two ways to do it. There's no way to specify extra arguments on the chere command line that will be appended to the invocation command. May I ask what command line options you're thinking of adding? Could they go into .Xdefaults instead? Most rxvt and xterm options can. Dave. chere maintainer. Hi I don't tend to run an xserver so rxvt runs in native mode when invoked via chere. All was working ok but then an issue described here http://cygwin.com/ml/cygwin/2007-09/msg00359.html occurred so I needed some was to make the chere invoked rxvt appear with the correct font. I solved it with a bit of sed: - $ cat chere.sh chere -ipcf2 -t rxvt -s bash | sed 's! -e /bin! -fn \\Lucida\ Console-bold-12\\ -rv -ls -sb -sr -tcw -sl 3000 -e /bin!' /tmp/$$.sh chmod 755 /tmp/$$.sh /tmp/$$.sh rm /tmp/$$.sh Regards Richard -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Passing arguments to rxvt when it is used as an argument for chere
On 9/19/07, Richard Toy [EMAIL PROTECTED] wrote: Hi I don't tend to run an xserver so rxvt runs in native mode when invoked via chere. All was working ok but then an issue described here http://cygwin.com/ml/cygwin/2007-09/msg00359.html occurred so I needed some was to make the chere invoked rxvt appear with the correct font. I solved it with a bit of sed: - $ cat chere.sh chere -ipcf2 -t rxvt -s bash | sed 's! -e /bin! -fn \\Lucida\ Console-bold-12\\ -rv -ls -sb -sr -tcw -sl 3000 -e /bin!' /tmp/$$.sh chmod 755 /tmp/$$.sh /tmp/$$.sh rm /tmp/$$.sh Regards Richard In native mode, rxvt still uses the .Xdefaults file to read settings. Here's what I'm using right now with it: rxvt*foreground: gray rxvt*background: black rxvt*geometry: 132x50 rxvt*saveLines: 1000 rxvt*scrollBar: true rxvt*scrollBar_right: true rxvt*loginShell: true rxvt*font: DejaVu Sans Mono-13 I'm sure sed is fun, but there's already a more elegant solution to your problem. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Passing arguments to rxvt when it is used as an argument for chere
On Wed, 19 Sep 2007, Brian Mathis wrote: On 9/19/07, Richard Toy [EMAIL PROTECTED] wrote: http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Hi I don't tend to run an xserver so rxvt runs in native mode when invoked via chere. All was working ok but then an issue described here http://cygwin.com/ml/cygwin/2007-09/msg00359.html occurred so I needed some was to make the chere invoked rxvt appear with the correct font. I solved it with a bit of sed: - $ cat chere.sh chere -ipcf2 -t rxvt -s bash | sed 's! -e /bin! -fn \\Lucida\ Console-bold-12\\ -rv -ls -sb -sr -tcw -sl 3000 -e /bin!' /tmp/$$.sh chmod 755 /tmp/$$.sh /tmp/$$.sh rm /tmp/$$.sh Regards Richard In native mode, rxvt still uses the .Xdefaults file to read settings. Here's what I'm using right now with it: rxvt*foreground: gray rxvt*background: black rxvt*geometry: 132x50 rxvt*saveLines: 1000 rxvt*scrollBar: true rxvt*scrollBar_right: true rxvt*loginShell: true rxvt*font: DejaVu Sans Mono-13 I'm sure sed is fun, but there's already a more elegant solution to your problem. The .Xdefaults solution will affect all instances of rxvt, not just the one spawned by chere. There is a way to distinguish those instances by name, but then you'd still need to at least set the name, which means passing arguments via chere. This is also a reply to Dave (the chere maintainer) regarding why someone would want to pass arguments to rxvt. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Passing arguments to rxvt when it is used as an argument for chere
On Wed, 19 Sep 2007, Brian Mathis wrote: On 9/19/07, Richard Toy [EMAIL PROTECTED] wrote: I don't tend to run an xserver so rxvt runs in native mode when invoked via chere. All was working ok but then an issue described here http://cygwin.com/ml/cygwin/2007-09/msg00359.html occurred so I needed some was to make the chere invoked rxvt appear with the correct font. I solved it with a bit of sed: - In native mode, rxvt still uses the .Xdefaults file to read settings. That's the recommended solution for this particular problem. Igor Peshansky wrote: The .Xdefaults solution will affect all instances of rxvt, not just the one spawned by chere. Yep, I've been aware of that for a while - which is why I asked what the OP was trying solve. I've just been a bit slow updating chere since there haven't been many specific requests/problem reports for it. Anyway, I'll bump this up my priority list. Dave. chere maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Passing arguments to rxvt when it is used as an argument for chere
Hi I see from this post http://www.cygwin.com/ml/cygwin/2007-06/msg00465.html that somebody appears to have passed some arguments to rxvt when it is used as an argument for chere. Is this possible to do this by invoking chere in some way or is it necessary to edit the Windows registry to pass arguments? Thanks Richard -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Passing arguments to rxvt when it is used as an argument for chere
--- Richard Toy ha scritto: Hi I see from this post http://www.cygwin.com/ml/cygwin/2007-06/msg00465.html that somebody appears to have passed some arguments to rxvt when it is used as an argument for chere. Is this possible to do this by invoking chere in some way or is it necessary to edit the Windows registry to pass arguments? Thanks Richard two solutions on my mind: 1) run chere as usual and use regedit to modify only the command. (this is how I did it) 2) run chere with -p and use the output as base for a script. chere -i -p -t rxvt -s bash Regards Marco ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Passing arguments to rxvt when it is used as an argument for chere
Marco Atzeri wrote: --- Richard Toy ha scritto: I see from this post http://www.cygwin.com/ml/cygwin/2007-06/msg00465.html that somebody appears to have passed some arguments to rxvt when it is used as an argument for chere. Is this possible to do this by invoking chere in some way or is it necessary to edit the Windows registry to pass arguments? two solutions on my mind: 1) run chere as usual and use regedit to modify only the command. (this is how I did it) 2) run chere with -p and use the output as base for a script. chere -i -p -t rxvt -s bash Yep those are the two ways to do it. There's no way to specify extra arguments on the chere command line that will be appended to the invocation command. May I ask what command line options you're thinking of adding? Could they go into .Xdefaults instead? Most rxvt and xterm options can. Dave. chere maintainer. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/