login
Header Space

 
 

Re: mc problem under 4.2

Previous thread: Re: howto restored rm-ed files/directory by Insan Praja SW on Tuesday, November 27, 2007 - 2:01 pm. (1 message)

Next thread: 4.2 xenocara + Radeon 9600 Pro problem by Rafal Brodewicz on Tuesday, November 27, 2007 - 3:11 pm. (1 message)
To: <misc@...>
Date: Tuesday, November 27, 2007 - 3:02 pm

Hello

I have a strange problem with mc (MidnightCommander).
After install OpenBSD 4.2 mc doesn't work properly.
When i type:

mc

I have to wait 5 min to see the Midnight Commander. After comannd it
hangs and it's ready to work after 5 minutes.
It doesnt matter I use bsd or bsd.mp kernel. It doesn't matter which
terminal I use.
I tried to instal mc using ports but it won't help. There is no
problem with other software.

Thanks for any help

Regards,
Bambero
To: Bambero <bambero@...>
Cc: <misc@...>
Date: Tuesday, November 27, 2007 - 3:25 pm

[[ This probably should have been reported to ports@ rather than  
misc@ ]]

Bambero, I'm an 'mc' fanatic running it under 4.2. There is no problem
for me.

My "wild analytical guess" about your problem is this:

One of the two panes of the mc display is logged into some remote
device or file system -- nfs, ftp, unmounted disk, etc. Something.
And that file system is not active so mc tries after each command
until it times out.

Was that a good guess?

-- 
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
jwoehr@absolute-performance.com
303-443-7000 ext. 527
To: Jack J. Woehr <jwoehr@...>
Cc: <misc@...>
Date: Tuesday, November 27, 2007 - 3:32 pm

Hmm the problem is not so simple i have second machine with OpenBSD
4.2 and everything works fine.
Secondly when i chroot to this instalation under OpenBSD 4.0 it works
without any problems.
Maybe something with my hardware, but under OpenBSD 4.0 it works fine
To: Misc-Openbsd Listserv <misc@...>
Date: Tuesday, November 27, 2007 - 3:40 pm

Very doubtful that this is hardware. Very doubtful it is OBSD 4.2. It's
most likely something about your mc setup.

Can you post your ~/.mc/ini file, or at least the following keys?:

clear_before_exec=
fast_reload=
fast_reload_msg_shown=
confirm_execute=
dive_into_subdirs=
vfs_timeout=
vfs_use_targz_memlimit=
ftpfs_directory_timeout=
use_netrc=
ftpfs_retry_seconds=
ftpfs_always_use_proxy=
ftpfs_use_passive_connections=
other_dir=
current_is_left=

-- 
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
jwoehr@absolute-performance.com
303-443-7000 ext. 527
To: Jack J. Woehr <jwoehr@...>
Cc: Misc-Openbsd Listserv <misc@...>
Date: Tuesday, November 27, 2007 - 4:14 pm

All my .mc/ini
It's default I made no changes here

[Midnight-Commander]
show_backups=1
show_dot_files=1
verbose=1
mark_moves_down=1
pause_after_run=1
shell_patterns=1
auto_save_setup=1
auto_menu=0
use_internal_view=1
use_internal_edit=1
clear_before_exec=1
mix_all_files=0
fast_reload=0
fast_reload_msg_shown=0
confirm_delete=1
confirm_overwrite=1
confirm_execute=0
confirm_exit=1
safe_delete=0
mouse_repeat_rate=100
double_click_speed=250
use_8th_bit_as_meta=0
confirm_view_dir=0
mouse_move_pages=1
mouse_move_pages_viewer=1
fast_refresh=0
navigate_with_arrows=0
drop_menus=0
wrap_mode=1
old_esc_mode=0
cd_symlinks=1
show_all_if_ambiguous=0
have_fast_cpu=0
max_dirt_limit=10
torben_fj_mode=0
use_file_to_guess_type=1
alternate_plus_minus=0
only_leading_plus_minus=1
show_output_starts_shell=0
panel_scroll_pages=1
xtree_mode=0
num_history_items_recorded=60
file_op_compute_totals=1
vfs_timeout=60
ftpfs_directory_timeout=900
use_netrc=1
ftpfs_retry_seconds=30
ftpfs_always_use_proxy=0
ftpfs_use_passive_connections=1
ftpfs_use_unix_list_options=1
ftpfs_first_cd_then_ls=0
editor_word_wrap_line_length=72
editor_key_emulation=0
editor_tab_spacing=8
editor_fill_tabs_with_spaces=0
editor_return_does_auto_indent=0
editor_backspace_through_tabs=0
editor_fake_half_tabs=1
editor_option_save_mode=0
editor_option_save_position=1
editor_option_backup_ext_int=-1
editor_option_auto_para_formatting=0
editor_option_typewriter_wrap=0
editor_edit_confirm_save=1
editor_syntax_highlighting=1
nice_rotating_dash=1
horizontal_split=0

[Layout]
equal_split=1
first_panel_size=43
message_visible=1
keybar_visible=1
xterm_title=1
output_lines=0
command_prompt=1
menubar_visible=1
show_mini_info=1
permission_mode=0
filetype_mode=1

[Dirs]
other_dir=/root
current_is_left=1

[New Left Panel]
display=listing
reverse=0
case_sensitive=1
sort_order=name
list_mode=full
user_format=half type name | size | perm
user_status0=half type name | size | perm
user_status1=ha...
To: Misc-Openbsd Listserv <misc@...>
Date: Tuesday, November 27, 2007 - 4:18 pm

Does this directory exist? Is it local? If you are chrooted, does it  
exist in your
chroot layout?

-- 
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
jwoehr@absolute-performance.com
303-443-7000 ext. 527
To: Jack J. Woehr <jwoehr@...>
Cc: Misc-Openbsd Listserv <misc@...>
Date: Tuesday, November 27, 2007 - 7:42 pm

Hmm, I found the answer:

lookup file bind

in /etc/resolv.conf solves the problem.

ping localhost won't works too becouse of bad dns configuration.

Thanks
To: Jack J. Woehr <jwoehr@...>
Cc: Misc-Openbsd Listserv <misc@...>
Date: Tuesday, November 27, 2007 - 5:34 pm

To: Bambero <bambero@...>
Cc: <misc@...>
Date: Tuesday, November 27, 2007 - 3:24 pm

You built mc from source? used a binary package? stale package from before
the upgrade?

This feels like a dns resolution issue, maybe a missing entry in /etc/hosts

if you just did an upgrade, maybe you blew away your hosts or resolv.conf ?

I don't use mc, but doesn't it do some sort of ftp or remote file
transfer, and may like to know its' hostname/address? Does it maybe
take long to ping $(hostname)?

you can use ktrace(1) to examine what mc is busy waiting for from
the system, if thats the case.
To: Jeff Quast <dingo@...>
Cc: <misc@...>
Date: Tuesday, November 27, 2007 - 7:43 pm

Exactly, it was dns. Naow everything works perfectly.

Thanks
To: Jeff Quast <dingo@...>
Cc: <misc@...>
Date: Tuesday, November 27, 2007 - 4:07 pm

Yes I have to do some tests
Previous thread: Re: howto restored rm-ed files/directory by Insan Praja SW on Tuesday, November 27, 2007 - 2:01 pm. (1 message)

Next thread: 4.2 xenocara + Radeon 9600 Pro problem by Rafal Brodewicz on Tuesday, November 27, 2007 - 3:11 pm. (1 message)
speck-geostationary