Re: alias's - ksh

2014-04-22 Thread Craig R. Skinner
On 2014-04-21 Mon 14:22 PM |, Martin Brandenburg wrote: > > # tset on interactive login shells. > case "$-" in > *i*) > eval `tset -sQ '-munknown:?vt220' $TERM` > ;; > esac > # /etc/profile: [[ -o interactive ]] && { [[ ${SHELL} == '/bin/ksh' ]] && . /etc/ksh.kshrc

Re: alias's - ksh

2014-04-21 Thread Eric Furman
On Mon, Apr 21, 2014, at 04:11 AM, Philip Guenther wrote: > On Sun, Apr 20, 2014 at 9:47 PM, Nex6|Bill wrote: > > Kinda new to OpenBSD, (have a couple of 5.4 installs in VMs); whats the > > standard for alias's? i added it to the .profile but some googling seems to > > indicate that that wont wor

Re: alias's - ksh

2014-04-21 Thread Adam Thompson
On 14-04-21 09:56 AM, Philip Guenther wrote: On Mon, Apr 21, 2014 at 7:49 AM, Adam Thompson wrote: I have developers using Ant deploy scripts that SSH into the target host repeatedly, once for every build step. Ant does a reasonably good job of emulating a terminal and handling strangeness in

Re: alias's - ksh

2014-04-21 Thread Philip Guenther
On Mon, Apr 21, 2014 at 7:49 AM, Adam Thompson wrote: > On 14-04-21 09:36 AM, Philip Guenther wrote: >> >> Hmm, I haven't seen anything like that in many many years. $ENV used to be >> processed by non-interactive scripts, but that was a bug fixed in 2007. I >> would be interested in hearing detai

Re: alias's - ksh

2014-04-21 Thread Adam Thompson
On 14-04-21 09:36 AM, Philip Guenther wrote: Hmm, I haven't seen anything like that in many many years. $ENV used to be processed by non-interactive scripts, but that was a bug fixed in 2007. I would be interested in hearing details of specific cases where .profile is parsed by non-terminal sof

Re: alias's - ksh

2014-04-21 Thread Philip Guenther
On Mon, Apr 21, 2014 at 7:22 AM, Martin Brandenburg wrote: ... > I'm going to add that .profile may be read by non-terminal login software > (xdm, etc.) as well, so it's not a bad idea to limit terminal > initialization stuff to interactive login sessions: Hmm, I haven't seen anything like that i

Re: alias's - ksh

2014-04-21 Thread Martin Brandenburg
Philip Guenther wrote: > On Sun, Apr 20, 2014 at 9:47 PM, Nex6|Bill wrote: > > Kinda new to OpenBSD, (have a couple of 5.4 installs in VMs); whats the \ > standard for alias's? i added it to the .profile but some googling seems \ > to > > indicate that that wont work. that you have to export

Re: alias's - ksh

2014-04-21 Thread Philip Guenther
On Sun, Apr 20, 2014 at 9:47 PM, Nex6|Bill wrote: > Kinda new to OpenBSD, (have a couple of 5.4 installs in VMs); whats the > standard for alias's? i added it to the .profile but some googling seems to > indicate that that wont work. that you have to export, and do an .kshrc file? > so whats the

Re: alias's - ksh

2014-04-20 Thread Eric Furman
On Mon, Apr 21, 2014, at 12:47 AM, Nex6|Bill wrote: > Kinda new to OpenBSD, (have a couple of 5.4 installs in VMs); whats the > standard for alias's? i added it to the .profile but some googling seems > to > indicate that that wont work. that you have to export, and do an .kshrc > file? so whats th

alias's - ksh

2014-04-20 Thread Nex6|Bill
Kinda new to OpenBSD, (have a couple of 5.4 installs in VMs); whats the standard for alias's? i added it to the .profile but some googling seems to indicate that that wont work. that you have to export, and do an .kshrc file? so whats the "standard?" -Nex6