?? mklinks
字號(hào):
#!/bin/sh# This script is invoked when installing manual entries. It generates# additional links to manual entries, corresponding to the procedure# and command names described by the manual entry. For example, the# Tcl manual entry Hash.3 describes procedures Tcl_InitHashTable,# Tcl_CreateHashEntry, and many more. This script will make hard# links so that Tcl_InitHashTable.3, Tcl_CreateHashEntry.3, and so# on all refer to Hash.3 in the installed directory.## Because of the length of command and procedure names, this mechanism# only works on machines that support file names longer than 14 characters.# This script checks to see if long file names are supported, and it# doesn't make any links if they are not.## The script takes one argument, which is the name of the directory# where the manual entries have been installed.if test $# != 1; then echo "Usage: mkLinks dir" exit 1ficd $1echo foo > xyzzyTestingAVeryLongFileName.foox=`echo xyzzyTe*`rm xyzzyTe*if test "$x" != "xyzzyTestingAVeryLongFileName.foo"; then exitfiif test -r 3DBorder.3; then rm -f Tk_Get3DBorder.3 ln 3DBorder.3 Tk_Get3DBorder.3fiif test -r 3DBorder.3; then rm -f Tk_Draw3DRectangle.3 ln 3DBorder.3 Tk_Draw3DRectangle.3fiif test -r 3DBorder.3; then rm -f Tk_Fill3DRectangle.3 ln 3DBorder.3 Tk_Fill3DRectangle.3fiif test -r 3DBorder.3; then rm -f Tk_Draw3DPolygon.3 ln 3DBorder.3 Tk_Draw3DPolygon.3fiif test -r 3DBorder.3; then rm -f Tk_Fill3DPolygon.3 ln 3DBorder.3 Tk_Fill3DPolygon.3fiif test -r 3DBorder.3; then rm -f Tk_3DVerticalBevel.3 ln 3DBorder.3 Tk_3DVerticalBevel.3fiif test -r 3DBorder.3; then rm -f Tk_3DHorizontalBevel.3 ln 3DBorder.3 Tk_3DHorizontalBevel.3fiif test -r 3DBorder.3; then rm -f Tk_SetBackgroundFromBorder.3 ln 3DBorder.3 Tk_SetBackgroundFromBorder.3fiif test -r 3DBorder.3; then rm -f Tk_NameOf3DBorder.3 ln 3DBorder.3 Tk_NameOf3DBorder.3fiif test -r 3DBorder.3; then rm -f Tk_3DBorderColor.3 ln 3DBorder.3 Tk_3DBorderColor.3fiif test -r 3DBorder.3; then rm -f Tk_3DBorderGC.3 ln 3DBorder.3 Tk_3DBorderGC.3fiif test -r 3DBorder.3; then rm -f Tk_Free3DBorder.3 ln 3DBorder.3 Tk_Free3DBorder.3fiif test -r BindTable.3; then rm -f Tk_CreateBindingTable.3 ln BindTable.3 Tk_CreateBindingTable.3fiif test -r BindTable.3; then rm -f Tk_DeleteBindingTable.3 ln BindTable.3 Tk_DeleteBindingTable.3fiif test -r BindTable.3; then rm -f Tk_CreateBinding.3 ln BindTable.3 Tk_CreateBinding.3fiif test -r BindTable.3; then rm -f Tk_DeleteBinding.3 ln BindTable.3 Tk_DeleteBinding.3fiif test -r BindTable.3; then rm -f Tk_GetBinding.3 ln BindTable.3 Tk_GetBinding.3fiif test -r BindTable.3; then rm -f Tk_GetAllBindings.3 ln BindTable.3 Tk_GetAllBindings.3fiif test -r BindTable.3; then rm -f Tk_DeleteAllBindings.3 ln BindTable.3 Tk_DeleteAllBindings.3fiif test -r BindTable.3; then rm -f Tk_BindEvent.3 ln BindTable.3 Tk_BindEvent.3fiif test -r CanvPsY.3; then rm -f Tk_CanvasPsY.3 ln CanvPsY.3 Tk_CanvasPsY.3fiif test -r CanvPsY.3; then rm -f Tk_CanvasPsBitmap.3 ln CanvPsY.3 Tk_CanvasPsBitmap.3fiif test -r CanvPsY.3; then rm -f Tk_CanvasPsColor.3 ln CanvPsY.3 Tk_CanvasPsColor.3fiif test -r CanvPsY.3; then rm -f Tk_CanvasPsFont.3 ln CanvPsY.3 Tk_CanvasPsFont.3fiif test -r CanvPsY.3; then rm -f Tk_CanvasPsPath.3 ln CanvPsY.3 Tk_CanvasPsPath.3fiif test -r CanvPsY.3; then rm -f Tk_CanvasPsStipple.3 ln CanvPsY.3 Tk_CanvasPsStipple.3fiif test -r CanvTkwin.3; then rm -f Tk_CanvasTkwin.3 ln CanvTkwin.3 Tk_CanvasTkwin.3fiif test -r CanvTkwin.3; then rm -f Tk_CanvasGetCoord.3 ln CanvTkwin.3 Tk_CanvasGetCoord.3fiif test -r CanvTkwin.3; then rm -f Tk_CanvasDrawableCoords.3 ln CanvTkwin.3 Tk_CanvasDrawableCoords.3fiif test -r CanvTkwin.3; then rm -f Tk_CanvasSetStippleOrigin.3 ln CanvTkwin.3 Tk_CanvasSetStippleOrigin.3fiif test -r CanvTkwin.3; then rm -f Tk_CanvasWindowCoords.3 ln CanvTkwin.3 Tk_CanvasWindowCoords.3fiif test -r CanvTkwin.3; then rm -f Tk_CanvasEventuallyRedraw.3 ln CanvTkwin.3 Tk_CanvasEventuallyRedraw.3fiif test -r CanvTkwin.3; then rm -f Tk_CanvasTagsOption.3 ln CanvTkwin.3 Tk_CanvasTagsOption.3fiif test -r CanvTxtInfo.3; then rm -f Tk_CanvasTextInfo.3 ln CanvTxtInfo.3 Tk_CanvasTextInfo.3fiif test -r Clipboard.3; then rm -f Tk_ClipboardClear.3 ln Clipboard.3 Tk_ClipboardClear.3fiif test -r Clipboard.3; then rm -f Tk_ClipboardAppend.3 ln Clipboard.3 Tk_ClipboardAppend.3fiif test -r ClrSelect.3; then rm -f Tk_ClearSelection.3 ln ClrSelect.3 Tk_ClearSelection.3fiif test -r ConfigWidg.3; then rm -f Tk_ConfigureWidget.3 ln ConfigWidg.3 Tk_ConfigureWidget.3fiif test -r ConfigWidg.3; then rm -f Tk_Offset.3 ln ConfigWidg.3 Tk_Offset.3fiif test -r ConfigWidg.3; then rm -f Tk_ConfigureInfo.3 ln ConfigWidg.3 Tk_ConfigureInfo.3fiif test -r ConfigWidg.3; then rm -f Tk_ConfigureValue.3 ln ConfigWidg.3 Tk_ConfigureValue.3fiif test -r ConfigWidg.3; then rm -f Tk_FreeOptions.3 ln ConfigWidg.3 Tk_FreeOptions.3fiif test -r ConfigWind.3; then rm -f Tk_ConfigureWindow.3 ln ConfigWind.3 Tk_ConfigureWindow.3fiif test -r ConfigWind.3; then rm -f Tk_MoveWindow.3 ln ConfigWind.3 Tk_MoveWindow.3fiif test -r ConfigWind.3; then rm -f Tk_ResizeWindow.3 ln ConfigWind.3 Tk_ResizeWindow.3fiif test -r ConfigWind.3; then rm -f Tk_MoveResizeWindow.3 ln ConfigWind.3 Tk_MoveResizeWindow.3fiif test -r ConfigWind.3; then rm -f Tk_SetWindowBorderWidth.3 ln ConfigWind.3 Tk_SetWindowBorderWidth.3fiif test -r ConfigWind.3; then rm -f Tk_ChangeWindowAttributes.3 ln ConfigWind.3 Tk_ChangeWindowAttributes.3fiif test -r ConfigWind.3; then rm -f Tk_SetWindowBackground.3 ln ConfigWind.3 Tk_SetWindowBackground.3fiif test -r ConfigWind.3; then rm -f Tk_SetWindowBackgroundPixmap.3 ln ConfigWind.3 Tk_SetWindowBackgroundPixmap.3fiif test -r ConfigWind.3; then rm -f Tk_SetWindowBorder.3 ln ConfigWind.3 Tk_SetWindowBorder.3fiif test -r ConfigWind.3; then rm -f Tk_SetWindowBorderPixmap.3 ln ConfigWind.3 Tk_SetWindowBorderPixmap.3fiif test -r ConfigWind.3; then rm -f Tk_SetWindowColormap.3 ln ConfigWind.3 Tk_SetWindowColormap.3fiif test -r ConfigWind.3; then rm -f Tk_DefineCursor.3 ln ConfigWind.3 Tk_DefineCursor.3fiif test -r ConfigWind.3; then rm -f Tk_UndefineCursor.3 ln ConfigWind.3 Tk_UndefineCursor.3fiif test -r CoordToWin.3; then rm -f Tk_CoordsToWindow.3 ln CoordToWin.3 Tk_CoordsToWindow.3fiif test -r CrtErrHdlr.3; then rm -f Tk_CreateErrorHandler.3 ln CrtErrHdlr.3 Tk_CreateErrorHandler.3fiif test -r CrtErrHdlr.3; then rm -f Tk_DeleteErrorHandler.3 ln CrtErrHdlr.3 Tk_DeleteErrorHandler.3fiif test -r CrtGenHdlr.3; then rm -f Tk_CreateGenericHandler.3 ln CrtGenHdlr.3 Tk_CreateGenericHandler.3fiif test -r CrtGenHdlr.3; then rm -f Tk_DeleteGenericHandler.3 ln CrtGenHdlr.3 Tk_DeleteGenericHandler.3fiif test -r CrtImgType.3; then rm -f Tk_CreateImageType.3 ln CrtImgType.3 Tk_CreateImageType.3fiif test -r CrtImgType.3; then rm -f Tk_GetImageMasterData.3 ln CrtImgType.3 Tk_GetImageMasterData.3fiif test -r CrtItemType.3; then rm -f Tk_CreateItemType.3 ln CrtItemType.3 Tk_CreateItemType.3fiif test -r CrtItemType.3; then rm -f Tk_GetItemTypes.3 ln CrtItemType.3 Tk_GetItemTypes.3fiif test -r CrtPhImgFmt.3; then rm -f Tk_CreatePhotoImageFormat.3 ln CrtPhImgFmt.3 Tk_CreatePhotoImageFormat.3fiif test -r CrtSelHdlr.3; then rm -f Tk_CreateSelHandler.3 ln CrtSelHdlr.3 Tk_CreateSelHandler.3fiif test -r CrtSelHdlr.3; then rm -f Tk_DeleteSelHandler.3 ln CrtSelHdlr.3 Tk_DeleteSelHandler.3fiif test -r CrtWindow.3; then rm -f Tk_CreateWindow.3 ln CrtWindow.3 Tk_CreateWindow.3fiif test -r CrtWindow.3; then rm -f Tk_CreateWindowFromPath.3 ln CrtWindow.3 Tk_CreateWindowFromPath.3fiif test -r CrtWindow.3; then rm -f Tk_DestroyWindow.3 ln CrtWindow.3 Tk_DestroyWindow.3fiif test -r CrtWindow.3; then rm -f Tk_MakeWindowExist.3 ln CrtWindow.3 Tk_MakeWindowExist.3fiif test -r DeleteImg.3; then rm -f Tk_DeleteImage.3 ln DeleteImg.3 Tk_DeleteImage.3fiif test -r DrawFocHlt.3; then rm -f Tk_DrawFocusHighlight.3 ln DrawFocHlt.3 Tk_DrawFocusHighlight.3fiif test -r EventHndlr.3; then rm -f Tk_CreateEventHandler.3 ln EventHndlr.3 Tk_CreateEventHandler.3fiif test -r EventHndlr.3; then rm -f Tk_DeleteEventHandler.3 ln EventHndlr.3 Tk_DeleteEventHandler.3fiif test -r FindPhoto.3; then rm -f Tk_FindPhoto.3 ln FindPhoto.3 Tk_FindPhoto.3fiif test -r FindPhoto.3; then rm -f Tk_PhotoPutBlock.3 ln FindPhoto.3 Tk_PhotoPutBlock.3fiif test -r FindPhoto.3; then rm -f Tk_PhotoPutZoomedBlock.3 ln FindPhoto.3 Tk_PhotoPutZoomedBlock.3fiif test -r FindPhoto.3; then rm -f Tk_PhotoGetImage.3 ln FindPhoto.3 Tk_PhotoGetImage.3fiif test -r FindPhoto.3; then rm -f Tk_PhotoBlank.3 ln FindPhoto.3 Tk_PhotoBlank.3fiif test -r FindPhoto.3; then rm -f Tk_PhotoExpand.3 ln FindPhoto.3 Tk_PhotoExpand.3fiif test -r FindPhoto.3; then rm -f Tk_PhotoGetSize.3 ln FindPhoto.3 Tk_PhotoGetSize.3fiif test -r FindPhoto.3; then rm -f Tk_PhotoSetSize.3 ln FindPhoto.3 Tk_PhotoSetSize.3fiif test -r FontId.3; then rm -f Tk_FontId.3 ln FontId.3 Tk_FontId.3fiif test -r FontId.3; then rm -f Tk_FontMetrics.3 ln FontId.3 Tk_FontMetrics.3fiif test -r FontId.3; then rm -f Tk_PostscriptFontName.3 ln FontId.3 Tk_PostscriptFontName.3fiif test -r FreeXId.3; then rm -f Tk_FreeXId.3 ln FreeXId.3 Tk_FreeXId.3fiif test -r GeomReq.3; then rm -f Tk_GeometryRequest.3 ln GeomReq.3 Tk_GeometryRequest.3fiif test -r GeomReq.3; then rm -f Tk_SetInternalBorder.3 ln GeomReq.3 Tk_SetInternalBorder.3fiif test -r GetAnchor.3; then rm -f Tk_GetAnchor.3 ln GetAnchor.3 Tk_GetAnchor.3fiif test -r GetAnchor.3; then rm -f Tk_NameOfAnchor.3 ln GetAnchor.3 Tk_NameOfAnchor.3fiif test -r GetBitmap.3; then rm -f Tk_GetBitmap.3 ln GetBitmap.3 Tk_GetBitmap.3fiif test -r GetBitmap.3; then rm -f Tk_DefineBitmap.3 ln GetBitmap.3 Tk_DefineBitmap.3fiif test -r GetBitmap.3; then rm -f Tk_NameOfBitmap.3 ln GetBitmap.3 Tk_NameOfBitmap.3fiif test -r GetBitmap.3; then rm -f Tk_SizeOfBitmap.3 ln GetBitmap.3 Tk_SizeOfBitmap.3fiif test -r GetBitmap.3; then rm -f Tk_FreeBitmap.3 ln GetBitmap.3 Tk_FreeBitmap.3fiif test -r GetBitmap.3; then rm -f Tk_GetBitmapFromData.3 ln GetBitmap.3 Tk_GetBitmapFromData.3fiif test -r GetCapStyl.3; then rm -f Tk_GetCapStyle.3 ln GetCapStyl.3 Tk_GetCapStyle.3fiif test -r GetCapStyl.3; then rm -f Tk_NameOfCapStyle.3 ln GetCapStyl.3 Tk_NameOfCapStyle.3fiif test -r GetClrmap.3; then rm -f Tk_GetColormap.3 ln GetClrmap.3 Tk_GetColormap.3fiif test -r GetClrmap.3; then rm -f Tk_FreeColormap.3 ln GetClrmap.3 Tk_FreeColormap.3fiif test -r GetColor.3; then rm -f Tk_GetColor.3 ln GetColor.3 Tk_GetColor.3fiif test -r GetColor.3; then rm -f Tk_GetColorByValue.3 ln GetColor.3 Tk_GetColorByValue.3fi
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -