delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/01/13/10:18:12

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:mime-version:date:message-id:subject:to
:content-type; q=dns; s=default; b=yvXv5kwungQ4YJ1ibChmRjSIqS4BZ
ZH3HucxjAHZt96Zv/KeTrczM4BAvgTSstx/+OSz+cYKqjDj0/DzJxCkI3ZNAK0OF
lPpxIFmGf9e0I0FiOavlRM/shuYVBtlHLTc/FXaS7slRzFo+8CGFasf9nW4JsDzk
4dzLA2798+KsqA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:mime-version:date:message-id:subject:to
:content-type; s=default; bh=zMLluqFCdWXLna9W8CLPNGajSnk=; b=CLo
sw45lSsJbJeegBycGOuUjZMProC6a5ksSoQIRQdyWRfg82WUYt4woNz2zbdpSb/v
X0efi8xDLfrm4BHoe3Jmuo0CK53NMKvY245G8XZyWUT4yobb4j2vaH2/ioD2Mn/N
MPgWfcqrsVEKCRdmHH6rtr+j/oS2w5b1j75SzRMA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=TERM, misc, HOME, $home
X-HELO: mail-lb0-f179.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:thread-index:date:message-id :subject:to:content-type; bh=WX8tWfdmrCrh0bYBo2CNFFM4GUNyOYh2n2KqqnXtJnQ=; b=VlzBzSk5km+G5iU+yafCxL1qjIn4hI1re3ihVXjgpyGFNHC6bb2yKk4QpH2NWFT9Wc vgHmN2F8wPBuZ4GfdxQWOKWFJEPf6cHB1hB3atADSpYSKeU2PRfNwNmJEdlmDHSTgjkM PJxFI2ZzVNznQF1F4PtEjkWSS8tPx5DX8ZqMdYS0OxCjfVpl963qOdRWAWDnVFj+6Epy q/FPBY4UNU0F4iWt1eVtH05SloM9fmrTJ5VZvKX0209+Zyw6lBLbtyDRiY1T3niCOjDL qXB7ID3/d8vVuO72lRr6fzwtQ0UTin4gU2YhfR454u317C1FBMUmvq0JjkG75xI7UEqS slTA==
X-Gm-Message-State: ALoCoQleu91ZhCg1N1vmCmhxekInOH6i1ZlunwSaCCvft4rupOckk5PuBNMGGGk+OyO8pvQ320Xco0AQHIjmbY3QONcWtZ4/qelyqQ7n6xBQGtynuttse6c=
X-Received: by 10.112.184.133 with SMTP id eu5mr37522190lbc.99.1452698269069; Wed, 13 Jan 2016 07:17:49 -0800 (PST)
From: Chuck Roberts <croberts AT gilsongraphics DOT com>
MIME-Version: 1.0
Date: Wed, 13 Jan 2016 10:05:27 -0500
Message-ID: <7ddb3b6ed96c4cabe49cb1fb5559c32b@mail.gmail.com>
Subject: Quotes changed to odd characters in gcc error msgs
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

Hello,
I am running Cygwin 2.3.0 on Windows 7. I'm new to Cygwin and trying to
learn C programming (basic ANSI C).

I'm having 2 problems.

1) When I get an error message from the gcc compiler, the quotes in the
message are turned to high ascii characters that don't make sense. How do
I fix this? My TERM variable says "cygwin".

2) I'm using PSPad to edit some of my .C files. Since I've started using
PSPad, the directory listing of files using 'ls -l' has the occasional
file concatenated with the next file, like a carriage return is missing
somewhere. I am using colors, and load .dircolors in my .bashrc each time
I start Cygwin. Here is what I added to the bottom of my .bashrc:

function funclm
{
# Use --grou-directories-first
ls -hlF --color $@|more
}
function funcls
{
ls -hF --color $@|more
}

alias envm='env|sort|less'
alias findit='echo See locate'
alias h='history'
alias lf='funclf'
alias lm='funclm'
alias ls='funcls'
alias mv='mv -v'
alias perltext='perldoc -t -T'
alias src='source $HOME/.bashrc'

export EDITOR=nedit

# Stuff for X windows and nedit.
DISPLAY=10.19.251.67:0.0; export DISPLAY
export PAGER=/usr/bin/less

# Misc stuff
export PATH=./:$PATH
eval `dircolors -b $HOME/.dircolors`

Thank you.
Chuck

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019