On Sun, Dec 21, 2014 at 09:29:48AM -0800, kario tay <[email protected]> wrote:
> Hi --
> 
> This is a free email account, so I don't have control over what's

There are free mail accounts that let you control your contents, so you
are wrong: you have control over the footer with a free mail account.

> posted in the footer. You can safely ignore what's there.

The problem is that these mails get archived publicly, and I don't want to
be forced to advertise the proprietary software you chose to advertise. I
don't like this style of forced advertising (and am not alone with it),
and forcing that on others is a bit rude, don't you think so?

> > I don't see any reference for "term class", unless you mean "urxvt::term
> > class" which is clearly described in the urxvtperl manpage.
> 
> Yes, this set of questions relates to urxvt::term class. I don't
> know that was a joke... so, ha. Good one...?

No, it wasn't a joke, but an honest attempt to cut through some of the
confusion in your mail - since urxvt::term is clearly documented, but you
said "the term class" isn't, I needed to know whether you didn't see or
understand that part of the documentation, or refer to something else.

> > Urxvt only knows the single command it starts within the terminal window,
> > it cannot start additional commands (it would be technically possible,
> > but almost cetrainly very undesirable).
> 
> How would you open a new window and, for example, send the 'ls' command
> to that window, then leaving the command line open to await further input?

The very concept makes no sense, because "ls" has no command line. When you
first want to run ls, and then a shell, you need to specify both, e.g.

   urxvt -e sh -c 'ls; exec sh'

In the same way you can specify -e and its arguments in urxvt::term->new:

   new urxvt::term
      $env, "urxvt",
      -e => "sh", -c => "ls; exec sh"
   ;

> of up your working environment. Another example would be something simple
> like sending a message to the terminal when it opens,
> like "echo 'Hello My Dear User!'" (or something else).

Samr thing, write a script that outputs the emssage, then starts a shell.

> That was a mistake. I meant to write: my $env = $self->env;
> 
> If that's incorrect, what is the correct way to set
> the $envhashref and $rxvtname variables?

This is a configurable parameter - the "correct" way depends on what you
want to do. If you just want to start a new terminal using the sdame
environment as the current one, $term->env is the easiest way to do that.

> The documentation gives no further ideas (and if it does, repeating
> here would be like asking me to read it for the millionth time -- not
> useful).

That's because the environment is a unix feature
(http://en.wikipedia.org/wiki/Environment_variable#Unix).

> $term = new urxvt::term $envhashref, $rxvtname, [arg...]
> 
> An example of how to start a new terminal window and send a command
> to that window is what would be most useful here, so that I can

I think the problem is "send a command" - this concept doesn't exist, and
you best drop it.

> done this? It seems like something a powerful application like
> urxvt would be able to do easily once you know how to do it.

Maybe it should, but there isn't, due to the way unix works. You should
replace this concept by "how do I do what I want to do with a program
running inside a terminal".

> render the text correctly until you resize the window. Font resizing
> seems like a feature that an advanced terminal like urxvt would have built-in,

Maybe, but urxvt has no concept of font resizing at the moment. You can,
however, change any font using the 710/711/712/713 osc sequences, e.g.

  printf "\e]710;fixed\e\\"

Or using e.g. $term->cmd_parse ("\e]710;fixed\e\\").

> > -----Original Message-----

Please don't add a full-quote of previous messages without refering to it
- it forces others to skim through it to see if you wrote something there,
and already have your previous message.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [email protected]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to