lynx - 行編集スタイルの変更/lineedit_mode

lynx - 行編集スタイルの変更/lineedit_mode

私が知りたいことは:

/etc/lynx/lynx.cfgoptionsの変数名は何ですかLine Edit Style

設定しようとしていますが、Bash-like Bindings関連文書が見つかりません。


私が試したこと:

Line Edit Styleoptions menuを押すと設定できることがわかりますo。しかも文書というオプションが言及されましたが、lineedit_modeこれ以上見つかりませんでした。

なぜ記録はlynxこう書いていますか? :(

ベストアンサー1

.lynxrcオプションメニューから保存すると、通常Lynxはホームディレクトリを作成します。約375行(ここで引用するには長すぎます)がありますが、

# Lynx User Defaults File
#
# This file contains options saved from the Lynx Options Screen (normally
# with the 'o' key).  To save options with that screen, you must select the
# checkbox:
#       Save options to disk
#
# You must then save the settings using the link on the line above the
# checkbox:
#       Accept Changes
#
# You may also use the command-line option "-forms_options", which displays
# the simpler Options Menu instead.  Save options with that using the '>' key.
#
# There is normally no need to edit this file manually, since the defaults
# here can be controlled from the Options Screen, and the next time options
# are saved from the Options Screen this file will be completely rewritten.
# You have been warned...
#
# If you are looking for the general configuration file - it is normally
# called "lynx.cfg".  It has different content and a different format.
# It is not this file.

セクションlineedit_modeは次のとおりです。

# lineedit_mode specifies the key binding used for inputting strings in   
# prompts and forms.  If lineedit_mode is set to "Default Binding" then
# the following control characters are used for moving and deleting:
# 
#              Prev  Next       Enter = Accept input
#    Move char: <-    ->        ^G    = Cancel input
#    Move word: ^P    ^N        ^U    = Erase line
#  Delete char: ^H    ^R        ^A    = Beginning of line
#  Delete word: ^B    ^F        ^E    = End of line
# 
# Current lineedit modes are:
#    Default Binding
#    Alternate Bindings
#    Bash-like Bindings
lineedit_mode=Default Binding

このファイルを直接編集して、すべての設定をプリセットできます。 Lynxはファイル(存在する場合)を読み取り、これらの設定を使用します。ただし、追加/変更されたすべての説明は、次にオプションメニューのディスクにオプションを保存すると上書きされます。

上記の動作は通常の動作ですが、

  • 英語以外の言語を使用し、Lynx がその言語をサポートするように構成されている場合、コメントはその言語で表示されます。これ)。ただし、設定とその値は変更されません。

  • オプションメニューの一部の設定(またはlynx.cfg一部の開発者が持続しないことを選択したため)は記録されませんが、.lynxrc使用できます。ENABLE_LYNXRCに設定しますlynx.cfg

テーブルベース酸素'オプションメニューには、保存されていない項目の横に(!)マークが表示されます。~/.lynxrc- これらの項目の一部を無効にする理由は、各セッションの.lynxrcファイルから読み取ると混乱を招く可能性があるためです。ただし、次のコマンドを使用して有効または無効にすることができます。ENABLE_LYNXRC設定。

おすすめ記事