• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xman errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xman errors


  • Subject: Re: Xman errors
  • From: William Julien <email@hidden>
  • Date: Sun, 2 Feb 2003 17:19:37 -0800

On Sunday, February 2, 2003, at 02:20 PM, Eric Hoch wrote:

hi William,
On Sun, 2 Feb 2003 13:57:56 -0800, William Julien wrote:
I have no problem finding the man pages in my MANPATH, but the pages
show postscript code instead of the text!

This can be fixed by adding the following line to your .(t)cshrc "setenv GROFF_TYPESETTER latin1"

Thanks! That worked just fine. I added it to my ~/.MacOSX/envronment.plist



But can you post your MANPATH settings? Maybe adding your line helps solvin my problem and adding my line helps solving yours.


Nothing fancy. Although I do use the korn shell (from at&t).

Here is my complete environment.

-->cat .profile
#!/bin/ksh
#
# William's session environment
#
###

export PATH=$HOME/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/sw/bin:.
umask 027


#
# for interactive only, set ENV via kshrc
#
FILE=$HOME/.kshrc
export ENV=${FILE[(_$-=0)+(_=1)-_${-%%*i*}]}

-->cat .kshrc
#!/bin/ksh
#
# William's kshrc
#
###

#
# environment settings
#
export EDITOR=vi
export VISUAL=/usr/bin/vi
export ORGANIZATION="Computing Cat Manor"
export MANPATH=$HOME/man:/usr/share/man:/sw/share/man:/usr/X11R6/man
export HOST=`uname -n | cut -d"." -f1`

#
# command aliases and session attributes
#
umask 027
alias r='fc -e -'
alias ls='ls -CF'
PS1="-->"

#
# terminal and title bar status (interactive only)
#
case $- in
*i*)
        if [ `whence _cd | wc -l`  -eq 0 ]; then
                function _cd
                {
                    cd "$@"
                    /bin/echo -n "^[]2;$HOST:$PWD^G^[]1;$HOST^G"
                }
                alias cd=_cd
                cd `pwd`
        fi
        export TERM=xterm
        export DISPLAY=`hostname`:0
        unset LANG
esac

-->cat .MacOSX/environment.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
<key>GROFF_TYPESETTER</key>
<string>latin1</string>
<key>LANG</key>
<string>C</string>
</dict>
</plist>



Sorry if this has been discussed before. But until we are given the capability to search the archives, we are doomed to repeat history.

Oh yeah and nobody has an overview.

Eric
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Bash with X11
  • Next by Date: Re: OT: Better setup for me? (was Re: Problems with current Apple X11 package)
  • Previous by thread: Re: Xman errors
  • Next by thread: Bash with X11
  • Index(es):
    • Date
    • Thread