Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Newbie: Kdiff3-Frage
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
bastain
Guru
Guru


Joined: 11 Jul 2003
Posts: 364

PostPosted: Tue Sep 21, 2004 8:11 pm    Post subject: Newbie: Kdiff3-Frage Reply with quote

Hi,

habe gerade mal kdiff3 ausprobiert...ganz nett für die Config-Dateien nach einem etc-update anzugleichen. Aber kann man denn die
angezeigten Dateien im Fenster nicht editieren? Wahrscheinlich war ich zu
doof, wär aber dankbar für eine Aufklärung!

Danke!
Bastian
Back to top
View user's profile Send private message
Xk2c
Apprentice
Apprentice


Joined: 17 Jul 2004
Posts: 240

PostPosted: Wed Sep 22, 2004 2:02 am    Post subject: Reply with quote

Ich habs grad mal ausprobiert.
Wenn du die beiden Dateien "Zusammenführen" lässt (siehe Menu) dann kannst unten im Fenter die resultierende Datei bearbeiten wie´s aussieht.

Aber ich hab noch einen anderen Tip für dich
und zwar schau dir doch mal tkdiff an.
Befindet sich im Paket:
Code:
*  dev-util/tkcvs
      Latest version available: 7.1.4
      Latest version installed: 7.1.4
      Size of downloaded files: [no/bad digest]
      Homepage:    http://www.twobarleycorns.net/tkcvs.html
      Description: TkCVS is a Tcl/Tk-based graphical interface to CVS.


Ich persönlich hab auch beide Programme installiert, aber tkdiff sagt mir mehr zu. In tkdiff kannst du die Dateien auch leicht editieren (sozusagen inline).
_________________
useful Xterm, Aterm and RXVT-Unicode features
Back to top
View user's profile Send private message
Thorsten
n00b
n00b


Joined: 06 Jul 2002
Posts: 5
Location: Germany

PostPosted: Wed Sep 22, 2004 12:27 pm    Post subject: Reply with quote

Hat eigentlich jemand schon Erfahrung mit kdiff3 und etc-update? Ich würde nämlich gerne ein graphisches Frontend zu diff verwenden, da die Textversion bei komplizierten Dingen ziemlich schlecht zu handhaben ist. Was muss ich dann in /etc/etc-update.conf ändern und kennt jemand ein einfaches Skript, das, wenn kein X läuft, statt kdiff3 die Standardprogramme im Textmodus nutzt?
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1734
Location: Velbert

PostPosted: Wed Sep 22, 2004 12:30 pm    Post subject: Reply with quote

Code:
If test -n "$DISPLAY"; then consolediff PLATZHALTER; else kdiff PLATZHALTER;fi


Frei aus Kopf

PLATZHALTER = Zeichen für die Files

Kann egrade nicht nachgucken und ich selbst benutzte nicht oft die Shell zum scripten.

MfG

Py
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