Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nethack z y vertauschen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
TheCurse
l33t
l33t


Joined: 21 Jun 2004
Posts: 670
Location: Köln

PostPosted: Tue May 24, 2005 9:29 am    Post subject: nethack z y vertauschen Reply with quote

Hallo,

wie kann ich in nethack das z mit dem y vertauschen, so dass es sich wie auf einer nicht-deutschen Tastatur verhält? ist echt nervig immer y (unten links) zu drücken um nach oben links zu laufen... Hoffe ich habe mich verständlich ausgedrückt, ich will also die Steuerung von nethack etwas abändern oder ein anderes Tastaturlayout vorgaukeln oder so.

MfG
TheCurse
Back to top
View user's profile Send private message
TheCurse
l33t
l33t


Joined: 21 Jun 2004
Posts: 670
Location: Köln

PostPosted: Mon Jul 18, 2005 7:44 pm    Post subject: Reply with quote

*bump*
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Mon Jul 18, 2005 8:43 pm    Post subject: Reply with quote

Weiß nicht, wie das in der reinen Textversion ist, aber in QT-Nethack kann man auch das Numpad verwenden oder zwei Pfeiltasten gleichzeitig drücken. Um den Zahlenblock in Nethack zu aktivieren, schreibt man folgendes in seine .nethackrc:
Code:
OPTIONS="number_pad"

Das sollte eigentlich aber auch standardmäßig aktiviert sein. In /etc/skel/.nethackrc ist außerdem noch eine Beispielkonfiguration.
_________________
Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong."
Back to top
View user's profile Send private message
TheCurse
l33t
l33t


Joined: 21 Jun 2004
Posts: 670
Location: Köln

PostPosted: Tue Jul 19, 2005 7:30 am    Post subject: Reply with quote

Das ist nicht der Sinn der Übung, ich will ja die Tasten verwenden und habe in meiner .nethackrc explizit OPTIONS="!number_pad" angegeben. Kann ich nicht irgendwie die Keymap temporär umstellen oder so?

MfG
TheCurse
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Tue Jul 19, 2005 8:17 am    Post subject: Reply with quote

Könnte man nicht mit kbd temporär die Tasten "umbiegen" ... siehe z.B. http://www.linux-user.de/ausgabe/2000/06/052-keymaps/keymaps.html ,schöneren Link konnte ich leider nicht finden.

EDIT: Vielleicht ist hier noch was nützliches bei: http://www.faqs.org/docs/Linux-HOWTO/Keyboard-and-Console-HOWTO.html
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Tue Jul 19, 2005 9:48 am    Post subject: Reply with quote

http://www.netsonic.fi/~walker/nethack.html#germankb
Back to top
View user's profile Send private message
TheCurse
l33t
l33t


Joined: 21 Jun 2004
Posts: 670
Location: Köln

PostPosted: Tue Jul 19, 2005 4:39 pm    Post subject: Reply with quote

@psyqil: Ist der patch vielleicht noch irgendwo anders gehostet? Habe heute Mittag reingeschaut, ist genau das, was ich suche, aber jetzt ist die Seite down...
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Tue Jul 19, 2005 4:47 pm    Post subject: Reply with quote

TheCurse wrote:
jetzt ist die Seite down...
Grmpf, man kann sich auf niemanden mehr verlassen... :P

Probier doch mal http://nh.gmuf.com/#qwertz
Back to top
View user's profile Send private message
TheCurse
l33t
l33t


Joined: 21 Jun 2004
Posts: 670
Location: Köln

PostPosted: Wed Jul 20, 2005 5:44 pm    Post subject: Reply with quote

Kannst du mir evtl. noch kurz erklären, wie ich #define QWERTZ in die config.h bekomme (per ebuild)? Ich komme mit sed überhaupt nicht klar...
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Wed Jul 20, 2005 11:58 pm    Post subject: Reply with quote

8O Auch das noch... :P Probier mal folgendes, bei mir kompiliert es schonmal, aber da ich kein QWERTZ-Keyboard verwende, garantiere ich für nichts:
Code:
epatch "${FILESDIR}/qwertz-343.diff"

    sed -i \
        -e "119c\#define QWERTZ" include/config.h \
        || die "setting QWERTZ"
Ab Zeile 38 passt das ganz trefflich ins Ebuild, neuen Digest nicht vergessen...
Back to top
View user's profile Send private message
TheCurse
l33t
l33t


Joined: 21 Jun 2004
Posts: 670
Location: Köln

PostPosted: Thu Jul 21, 2005 7:04 am    Post subject: Reply with quote

Vielen vielen Dank! So läuft es wunderbar!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum