Re: creating command aliases

2006-05-08 Thread Conrad O'Dea
On 1 May 2006, at 20:59, Buddy Burden wrote: If you mean something that you could type after Ctrl-A colon, then I suppose you could have some sort of alias inside screen that would map to a new window command followed by a stuff command. That might be useful to some folks. But there's

Re: creating command aliases

2006-05-01 Thread Buddy Burden
Conrad, actually, there's a limitation with this. If I am in a window which contains a remote shell, then I have to switch to a window which has a local shell. Not a big deal but a lot of my shells are remote. Having screen handle the alias would allow it to work irrespective of the cont

Re: creating command aliases

2006-04-26 Thread Conrad O'Dea
On 25 Apr 2006, at 07:37, Conrad O'Dea wrote: On 25 Apr 2006, at 03:19, Buddy Burden wrote: alias sshhost screen -t [EMAIL PROTECTED] host Looks like a job for your favorite shell to me. In my own shell-- tcsh--the exact command you give above would work perfectly from the command

Re: creating command aliases

2006-04-24 Thread Conrad O'Dea
Hi Buddy, On 25 Apr 2006, at 03:19, Buddy Burden wrote: alias sshhost screen -t [EMAIL PROTECTED] host Looks like a job for your favorite shell to me. In my own shell-- tcsh--the exact command you give above would work perfectly from the command line, or in my .tcshrc. Am I missing

Re: creating command aliases

2006-04-24 Thread Buddy Burden
Conrad, alias sshhost screen -t [EMAIL PROTECTED] host Looks like a job for your favorite shell to me. In my own shell--tcsh--the exact command you give above would work perfectly from the command line, or in my .tcshrc. Am I missing something here? -- Buddy ___

Re: creating command aliases

2006-04-24 Thread Conrad O'Dea
Hi Michael. thanks for the info. Depending on how busy I find myself over the next couple of weeks I may give this a stab over the next couple of weeks. thanks Conrad On 24 Apr 2006, at 14:15, Michael Schroeder wrote: On Mon, Apr 24, 2006 at 10:35:37AM +0100, Conrad O'Dea wrote: it is p

Re: creating command aliases

2006-04-24 Thread Michael Schroeder
On Mon, Apr 24, 2006 at 10:35:37AM +0100, Conrad O'Dea wrote: > it is possible to create a command alias in .screenrc? > > What I would like to do is to bind a command to a string that is > entered into command line mode. Screen than expands the string and > executes the command. So my .sc

creating command aliases

2006-04-24 Thread Conrad O'Dea
Hi, it is possible to create a command alias in .screenrc? What I would like to do is to bind a command to a string that is entered into command line mode. Screen than expands the string and executes the command. So my .screenrc would contain something like: alias sshhost scree