Talk:Remind

From 43FoldersWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:06, 15 June 2005 (edit)
JamesRifkin (Talk | contribs)
(environment variables)
← Previous diff
Revision as of 14:17, 17 June 2005 (edit) (undo)
MishaDunn (Talk | contribs)
(Wyrd)
Next diff →
Line 3: Line 3:
== Wyrd == == Wyrd ==
-It'd be useful to get some feedback on whether the alias for changing ther TERM setting+running wyrd in MacOSX terminal i) works for everyone, and ii) is a good/wise way to do it. I'm no UNIX expert. The current form of the alias is:+It'd be useful to get some feedback on whether the alias for changing ther TERM setting+running wyrd in MacOSX terminal i) works for everyone, and ii) is a good/wise way to do it. I'm no UNIX expert. The current form of the alias is:<pre>alias wyrd='OLDTERM=$TERM;export TERM=xterm-color;wyrd;export TERM=$OLDTERM'</pre>--[[User:MishaDunn|MishaDunn]]
 +:If your shell is bash, you can use: <pre>alias wyrd='TERM="xterm-color" wyrd'</pre> ([http://learn.clemsonlinux.org/wiki/The_bash_environment#Temporary_Values Reference]) That will execute wyrd with the TERM you want, and it will reset to its previous value after wyrd finishes. --[[User:JamesRifkin|JamesRifkin]] 12:06, 15 Jun 2005 (EDT)
- <pre>alias wyrd='OLDTERM=$TERM;export TERM=xterm-color;wyrd;export TERM=$OLDTERM'</pre>+:Ouch! I should have tested that. The first thing I thought of worked, so I didn't bother looking into it any more. I'll test your version when I'm back on my Mac, and then update the page --[[User:MishaDunn|MishaDunn]] 10:17, 17 Jun 2005 (EDT)
- +
---[[User:MishaDunn|MishaDunn]]+
-:If your shell is bash, you can use: <pre>alias wyrd='TERM="xterm-color" wyrd'</pre> ([http://learn.clemsonlinux.org/wiki/The_bash_environment#Temporary_Values Reference]) That will execute wyrd with the TERM you want, and it will reset to its previous value after wyrd finishes. --[[User:JamesRifkin|JamesRifkin]] 12:06, 15 Jun 2005 (EDT)+

Revision as of 14:17, 17 June 2005

Software Template required... --RB 06:45, 6 Apr 2005 (EDT)

Wyrd

It'd be useful to get some feedback on whether the alias for changing ther TERM setting+running wyrd in MacOSX terminal i) works for everyone, and ii) is a good/wise way to do it. I'm no UNIX expert. The current form of the alias is:
alias wyrd='OLDTERM=$TERM;export TERM=xterm-color;wyrd;export TERM=$OLDTERM'
--MishaDunn
If your shell is bash, you can use:
alias wyrd='TERM="xterm-color" wyrd'
(Reference) That will execute wyrd with the TERM you want, and it will reset to its previous value after wyrd finishes. --JamesRifkin 12:06, 15 Jun 2005 (EDT)
Ouch! I should have tested that. The first thing I thought of worked, so I didn't bother looking into it any more. I'll test your version when I'm back on my Mac, and then update the page --MishaDunn 10:17, 17 Jun 2005 (EDT)
Personal tools