Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Midnight commander e chdir [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
ema
Guru
Guru


Joined: 27 Aug 2003
Posts: 380

PostPosted: Sun May 16, 2004 11:55 am    Post subject: Midnight commander e chdir [risolto] Reply with quote

una domandina veloce veloce su midnight commander....
su altre distro tipo suse, quando esco da mc mi rimane nell'ultima dir dove sono entrato col programma, mentre su gentoo torna a quella dov'era quando ho lanciato mc. ho letto facendo l'emerge che c'è da modificare un file per attivare questa feature, ma non c'ho capito molto! qualcuno ha risolto in qualche modo?

tyia


Last edited by ema on Sun May 16, 2004 2:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gyrus
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 273
Location: Italy-Arezzo

PostPosted: Sun May 16, 2004 12:36 pm    Post subject: Reply with quote

Non so ... io uso CTRL + o per risolvere il problema.

Gyrus
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Sun May 16, 2004 1:02 pm    Post subject: Reply with quote

Quote:
Add the following line to your ~/.bashrc to
allow mc to chdir to its latest working dir at exit

# Midnight Commander chdir enhancement
if [ -f /usr/share/mc/mc.gentoo ]; then
. /usr/share/mc/mc.gentoo
fi


Questo era il messaggio che compare alla fine dell'ebuild, non mi pare ci sia molto da spiegare. Aggiungi:

Code:
if [ -f /usr/share/mc/mc.gentoo ]; then
  . /usr/share/mc/mc.gentoo
fi

alla fine di ~/.bashrc

8O
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
ema
Guru
Guru


Joined: 27 Aug 2003
Posts: 380

PostPosted: Sun May 16, 2004 2:27 pm    Post subject: Reply with quote

in effetti è quello che avevo fatto.... solo che non funzionava!
però rifacendolo ora...bho! funzia!
tanto meglio, e grazie ancora! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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