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 [[ ${SHELL}

Re: alias's - ksh

2014-04-21 Thread Philip Guenther
On Sun, Apr 20, 2014 at 9:47 PM, Nex6|Bill n6gh...@yahoo.com 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?

Re: alias's - ksh

2014-04-21 Thread Martin Brandenburg
Philip Guenther guent...@gmail.com wrote: On Sun, Apr 20, 2014 at 9:47 PM, Nex6|Bill n6gh...@yahoo.com 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

Re: alias's - ksh

2014-04-21 Thread Philip Guenther
On Mon, Apr 21, 2014 at 7:22 AM, Martin Brandenburg mar...@martinbrandenburg.com 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

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

Re: alias's - ksh

2014-04-21 Thread Philip Guenther
On Mon, Apr 21, 2014 at 7:49 AM, Adam Thompson athom...@athompso.net 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

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 athom...@athompso.net 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

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 n6gh...@yahoo.com 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

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

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 the