1998-02-27 07:54:42 +03:00
|
|
|
#ifndef __CMD_H
|
|
|
|
#define __CMD_H
|
2000-08-23 18:41:59 +04:00
|
|
|
|
|
|
|
#include "panel.h"
|
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
void netlink_cmd (void);
|
|
|
|
void ftplink_cmd (void);
|
2002-08-19 10:06:09 +04:00
|
|
|
void fishlink_cmd (void);
|
1999-06-22 23:56:36 +04:00
|
|
|
void smblink_cmd (void);
|
1998-02-27 07:54:42 +03:00
|
|
|
void undelete_cmd (void);
|
|
|
|
void help_cmd (void);
|
|
|
|
void dirsizes_cmd (void);
|
|
|
|
int view_file_at_line (char *filename, int plain_view, int internal,
|
|
|
|
int start_line);
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
int view_file (char *filename, int normal, int internal);
|
2002-11-13 11:21:45 +03:00
|
|
|
void view_cmd (void);
|
|
|
|
void view_file_cmd (void);
|
|
|
|
void view_simple_cmd (void);
|
|
|
|
void filtered_view_cmd (void);
|
1998-02-27 07:54:42 +03:00
|
|
|
void do_edit (const char *what);
|
|
|
|
void do_edit_at_line (const char *what, int start_line);
|
|
|
|
void edit_cmd (WPanel *panel);
|
|
|
|
void edit_cmd_new (WPanel *panel);
|
|
|
|
void copy_cmd (void);
|
|
|
|
void ren_cmd (void);
|
2002-07-26 23:30:13 +04:00
|
|
|
void copy_cmd_local (void);
|
|
|
|
void ren_cmd_local (void);
|
1999-11-03 15:50:53 +03:00
|
|
|
void free_vfs_now (void);
|
1998-02-27 07:54:42 +03:00
|
|
|
void reselect_vfs (void);
|
|
|
|
void mkdir_cmd (WPanel *panel);
|
|
|
|
void delete_cmd (void);
|
|
|
|
void find_cmd (void);
|
|
|
|
void tree_mode_cmd (void);
|
|
|
|
void filter_cmd (void);
|
|
|
|
void set_panel_filter (WPanel *panel);
|
1998-03-13 08:18:52 +03:00
|
|
|
void set_panel_filter_to (WPanel *p, char *allocated_filter_string);
|
1998-02-27 07:54:42 +03:00
|
|
|
void reread_cmd (void);
|
|
|
|
void do_re_sort (WPanel *panel);
|
|
|
|
void tree_view_cmd (void);
|
|
|
|
void ext_cmd (void);
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
void menu_edit_cmd (int select);
|
2002-03-25 10:46:18 +03:00
|
|
|
void edit_syntax_cmd (void);
|
1998-02-27 07:54:42 +03:00
|
|
|
void quick_chdir_cmd (void);
|
|
|
|
void compare_dirs_cmd (void);
|
|
|
|
void history_cmd (void);
|
|
|
|
void tree_cmd (void);
|
|
|
|
void link_cmd (void);
|
|
|
|
void symlink_cmd (void);
|
|
|
|
void edit_symlink_cmd (void);
|
1998-04-01 02:36:24 +04:00
|
|
|
void reverse_selection_cmd_panel (WPanel *);
|
|
|
|
void unselect_cmd_panel (WPanel *);
|
|
|
|
void select_cmd_panel (WPanel *);
|
|
|
|
void reverse_selection_cmd (void);
|
1998-02-27 07:54:42 +03:00
|
|
|
void unselect_cmd (void);
|
|
|
|
void select_cmd (void);
|
|
|
|
void swap_cmd (void);
|
|
|
|
void view_other_cmd (void);
|
|
|
|
void mkdir_panel_cmd (void);
|
|
|
|
void edit_panel_cmd (void);
|
|
|
|
void quick_cd_cmd (void);
|
|
|
|
void save_setup_cmd (void);
|
|
|
|
char *get_random_hint (void);
|
|
|
|
void source_routing (void);
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
void user_file_menu_cmd (void);
|
2001-09-16 04:18:39 +04:00
|
|
|
char *guess_message_value (void);
|
2001-09-12 01:38:59 +04:00
|
|
|
int check_for_default(char *default_file, char *file);
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
/* Display mode code */
|
|
|
|
void info_cmd (void);
|
|
|
|
void tree_cmd (void);
|
|
|
|
void listing_cmd (void);
|
|
|
|
void switch_to_listing (int panel_index);
|
|
|
|
void quick_cmd_no_menu (void);
|
|
|
|
void info_cmd_no_menu (void);
|
|
|
|
void quick_view_cmd (void);
|
|
|
|
void toggle_listing_cmd (void);
|
2002-11-13 11:21:45 +03:00
|
|
|
void configure_panel_listing (WPanel * p, int view_type, int use_msformat,
|
|
|
|
char *user, char *status);
|
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add macro %k it is block file name
Add macro %e it is error file name
Add macro %i it is cursor column indent of spaces, only for edit
Add macro %y, it is syntax of current file in editor, only for edit
Add condition y , it is syntax pattern of current file in edit
Add macro %x it is extension of current file
Add macro %m it is current menu filename
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editcmd.c: Modify External Formatter (was C indent formatter) .
Autocreate a scripts in home, from templates /usr/lib/mc/edit.indent.rc,
edit.ispell.rc, etc. Remove leading and trailing spaces into _(""),
(the message of David H. Martin <dmartina@usa.net>)
2000-05-05 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* src/user.c: Add condition (x filename) into mc.menu .
for "Open next a free console" and like.
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
src/user.c: fix segfault in chunk_alloc of glibc, when into condition
of .mnu we have quoted space. (~.mc/menu: + f \.\ test$).
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/edit.c:
Add ability user edit menus: system: /usr/lib/mc/cedit.menu,
* gtkedit/editmenu.c: home: ~/.cedit.menu, local: .cedit.menu
Marked block is access now from an user edit menu
Access ~/.cedit/cooledit.block for insert to cursor place from
user edit menu.
Created system cedit.menu
2000-05-04 Valery Kornienkov <vlk@dimavb.st.simbirsk.su>
* gtkedit/editdraw.c:
Improved a status string of cool editor for best understand,
and to add char,hex view.
2000-05-04 Richard Hestilow <hestgray@ionet.net>
* gnome/gdesktop.c: Fixes snap to grid.
2000-05-09 05:18:27 +04:00
|
|
|
|
|
|
|
#ifdef USE_INTERNAL_EDIT
|
|
|
|
extern int edit (const char *file, int line);
|
|
|
|
extern int edit_run;
|
|
|
|
#endif
|
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
#endif /* __CMD_H */
|