Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
682d5f3c
Kaydet (Commit)
682d5f3c
authored
Tem 12, 2001
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Follow the recommended practices for keystroke representation; this
improves internal consistency in the documentation.
üst
07178d23
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
23 deletions
+25
-23
libcmd.tex
Doc/lib/libcmd.tex
+4
-4
libcurses.tex
Doc/lib/libcurses.tex
+20
-18
libexcs.tex
Doc/lib/libexcs.tex
+1
-1
No files found.
Doc/lib/libcmd.tex
Dosyayı görüntüle @
682d5f3c
...
@@ -33,10 +33,10 @@ The optional argument is a banner or intro string to be issued before the
...
@@ -33,10 +33,10 @@ The optional argument is a banner or intro string to be issued before the
first prompt (this overrides the
\member
{
intro
}
class member).
first prompt (this overrides the
\member
{
intro
}
class member).
If the
\module
{
readline
}
module is loaded, input will automatically
If the
\module
{
readline
}
module is loaded, input will automatically
inherit
\program
{
bash
}
-like history-list editing (e.g.
\kbd
{
C
tr
l-P
}
inherit
\program
{
bash
}
-like history-list editing (e.g.
\kbd
{
C
ontro
l-P
}
scrolls back to the last command,
\kbd
{
C
tr
l-N
}
forward to the next
scrolls back to the last command,
\kbd
{
C
ontro
l-N
}
forward to the next
one,
\kbd
{
C
tr
l-F
}
moves the cursor to the right non-destructively,
one,
\kbd
{
C
ontro
l-F
}
moves the cursor to the right non-destructively,
\kbd
{
C
tr
l-B
}
moves the cursor to the left non-destructively, etc.).
\kbd
{
C
ontro
l-B
}
moves the cursor to the left non-destructively, etc.).
An end-of-file on input is passed back as the string
\code
{
'EOF'
}
.
An end-of-file on input is passed back as the string
\code
{
'EOF'
}
.
...
...
Doc/lib/libcurses.tex
Dosyayı görüntüle @
682d5f3c
...
@@ -1304,20 +1304,22 @@ Process a single command keystroke. Here are the supported special
...
@@ -1304,20 +1304,22 @@ Process a single command keystroke. Here are the supported special
keystrokes:
keystrokes:
\begin{tableii}
{
l|l
}{
kbd
}{
Keystroke
}{
Action
}
\begin{tableii}
{
l|l
}{
kbd
}{
Keystroke
}{
Action
}
\lineii
{
C
tr
l-A
}{
Go to left edge of window.
}
\lineii
{
C
ontro
l-A
}{
Go to left edge of window.
}
\lineii
{
C
tr
l-B
}{
Cursor left, wrapping to previous line if appropriate.
}
\lineii
{
C
ontro
l-B
}{
Cursor left, wrapping to previous line if appropriate.
}
\lineii
{
C
tr
l-D
}{
Delete character under cursor.
}
\lineii
{
C
ontro
l-D
}{
Delete character under cursor.
}
\lineii
{
C
tr
l-E
}{
Go to right edge (stripspaces off) or end of line
\lineii
{
C
ontro
l-E
}{
Go to right edge (stripspaces off) or end of line
(stripspaces on).
}
(stripspaces on).
}
\lineii
{
Ctrl-F
}{
Cursor right, wrapping to next line when appropriate.
}
\lineii
{
Control-F
}{
Cursor right, wrapping to next line when appropriate.
}
\lineii
{
Ctrl-G
}{
Terminate, returning the window contents.
}
\lineii
{
Control-G
}{
Terminate, returning the window contents.
}
\lineii
{
Ctrl-H
}{
Delete character backward.
}
\lineii
{
Control-H
}{
Delete character backward.
}
\lineii
{
Ctrl-J
}{
Terminate if the window is 1 line, otherwise insert newline.
}
\lineii
{
Control-J
}{
Terminate if the window is 1 line, otherwise
\lineii
{
Ctrl-K
}{
If line is blank, delete it, otherwise clear to end of line.
}
insert newline.
}
\lineii
{
Ctrl-L
}{
Refresh screen.
}
\lineii
{
Control-K
}{
If line is blank, delete it, otherwise clear to
\lineii
{
Ctrl-N
}{
Cursor down; move down one line.
}
end of line.
}
\lineii
{
Ctrl-O
}{
Insert a blank line at cursor location.
}
\lineii
{
Control-L
}{
Refresh screen.
}
\lineii
{
Ctrl-P
}{
Cursor up; move up one line.
}
\lineii
{
Control-N
}{
Cursor down; move down one line.
}
\lineii
{
Control-O
}{
Insert a blank line at cursor location.
}
\lineii
{
Control-P
}{
Cursor up; move up one line.
}
\end{tableii}
\end{tableii}
Move operations do nothing if the cursor is at an edge where the
Move operations do nothing if the cursor is at an edge where the
...
@@ -1325,11 +1327,11 @@ movement is not possible. The following synonyms are supported where
...
@@ -1325,11 +1327,11 @@ movement is not possible. The following synonyms are supported where
possible:
possible:
\begin{tableii}
{
l|l
}{
constant
}{
Constant
}{
Keystroke
}
\begin{tableii}
{
l|l
}{
constant
}{
Constant
}{
Keystroke
}
\lineii
{
KEY
_
LEFT
}{
\kbd
{
C
tr
l-B
}}
\lineii
{
KEY
_
LEFT
}{
\kbd
{
C
ontro
l-B
}}
\lineii
{
KEY
_
RIGHT
}{
\kbd
{
C
tr
l-F
}}
\lineii
{
KEY
_
RIGHT
}{
\kbd
{
C
ontro
l-F
}}
\lineii
{
KEY
_
UP
}{
\kbd
{
C
tr
l-P
}}
\lineii
{
KEY
_
UP
}{
\kbd
{
C
ontro
l-P
}}
\lineii
{
KEY
_
DOWN
}{
\kbd
{
C
tr
l-N
}}
\lineii
{
KEY
_
DOWN
}{
\kbd
{
C
ontro
l-N
}}
\lineii
{
KEY
_
BACKSPACE
}{
\kbd
{
C
tr
l-h
}}
\lineii
{
KEY
_
BACKSPACE
}{
\kbd
{
C
ontro
l-h
}}
\end{tableii}
\end{tableii}
All other keystrokes are treated as a command to insert the given
All other keystrokes are treated as a command to insert the given
...
...
Doc/lib/libexcs.tex
Dosyayı görüntüle @
682d5f3c
...
@@ -177,7 +177,7 @@ Raised when an \keyword{assert} statement fails.
...
@@ -177,7 +177,7 @@ Raised when an \keyword{assert} statement fails.
\begin{excdesc}
{
KeyboardInterrupt
}
\begin{excdesc}
{
KeyboardInterrupt
}
Raised when the user hits the interrupt key (normally
Raised when the user hits the interrupt key (normally
\kbd
{
Control-C
}
or
\kbd
{
D
EL
}
). During execution, a check for
\kbd
{
Control-C
}
or
\kbd
{
D
elete
}
). During execution, a check for
interrupts is made regularly.
interrupts is made regularly.
% XXXJH xrefs here
% XXXJH xrefs here
Interrupts typed when a built-in function
\function
{
input()
}
or
Interrupts typed when a built-in function
\function
{
input()
}
or
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment