You are not logged in.
Just using
mcdoes nothing but to give an empty and frozen terminal, is it not working only for me?
+
+
+
+ |
___+|
-----------------------------------------------
EDIT: Please see my last post (#21) for update!!!
-----------------------------------------------
Last edited by ismaelvc (2012-06-27 05:29:36)
Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
What else have you tried? There is a debug option...
Offline
basicaly I have tried reinstalling and recompiling with abs, I have not found any reference in the man page about debugging, how do you do that?
Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
Seems it isn't in the man page:
mc --help# edit also, paste the output of
mc -VOffline
This is what I get again no reference:
iismaelvc@toybox ~ $ LANGUAGE=en mc --help
Usage:
mc [OPTION...] [+number] [this_dir] [other_panel_dir]
+number - Set initial line number for the internal editor
GNU Midnight Commander 4.8.3
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-terminal Terminal options
--help-color Color options
Application Options:
-V, --version Displays the current version
-f, --datadir Print data directory
-F, --datadir-info Print extended info about used data directories
--configure-options Print configure options
-P, --printwd=<file> Print last working directory to specified file
-U, --subshell Enables subshell support (default)
-u, --nosubshell Disables subshell support
-l, --ftplog=<file> Log ftp dialog to specified file
-D, --debuglevel=<integer> Set debug level
-v, --view=<file> Launches the file viewer on a file
-e, --edit=<file> Edits one file
Please send any bug reports (including the output of `mc -V')
as tickets at www.midnight-commander.orgismaelvc@toybox ~ $ LANGUAGE=en mc -V
GNU Midnight Commander 4.8.3
Built with GLib 2.32.1
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64EDIT: I see no other packages for debugging, I will try the git one from AUR.
Last edited by ismaelvc (2012-06-23 04:23:43)
Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
-D, --debuglevel=<integer> Set debug level
Offline
I'm sory I don't know how I missed taht but, runnning mc -D gives me:
Missing argument for -D
I I do:
mc --debuglevel=<1>
it says syntax error near the unexpected element
EDIT: I understand an integer is a number right?
Last edited by ismaelvc (2012-06-23 04:39:13)
Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
mc --debuglevel=3Offline
Thanks I have done:
mc --debuglevel=3and I get the same behaviour, the cursor advances fast towards the bottom and it sits there aparently doing nothing, the terminal becomes frozen doesnt mather if its from tty or a terminal program, after that it becomes unusable, Ctrl+C or Ctrl+Z does nothing, if in tty it becomes stuck, if in graphical terminal I can close the window, or tab and restart it.
Last edited by ismaelvc (2012-06-23 04:44:03)
Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
It sounds like your $TERM is b0rked: are you setting it in one of your shell initialization files, like .bashrc?
Can you provide some information about the terminal you use. In that terminal, please paste the output of:
echo $TERM...and then, whatever that output is, paste the output of:
infocmp xxxxwhere xxxx is, for example xterm (if that is what you use as a terminal).
Offline
thanks!, this are the outputs of those commands:
ismaelvc@toybox ~ $ echo $TERM
xtermismaelvc@toybox ~ $ infocmp xterm
# Reconstructed via infocmp from file: /usr/share/terminfo/x/xterm
xterm|xterm terminal emulator (X Window System),
am, bce, km, mc5i, mir, msgr, npc, xenl,
colors#8, cols#80, it#8, lines#24, pairs#64,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=^M,
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K,
flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG,
ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
ind=^J, indn=\E[%p1%dS, invis=\E[8m,
is2=\E[!p\E[?3;4l\E[4l\E>, kDC=\E[3;2~, kEND=\E[1;2F,
kHOM=\E[1;2H, kIC=\E[2;2~, kLFT=\E[1;2D, kNXT=\E[6;2~,
kPRV=\E[5;2~, kRIT=\E[1;2C, kb2=\EOE, kbs=^H, kcbt=\E[Z,
kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
kdch1=\E[3~, kend=\EOF, kent=\EOM, kf1=\EOP, kf10=\E[21~,
kf11=\E[23~, kf12=\E[24~, kf13=\E[1;2P, kf14=\E[1;2Q,
kf15=\E[1;2R, kf16=\E[1;2S, kf17=\E[15;2~, kf18=\E[17;2~,
kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~,
kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~,
kf25=\E[1;5P, kf26=\E[1;5Q, kf27=\E[1;5R, kf28=\E[1;5S,
kf29=\E[15;5~, kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~,
kf32=\E[19;5~, kf33=\E[20;5~, kf34=\E[21;5~,
kf35=\E[23;5~, kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q,
kf39=\E[1;6R, kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~,
kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~,
kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~,
kf48=\E[24;6~, kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q,
kf51=\E[1;3R, kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~,
kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~,
kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~,
kf8=\E[19~, kf9=\E[20~, khome=\EOH, kich1=\E[2~,
kind=\E[1;2B, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
kri=\E[1;2A, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El,
memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l,
rmir=\E[4l, rmkx=\E[?1l\E>, rmm=\E[?1034l, rmso=\E[27m,
rmul=\E[24m, rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7,
setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
sgr0=\E(B\E[m, smacs=\E(0, smam=\E[?7h, smcup=\E[?1049h,
smir=\E[4h, smkx=\E[?1h\E=, smm=\E[?1034h, smso=\E[7m,
smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n,
u8=\E[?1;2c, u9=\E[c, vpa=\E[%i%p1%dd,Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
...and, to repeat my earlier question, are you setting your $TERM in one of your shell initializtion files? If not, I have no idea what is going wrong...
Offline
is it not working only for me?
A handful of things that you may try:
0. Run MC with -V argument and see if the output looks suspicious.
1. Check your .bashrc and .bash_profile, if present (when bash is your default shell), for possible errors, inconsistencies, unnecessary bloat, etc. These can be a real pain in the neck that comes to the surface with a little help of MC. The best you can do is backup the aforementioned files and launch a terminal with no additional config (except those that sit in /etc directory). If you can run MC successfully then, the culprit is somewhere there. (Most problems I've had with MC occurred due to some kind of corruption of shell configuration files. When we are there, check if locale is set correctly, too.)
2. If you use a modified configuration file with MC, quit MC, back the file up
mv ~/.config/mc/ini{,.bkp}and run MC again. Even better, back up both MC folders ($HOME/.config/mc and $HOME/.local/share/mc) and force it to recreate them. (Less likely to be the source of the problem, though.)
3. Be sure your system is up to date. MC doesn't need plenty of dependencies, but it can be an outdated library that's bringing all the trouble, so running pacman shouldn't do any harm. Besides, you can check if everything is OK with your libs by issuing
ldd -d /usr/bin/mc
ldd -r /usr/bin/mc4. If nothing works, check an alternative console file manager (vifm or ranger are very nice and do their jobs well) as a temporary workaround.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
thanks guys!
The only one I have edited is my /etc/bash.bashrc, with plenty of aliases, and a colorized output:
# /etc/bash.bashrc
#
# https://wiki.archlinux.org/index.php/Color_Bash_Prompt
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
# Bash won't get SIGWINCH if another process is in the foreground.
# Enable checkwinsize so that bash will check the terminal size when
# it regains control. #65623
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
shopt -s checkwinsize
# Enable history appending instead of overwriting. #139609
shopt -s histappend
case ${TERM} in
xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
;;
screen)
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
;;
esac
# Fortune is a simple program that displays a pseudorandom message
# from a database of quotations at logon and/or logout;
# type: "pacman -S fortune-mod" to install it, then uncomment the
# following lines:
# if [ "$PS1" ]; then
# /usr/bin/fortune
# fi
# Set colorful PS1 only on colorful terminals.
# dircolors --print-database uses its own built-in database
# instead of using /etc/DIR_COLORS. Try to use the external file
# first to take advantage of user additions. Use internal bash
# globbing instead of external grep binary.
# Dynamically modified variables. Do not change them!
use_color=false
# sanitize TERM:
safe_term=${TERM//[^[:alnum:]]/?}
match_lhs=""
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
[[ -z ${match_lhs} ]] \
&& type -P dircolors >/dev/null \
&& match_lhs=$(dircolors --print-database)
[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true
if ${use_color} ; then
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489
if type -P dircolors >/dev/null ; then
if [[ -f ~/.dir_colors ]] ; then
eval $(dircolors -b ~/.dir_colors)
elif [[ -f /etc/DIR_COLORS ]] ; then
eval $(dircolors -b /etc/DIR_COLORS)
fi
fi
if [[ ${EUID} == 0 ]] ; then
PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
else
PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
fi
alias ls='ls --color=auto'
alias dir='dir --color=auto'
alias grep='grep --colour=auto'
else
if [[ ${EUID} == 0 ]] ; then
# show root@ when we do not have colors
PS1='\u@\h \W \$ '
else
PS1='\u@\h \w \$ '
fi
fi
PS2='> '
PS3='> '
PS4='+ '
# Try to keep environment pollution down, EPA loves us.
unset use_color safe_term match_lhs
[ -r /etc/bash_completion ] && . /etc/bash_completion
# Aliases
# Pacman
alias pacqm='pacman-color -Qm'
alias pacman='sudo pacman-color'
alias pacss='pacman-color -Ss'
alias pacsss='yaourt -Ss'
alias pacqs='pacman-color -Qs'
alias pacqdt='pacman-color -Qdt'
alias pacr='sudo pacman-color -R'
alias pacsc='sudo pacman-color -Sc'
alias pacsy='sudo pacman-color -Syy'
alias pacsyu='yaourt -Syyu'
alias pacsi='pacman-color -Sii'
alias pacsii='yaourt -Sii'
alias pacs='yaourt -S'
alias toybox='yaourt-gui'
alias kill='pkill'
alias df='df -h'
alias free='free -m'
alias diff='colordiff'
alias more='less'
alias du='du -c -h'
alias mkdir='mkdir -p -v'
alias nano='nano -w'
alias snano='sudo nano -w'
alias ping='ping -c 5'
alias ..='cd ..'
alias reboot='sudo reboot'
alias poweroff='sudo poweroff'
alias root='su -'
# safety features
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -I' # 'rm -i' prompts for every file
alias ln='ln -i'
alias chown='chown --preserve-root'
alias chmod='chmod --preserve-root'
alias chgrp='chgrp --preserve-root'
export EDITOR=nano
export VISUAL=nano
alias vi=nano
alias emptyswap='sudo emptyswap'
alias cpuinfo='cpupower frequency-info'
alias uzbl='uzbl-tabbed'I am reading it through with my "the linux command guide" copy lol, but I don't understand completely yet. I will restore initial /etc/bash.bashrc and ~/.bashrc, because I deleted this one in favor of bash.bashrc
Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
I have updated ,my system, just 2 updates.
This are the outputs of ldd:
ismaelvc@toybox /etc $ ldd -d /usr/bin/mc
linux-gate.so.1 => (0xb77ca000)
libslang.so.2 => /usr/lib/libslang.so.2 (0xb768d000)
libgpm.so.2 => /usr/lib/libgpm.so.2 (0xb7686000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7681000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7588000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb756d000)
libc.so.6 => /lib/libc.so.6 (0xb73cb000)
libdl.so.2 => /lib/libdl.so.2 (0xb73c6000)
libm.so.6 => /lib/libm.so.6 (0xb739a000)
libncursesw.so.5 => /usr/lib/libncursesw.so.5 (0xb7343000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0xb72e6000)
librt.so.1 => /lib/librt.so.1 (0xb72dc000)
/lib/ld-linux.so.2 (0xb77cb000the output of "ldd -r /usr/bin/mc" is the same.
If I understand correctly from the ldd man pages, all of these are missing dependencies?
-d --data-relocs
Perform relocations and report any missing objects (ELF only).
-r --function-relocs
Perform relocations for both data objects and functions, and report any missing objects or functions (ELF only).Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
I'm not sure I completely follow, but I'd suggest not modifying /etc/bash.bashrc at all. Just leave that as the 'default'.
Add you changes in ~/.bashrc. This way if anything goes wrong you can simply rename/move ~/.bashrc to ~/.bashrc.bak or something else to "turn off" all your customizations.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Mmm very true, I just copied this one from the wiki, to have color output, but I think it wont be possible anymore:
https://wiki.archlinux.org/index.php/Co … _all_users
I'll try to understand what is wrong with the one provided in the wiki, because I really prefer having some color.
I have restored defaul arch setting ('~/.bashrc' and '/etc/bash.bashrc') and mc is working, thanks guys! have any of you noticed something suspicious in my bash.bashrc above, as I said I just copied from the wiki, all I edited was my aliases, but maybe the wiki needs to be edited then, so no one gets this problem again, its a shame I don't have the knowledge to audit this issue myself.
Marking as solved! But I would really want to know if anyone could help me clean the example in the wiki, so this doesn't happen again, thanks! ![]()
Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
The only one I have edited is my /etc/bash.bashrc, with plenty of aliases, and a colorized output.
Nope. As Trilby correctly stated, this one you should leave as is. Your custom entries should be placed in .bashrc (and .bash_profile, if you want to use it).
Your dependencies seem correct. If something was wrong with them, the error would look like this:
undefined symbol: SLtt_Screen_Cols, version SLANG2 (/usr/bin/mc)
undefined symbol: SLtt_Has_Alt_Charset, version SLANG2 (/usr/bin/mc)
undefined symbol: SLtt_Use_Ansi_Colors, version SLANG2 (/usr/bin/mc)
undefined symbol: SLang_TT_Baud_Rate, version SLANG2 (/usr/bin/mc)
undefined symbol: SLtt_Ignore_Beep, version SLANG2 (/usr/bin/mc)
undefined symbol: SLtt_Screen_Rows, version SLANG2 (/usr/bin/mc)
undefined symbol: SLsmg_Display_Eight_Bit, version SLANG2 (/usr/bin/mc)
undefined symbol: SLang_TT_Read_FD, version SLANG2 (/usr/bin/mc)
undefined symbol: SLtt_Blink_Mode, version SLANG2 (/usr/bin/mc)
undefined symbol: SLtt_Try_Termcap, version SLANG2 (/usr/bin/mc)Edit: I shouldn't eat when going to type... But I'm glad the problem has been solved.
Last edited by bohoomil (2012-06-23 15:05:09)
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Oh dear. Yes, that example in the wiki is ridiculously complex. I don't see any reason for that complelxity.
You should check out other threads for building up your bashrc little by little based on what you actually want it to do. A color prompt should be a single line defining your PS1. Here's mine[1] as am example, but I'd suggest learning about it, not just taking anyone elses. I've also put the ls alias
PS1='$(if [[ "$?" > "0" ]]; then echo -n "\[\e[31;1m\][\!]"; else echo -n "\[\e[34;1m\][\!]"; fi; echo -n "\[\e[36;1m\]\h\[\e[0;1m\]:\[\e[32;1;4m\]\w\[\e[0;1m\]\$\[\e[0m\] ")'
alias ls='ls --color'If there is anything else you want colored, deal with those things on a case by case basis, and again build your own bashrc little by little.
[1]: my bash prompt may even be at the complex end of things. It has a conditional test and colors the prompt different based on the return code of the previous command. Just getting some color would be even simpler.
Last edited by Trilby (2012-06-23 15:37:04)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thanks Trilby I will follow your advice, also I will use yours, just to see how it looks, to try understand what it does. I'm just starting learning from 'The Linux Command Line' book, but I will try to go learn what all those signs mean first in your PS1 line.
Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
Hi guys I followed your advice and left bash.bashrc alone!
I also did as you told me and started building my .bashrc little by little, then sudently I noticed the midnight commander problem arised again, I copied again .bashrc from /etc/skel and it was solved again, luckily I had just a few aliases set and as it turned out, the problem was setting this alias:
alias kill='pkill'I don't know why it does this, but I have confirmed this is the cause for mc crash at least in my computer, could some of you please try to replicate this? mc is a fast download!
Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline
this is my .bashrc as of now:
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
###-----ALIAS-----###
#STATUS
alias cpuinfo='watch -d -n 1 cpufreq-info'
alias free='watch -d -n 1 free -m'
alias df='watch -d -n 1 df -h'
alias sensors='watch -d -n 1 sensors'
alias swap='watch -d -n 1 swapon -s'
alias mess='tail -n 25 -f /var/log/messages.log'
#PACMAN
alias pac='sudo pacman-color'
alias pacqs='pacman-color -Qs'
alias pacss='yaourt -Ss'
alias pacsi='yaourt -Sii'
alias pacqe='pacman-color -Qe'
alias pacqm='pacman-color -Qm'
alias pacs='yaourt -S'
alias pacsy='yaourt -Syy'
alias pacsyu='yaourt -Syyu'
alias pacr='sudo pacman-color -R'
alias pacsc='sudo pacman-color -Sc'
alias pacqdt='pacman-color -Qdt'
alias poweroff='sudo poweroff'
alias reboot='sudo reboot'
alias uzbl='uzbl-tabbed'
alias snano='sudo nano'
alias iotop='sudo iotop'
#alias kill='pkill'
alias vol='alsamixer'
alias iftop='sudo iftop'Thanks in advance!
EDIT: Seriously I don't know whats going on, first of all I have not much experience in fiddling with my configs, until recently I started, learnning a bit more. But as far as my experience goes, what intrigues me is that as soon as I uncomment the line save the changes in nano and then I try again to run "mc" the blank screen happens. And it iseems strange to me because I don't even need to "source .bashrc" for it to happen!! I thought I had to either source .bashrc, or restart the term, in orther for the changes to take effect!
Also it fails in any term, even ttys, I will try editing with another software, but I don't know what else to do. It's not that I can't live without my "kill" alias, but I've been searching and not found the answer and I would like to know why it happens. Or if it's only happening to me? wich I doub't because I even had to reinstall the system, Is the alias somehow making interference with mc??? how is that?
Last edited by ismaelvc (2012-06-27 05:46:09)
Laptop: LG LM70 Express Kernel: 3.14.2-1-ARCH
CPU: Intel Pentium M processor @1.86GHz Hard Drive: 80G
Video: Mobility Radeon X600 X Driver: xf86-video-ati
Memory Size: 1.5G + zramswap: 384M + swap: 3G
Offline