Re: Setting keyboard layout on xterm

2022-07-02 Thread Thomas Dickey
On Sat, Jul 02, 2022 at 09:43:25PM +, RVP wrote: > On Sat, 2 Jul 2022, Riza Dindir wrote: > > > Would that mean that uxterm is the same as xterm with the > > configuration that I have done to xterm? > > > > xterm with this resource (and the class set to UXTerm) is functionally > the same as

Re: Setting keyboard layout on xterm

2022-07-02 Thread RVP
On Sat, 2 Jul 2022, Riza Dindir wrote: Would that mean that uxterm is the same as xterm with the configuration that I have done to xterm? xterm with this resource (and the class set to UXTerm) is functionally the same as uxterm: --- XTerm*utf8: true --- Or does uxterm have other fonts

Re: Setting keyboard layout on xterm

2022-07-01 Thread Riza Dindir
Hello RVP, Would that mean that uxterm is the same as xterm with the configuration that I have done to xterm? Or does uxterm have other fonts that I might use? Riza On Fri, Jul 1, 2022 at 9:04 PM RVP wrote: > > On Fri, 1 Jul 2022, Riza Dindir wrote: > > > I could not make uxterm work [...] > >

Re: Setting keyboard layout on xterm

2022-07-01 Thread RVP
On Fri, 1 Jul 2022, Riza Dindir wrote: I could not make uxterm work [...] If someone can tell me how to run uxterm. Is there a script in the system? How do we do that? uxterm is just a wrapper script around xterm which sets `-class UXTerm' and `-u8'. You should find it in the same dir. as

Re: Setting keyboard layout on xterm

2022-07-01 Thread Riza Dindir
Hello All, I have made some changes, and ended up using "C.UTF-8" for the LANG variable. This has been set in my .xinitrc file, as Martin, Tom, and RVP pointed out. Here is what I have in my .xinitrc export LANG=C.UTF-8 export LC_CTYPE=$LANG export LC_ALL="" I have also changed my ~/.Xresources

Re: Setting keyboard layout on xterm

2022-07-01 Thread Riza Dindir
Hello RVP Yes, I will be doing this next, this evening. Thank you, and also Martin and Tom, and everyone. But when I would set this, could I be able to change the layout to de, tr, and us, and be able to use all the characters in the de, and the tr languages? Would it be better to set the

Re: Setting keyboard layout on xterm

2022-06-30 Thread Thomas Dickey
On Thu, Jun 30, 2022 at 05:57:35PM +, Riza Dindir wrote: > Hello Thomas, > > I have these lines in the .Xresources file. > > XTerm*faceName: Mono > XTerm*faceSize: 10 > XTerm*vt100.locale: true > !XTerm*vt100.font: *-*-*-*-*-*-18-*-*-*-*-*-iso8859-9 > > The output from locale (after running

Re: Setting keyboard layout on xterm

2022-06-30 Thread Thomas Dickey
On Thu, Jun 30, 2022 at 11:48:56AM +0300, Valery Ushakov wrote: > On Thu, Jun 30, 2022 at 04:12:37 -0400, Thomas Dickey wrote: > > > "xsrc" is a separate tree - see > > > > http://cvsweb.netbsd.org/bsdweb.cgi/?only_with_tag=MAIN > > > > however, it's mostly empty, and the Git mirror > > > >

Re: Setting keyboard layout on xterm

2022-06-30 Thread Michael van Elst
dic...@his.com (Thomas Dickey) writes: >NetBSD doesn't have any "in-tree" X applications (that's all from pkgsrc, >which is supposedly distinct from src). You will find "native" X in the xbase,xcomp,.. sets.

Re: Setting keyboard layout on xterm

2022-06-30 Thread Riza Dindir
Hello Thomas, Am using the Xresources file below XTerm*faceName: Mono XTerm*faceSize: 10 XTerm*vt100.locale: true !XTerm*vt100.font: *-*-*-*-*-*-18-*-*-*-*-*-iso8859-9 When I run "xterm &", and open the right mouse menu, I have the "True Type Fonts" checked, and the "UTF-8 Fonts" checked as

Re: Setting keyboard layout on xterm

2022-06-30 Thread Riza Dindir
Hello Thomas, I have these lines in the .Xresources file. XTerm*faceName: Mono XTerm*faceSize: 10 XTerm*vt100.locale: true !XTerm*vt100.font: *-*-*-*-*-*-18-*-*-*-*-*-iso8859-9 The output from locale (after running xterm -u8) LANG="" LC_CTYPE="C" LC_COLLATE="C" LC_TIME="C" LC_NUMERIC="C"

Re: Setting keyboard layout on xterm

2022-06-30 Thread Valery Ushakov
On Thu, Jun 30, 2022 at 04:12:37 -0400, Thomas Dickey wrote: > "xsrc" is a separate tree - see > > http://cvsweb.netbsd.org/bsdweb.cgi/?only_with_tag=MAIN > > however, it's mostly empty, and the Git mirror > > https://github.com/NetBSD/xsrc > > doesn't have much source-code (for some reason,

Re: Setting keyboard layout on xterm

2022-06-30 Thread Thomas Dickey
On Thu, Jun 30, 2022 at 08:06:05AM +, Riza Dindir wrote: > Hello Thomas, > > When I change the kb layout using "setxkbmap -layout tr" and get the > keyboard layout (with xkbprint...), I can see where the special > characters will be. The locations for these are correct. > > But, after

Re: Setting keyboard layout on xterm

2022-06-30 Thread Thomas Dickey
- Original Message - | From: "Brett Lymn" | To: "Thomas Dickey" | Cc: "Martin Husemann" , "Riza Dindir" , "Netbsd-Users-List" | | Sent: Thursday, June 30, 2022 3:07:00 AM | Subject: Re: Setting keyboard layout on xterm | On Wed, Jun

Re: Setting keyboard layout on xterm

2022-06-30 Thread Brett Lymn
On Wed, Jun 29, 2022 at 03:20:21PM -0400, Thomas Dickey wrote: > > I don't know if the in-tree xterm supports unicode (I mostly use rxvt > > NetBSD doesn't have any "in-tree" X applications (that's all from pkgsrc, > which is supposedly distinct from src). > No, there is a complete X

Re: Setting keyboard layout on xterm

2022-06-29 Thread Riza Dindir
Hello Thomas, When I change the kb layout using "setxkbmap -layout tr" and get the keyboard layout (with xkbprint...), I can see where the special characters will be. The locations for these are correct. But, after changing the keyboard layout to tr, when I press the "Scedilla" key it does not

Re: Setting keyboard layout on xterm

2022-06-29 Thread Riza Dindir
Hello Martin, If I change the LC_CTYPE environment variable, I would need to restart the xterm for the change to take effect? Riza On Wed, Jun 29, 2022 at 3:56 PM Martin Husemann wrote: > > On Wed, Jun 29, 2022 at 06:21:46PM +, Riza Dindir wrote: > > I also changed the font for XTerm in

Re: Setting keyboard layout on xterm

2022-06-29 Thread Thomas Dickey
On Wed, Jun 29, 2022 at 03:20:21PM -0400, Thomas Dickey wrote: > On Wed, Jun 29, 2022 at 05:56:09PM +0200, Martin Husemann wrote: > > On Wed, Jun 29, 2022 at 06:21:46PM +, Riza Dindir wrote: > > > I also changed the font for XTerm in the Xresources file, which uses > > > iso8859-9, but that

Re: Setting keyboard layout on xterm

2022-06-29 Thread Thomas Dickey
On Wed, Jun 29, 2022 at 05:56:09PM +0200, Martin Husemann wrote: > On Wed, Jun 29, 2022 at 06:21:46PM +, Riza Dindir wrote: > > I also changed the font for XTerm in the Xresources file, which uses > > iso8859-9, but that does not do anything. Although the font changes, > > the characters for

Re: Setting keyboard layout on xterm

2022-06-29 Thread Thomas Dickey
On Thu, Jun 30, 2022 at 12:06:27AM +0700, Robert Elz wrote: > Date:Wed, 29 Jun 2022 17:56:09 +0200 > From:Martin Husemann > Message-ID: <20220629155609.ga21...@mail.duskware.de> > > | I don't know if the in-tree xterm supports unicode > > In systems that have it

Re: Setting keyboard layout on xterm

2022-06-29 Thread Robert Elz
Date:Wed, 29 Jun 2022 17:56:09 +0200 From:Martin Husemann Message-ID: <20220629155609.ga21...@mail.duskware.de> | I don't know if the in-tree xterm supports unicode In systems that have it (HEAD does, I haven't checked earlier) uxterm does. uxterm is just "xterm

Re: Setting keyboard layout on xterm

2022-06-29 Thread Martin Husemann
On Wed, Jun 29, 2022 at 06:21:46PM +, Riza Dindir wrote: > I also changed the font for XTerm in the Xresources file, which uses > iso8859-9, but that does not do anything. Although the font changes, > the characters for that language can not be entered on xterm. > > Is there a way to do that?

Setting keyboard layout on xterm

2022-06-29 Thread Riza Dindir
Hello All, I want to enter turkish/german characters, or text that uses these languages on xterm. Would this be possible? I can so far change the keyboard layout using "setxkbmap -layout de" or "setxkbmap -layout tr". When I do this, I can enter the characters for that particular language on